代码搜索:ArrayList
找到约 10,000 项符合「ArrayList」的源代码
代码结果 10,000
www.eeworm.com/read/259580/11781173
output arraylist.output
Capacity of x, y and z = 20, 2, 10
Initial size of x, y, and z = 0, 0, 0
x is empty
y is empty
Inserted 6 integers, list y should be 1 2 3 4 5 6
Size of y = 6
Capacity of y = 8
y is not empty
www.eeworm.com/read/233577/14146574
c arraylist.c
/*
* $Id: arraylist.c,v 1.4 2006/01/26 02:16:28 mclark Exp $
*
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
* Michael Clark
*
* This library is free software; you
www.eeworm.com/read/233577/14146610
obj arraylist.obj
www.eeworm.com/read/233577/14146618
h arraylist.h
/*
* $Id: arraylist.h,v 1.4 2006/01/26 02:16:28 mclark Exp $
*
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
* Michael Clark
*
* This library is free software; you
www.eeworm.com/read/222728/14678324
c arraylist.c
#include "arraylist.h"
ARRAYLIST *arraylist(void){
ARRAYLIST *res = (ARRAYLIST *)malloc(sizeof(ARRAYLIST));
res->list = (ARRAYLIST_ITEM *)malloc(sizeof(ARRAYLIST_ITEM));
memset(res->list, 0,
www.eeworm.com/read/222728/14678340
h arraylist.h
#ifndef arraylistH
#define arraylistH
#include "common.h"
typedef union arraylist_item {
struct item {
char *value;
} item;
unsigned int size;
} ARRAYLIST_ITEM;
typedef struct
www.eeworm.com/read/222728/14678375
c arraylist.c
#include "arraylist.h"
ARRAYLIST *arraylist(void){
ARRAYLIST *res = (ARRAYLIST *)malloc(sizeof(ARRAYLIST));
res->list = (ARRAYLIST_ITEM *)malloc(sizeof(ARRAYLIST_ITEM));
memset(res->list,