http://freej.dyne.org/codedoc/fastmemcpy_8h_source.html
2013-11-12 23:12
477 查看
00001 /* 00002 (c) Copyright 2000-2002 convergence integrated media GmbH. 00003 (c) Copyright 2002 convergence GmbH. 00004 00005 All rights reserved. 00006 00007 Written by Denis Oliver Kropp <dok@directfb.org>, 00008 Andreas Hundt <andi@fischlustig.de> and 00009 Sven Neumann <sven@convergence.de>. 00010 00011 This library is free software; you can redistribute it and/or 00012 modify it under the terms of the GNU Lesser General Public 00013 License as published by the Free Software Foundation; either 00014 version 2 of the License, or (at your option) any later version. 00015 00016 This library is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 Lesser General Public License for more details. 00020 00021 You should have received a copy of the GNU Lesser General Public 00022 License along with this library; if not, write to the 00023 Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00024 Boston, MA 02111-1307, USA. 00025 */ 00026 00027 #ifndef __MISC__MEMCPY_H__ 00028 #define __MISC__MEMCPY_H__ 00029 00030 #include <stdlib.h> 00031 #include <string.h> 00032 00033 #include <config.h> 00034 00035 void find_best_memcpy(); 00036 00037 extern void *(*jmemcpy)( void *to, const void *from, size_t len ); 00038 00039 static inline void *jmemmove( void *to, const void *from, size_t len ) 00040 { 00041 if (from > to || ((const char*) from + len) < ((char*) to)) 00042 return jmemcpy( to, from, len ); 00043 00044 return memmove( to, from, len ); 00045 } 00046 00047 #endif 00048
相关文章推荐
- http://freej.dyne.org/codedoc/fastmemcpy_8cpp_source.html
- Java语言编码规范 - Java语言编码规范(中文版)(http://doc.javanb.com/code-conventions-for-the-java-programming-language-zh/index.html)
- https://www.freebsd.org/doc/zh_CN/books/handbook/firewalls-ipfw.html
- http://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.zh-cn.html
- http://www.linux-mtd.infradead.org/doc/ubifs.html
- http://www.codechina.org/doc/google/gmapapi/
- perl笔记--http://perldoc.perl.org/perlintro.html
- http://www.yunos.org/doc/getting-started.html
- BugFree 2使用帮助 BugFree官方网址:http://www.bugfree.org.cn BugFree论坛:http://www.bugfree.org.cn/forum 目录 帮助文档使用说明 BugFree简介
- http://www.opendds.org/index.html
- jmeter报错 :non http response code: org.apache.http.connectionclosedexception解决办法
- (收藏)CV codes代码分类整理(CV codes代码分类整理合集 http://www.sigvc.org/bbs/thread-72-1-1.html)
- http://www.openwebx.org/docs/turbine.html
- org.jawin.COMException: 8000ffff: Invalid ptr null flag(原址:http://osdir.com/ml/windows.devel.jawin/2006-01/msg00013.html)
- 转自http://www.cnblogs.com/jscode/archive/2012/07/10/2583856.html
- codeSource---html helper
- Code::Blocks The open source, cross platform, free C++ IDE.