共有回帖数  0  个 
	 
	
	
	
     
          
          
               
				
			 
				
					 
 
            
				   - 
						
						
							 
									void fast_memcpy (uint8_t *to, uint8_t *from, size_t count) 
{ 
    register size_t n = (count + 7) / 8;    /* count  0 assumed */ 
    uint8_t c = count % 8; 
    switch © 
    { 
    case 0:       do { *to++ = *from++; 
    case 7:        *to++ = *from++; 
    case 6:        *to++ = *from++; 
    case 5:        *to++ = *from++; 
    case 4:        *to++ = *from++; 
    case 3:        *to++ = *from++; 
    case 2:        *to++ = *from++; 
    case 1:        *to++ = *from++; 
              } while (--n  0); 
    } 
} 
强大!!
							 
							 
							 
							  
							  
							  楼主 2016-01-23 10:49 回复
						 
						 
           
          
          
         
   
         
      
 
   
             
                  
                  
 
 
 
     
	 
  
	Copyright © 2010~2015 直线网 版权所有,All Rights Reserved.沪ICP备10039589号
	
	意见反馈 | 
	关于直线 | 
	版权声明 | 
	会员须知