Random line of code thread
category: code [glöplog]
Code:
if(plugin.IsAutoSuspendable() && pObject->GetNumOutputChannels() > 0 && pState->inputSilenceCount >= m_MixerSettings.gdwMixingFreq * 4)
Oooh, the classic show-if-without-then cliffhanger. The suspense is killing me!
Code:
if (argc > 1 ? SDL_Init(SDL_INIT_VIDEO) >= 0 ? atexit(SDL_Quit) ? 1 : (l =fopen(argv[1], "rb")) && (fread(&p, 1, 128, l), x=*(o p + 4), y=*(o p + 5), t = 0, u = *(o p + 3), v = malloc(*(int*)p - 128 + x * y), fread(v, 1, *(int*)p - 128, l), w = v, fclose(l), 1) ? (s = SDL_SetVideoMode(x, y, 32, SDL_SWSURFACE)) ? 0 : 1 : 1 : 1 : 1 ) exit(-1), x ? y : v; I: i = v ? v : 0, k = v + 16;
Code:
dc.w $ffff,$fffe
Code:
tas.b $24.w
Code:
const __m128 nXYZ12Z34 = _mm_hadd_ps(nX12X34Y12Y34, normalZZZZ); // | X | Y | Z1+Z2 | Z3+Z4 |
Code:
mat3 mm = rotation_matrix(normalize(mix(latBegin.xyz, latEnd.xyz, frameInfo.z / latEnd.w) - ro), vec3(0));
Quote:
Code:dc.w $ffff,$fffe
nonono:
Code:
dc.l -2
Code:
int result = lame_encode_buffer(gfp,
(const short*)sample->buff,
(const short*)sample->buff,
sample->length,
encoder_buffer,
ENCODER_BUFFER_SIZE);
Code:
Demo.Render(MUSIC_GETSYNC());
Code:
void editorWindow::makeDemo() {
Code:
cmp ($00,x)
Code:
nop ;todo
Code:
VENDOR_LOCK = true
Code:
for (int i = 0; i < 591; i++) PFNGL[i] = wglGetProcAddress(names[i]);
Code:
type = vm->scope->SetSymType(a1->getText().c_str(), typeIn); // könnte ja ein lokales symbol sein...
Code:
Node *pNode = getNode()->getParent()->getParent()->getParent()->getParent();
FML.
Code:
public class MyExpertActivity extends Activity {
private Fragment currentFragment;
[...]
currentFragment = new MyFragmentThatSucks();
[...]
public Fragment getCurrentFragment() {
return currentFragment;
}
}
Or even better
Code:
public MyExpertApplication extends Application {
public static MyExpertActivity currentActivity;
public static Fragment currentFragment;
[...]
public Activity getActivity() {
return currentActivity;
}
[...]
public Fragment getCurrentFragment() {
return currentFragment;
}
}
Please don't :)
But it follows the style guide!
Code:
for(int i = 0; i < rn.length; sn[rn[i++]]++);
I'm always fascinated by simple things that make a splash. ;)
Code:
if(n==1); dt(n)=mt(1)*abs(z(1)-0)/sin(theta(1)); # hack-y workaround since octave dsn't allow z(0); elseif(n>1) ...
Coding in ^^ that kind of crap has been a significant portion of my afternoon.
Code:
%rep 12
fsqrt
%endrep
Code:
move.l -4(a0,d5.w),d3
Code:
memcpy(&plugin.Info.dwPluginId1, "DBM0", 4);
memcpy(&plugin.Info.dwPluginId2, "Echo", 4);
plugin.Info.routingFlags = SNDMIXPLUGININFO::irAutoSuspend;
plugin.Info.mixMode = 0;
plugin.Info.gain = 10;
plugin.Info.reserved = 0;
plugin.Info.dwOutputRouting = 0;
MemsetZero(plugin.Info.dwReserved);
strcpy(plugin.Info.szName, "Echo");
strcpy(plugin.Info.szLibraryName, "DigiBooster Pro Echo");
Let's count struct initialization as one random line of code.
0::::::::::POKE53281,1:::::::POKE53281,0:::::::::::::::GOTO0