sanity check
来源:互联网 发布:医院三乙复评应知资料 编辑:程序博客网 时间:2024/05/22 03:24
sanity check,在计算机术语中,翻译为“完整性检查",通常用在对输入数据的检查。
如:
struct kmem_cache *
kmem_cache_create (const char *name, size_t size, size_t align,
unsigned long flags, void (*ctor)(void *))
{
size_t left_over, slab_size, ralign;
struct kmem_cache *cachep = NULL, *pc;
gfp_t gfp;
/*
* Sanity checks... these are all serious usage bugs.
*/
if (!name || in_interrupt() || (size < BYTES_PER_WORD) ||
size > KMALLOC_MAX_SIZE) {
printk(KERN_ERR "%s: Early error in slab %s\n", __func__,
name);
BUG();
}
0 0
- sanity check
- C preprocessor fails sanity check
- /lib/cpp fails sanity check的解决
- C++ preprocessor "/lib/cpp" fails sanity check
- Glibc configure problem: fails sanity check.
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- /usr/libexec/gconf-sanity-check-2 退出状态256
- ubuntu C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- .ICEauthority gconf-sanity-check-2 avira 导致ubuntu登录不了
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- error: C++ preprocessor "/lib/cpp" fails sanity check错误解决方法
- gconf-sanity-check-2 Exited With Status 256 Error
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- linux shell字符串及文件查找
- Javascript原型和原型链
- sed命令的使用小结
- linux的环境变量及set,env,export命令
- DIV中的inline 元素下留白
- sanity check
- 从团队项目中获取技术知识点
- 第四章 复合类型(3)
- styles.xml文件中@符号及命名空间android:的使用
- css +号选择器
- nginx普通哈希表
- Android 网络框架_常用的网络框架
- 设计模式之原型模式
- 在聊蜂鸣器