代码搜索:malloc

找到约 10,000 项符合「malloc」的源代码

代码结果 10,000
www.eeworm.com/read/218996/14899814

c svm-train.c

#include #include #include #include #include "svm.h" #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) void exit_with_help() { printf( "Usa
www.eeworm.com/read/233448/4692437

c fail6-frag.c

#include #include #include int main () { char *foo; char *bar; foo = (char *)malloc (10); bar = (char *)malloc (15); memcpy(foo, bar, 11); return 0; } /* { dg-output "
www.eeworm.com/read/233448/4692454

c pass7-frag.c

#include #include #include int main () { char *foo; char *bar; foo = (char *)malloc (10); bar = (char *)malloc (10); bar[2] = 'z'; /* touch memcpy source */ memcpy(foo+
www.eeworm.com/read/340665/3270965

c malign.c

#ifndef MALLOC_PROVIDED /* malign.c -- a wrapper for memalign_r. */ #include #include #include #include #ifndef _REENT_ONLY _PTR _DEFUN (memalign, (align,
www.eeworm.com/read/318398/3569716

c svm-train.c

#include #include #include #include #include "svm.h" #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) void exit_with_help() { printf( "Usa
www.eeworm.com/read/298657/3861916

c malign.c

#ifndef MALLOC_PROVIDED /* malign.c -- a wrapper for memalign_r. */ #include #include #include #include #ifndef _REENT_ONLY _PTR _DEFUN (memalign, (align,
www.eeworm.com/read/279968/4131126

c malign.c

#ifndef MALLOC_PROVIDED /* malign.c -- a wrapper for memalign_r. */ #include #include #include #include #ifndef _REENT_ONLY _PTR _DEFUN (memalign, (align,
www.eeworm.com/read/447263/1707162

c svm-train.c

#include #include #include #include #include "svm.h" #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) void exit_with_help() { printf( "Usa
www.eeworm.com/read/447263/1707166

c svm-train.c

#include #include #include #include #include "svm.h" #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) void exit_with_help() { printf( "Usa
www.eeworm.com/read/366702/2883356

c pr23382.c

/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-salias-vops" } */ struct a { int length; int a1[256]; }; void *malloc(__SIZE_TYPE__ size) __attribute__((malloc)); int f(void) { stru