unsigned long i; for(i=0;i+1<nLength;i+=2){ #ifdef LITTLE_ENDIAN buf[i] = (char)0; buf[i+1] = (char)0x80; #else buf[i] = (char)0x80; buf[i+1] = (char)0; #endif } } else 
memset(buf,0x00,nLength); } else { 
static int __cdecl gogoUserFunc(char *buf, unsigned long nLength ){	int flag = 0;	gogo_buffer_init();	if(buf==NULL || nLength==0){		if(!gogo_buffer_termination)			gogo_buffer_termination = 1;		return  ME_NOERR;	}	for(;;){		int32 size;		if(gogo_buffer_termination<0){			return ME_EMPTYSTREAM;		}		if(gogo_lock()){			gogo_buffer_termination = -1;			return ME_EMPTYSTREAM;		}		size = __gogo_buffer_copy(buf,nLength,1);		buf += size;		nLength -= size;		if(nLength<=0){			gogo_unlock();			if(size>0)				return ME_NOERR;			else				return ME_EMPTYSTREAM;		}		if(gogo_buffer_termination>0){			gogo_unlock();			if(size>0 && nLength>0){				if(dpm.encoding & PE_16BIT){					unsigned long i;					for(i=0;i+1<nLength;i+=2){#ifdef LITTLE_ENDIAN						buf[i] = (char)0;						buf[i+1] = (char)0x80;#else						buf[i] = (char)0x80;						buf[i+1] = (char)0;#endif					}				} else					memset(buf,0x80,nLength);				return ME_NOERR;			} else {				return ME_EMPTYSTREAM;			}		}		if(gogo_buffer_termination<0){			gogo_unlock();			return ME_EMPTYSTREAM;		}		if(gogo_buffer_cur_size<=0){			gogo_unlock();#ifndef __W32__			usleep(100);#else			Sleep(0);			Sleep(100);#endif		} else {			gogo_unlock();		}	}}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/b145888026ba74b152bd275692a491408aa2b59e/gogo_a.c/clean/timidity/gogo_a.c