代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/463254/7184845
h stackmacros.h
/*
FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.
This file is part of the FreeRTOS.org distribution.
FreeRTOS.org is free software; you can redistribute it and/or modify
it
www.eeworm.com/read/461147/7232670
cpp stackcopy.cpp
#include"stackcopy.h"
stackcopy::stackcopy()
{
countcopy=0;
}
bool stackcopy::empty()
{
bool outcome=true;
if(countcopy==0)
outcome=false;
return outcome;
}
bool stackcopy::full()
www.eeworm.com/read/461110/7233679
h c3-1.h
// c3-1.h 栈的顺序存储表示
#define STACK_INIT_SIZE 10 // 存储空间初始分配量
#define STACK_INCREMENT 2 // 存储空间分配增量
struct SqStack
{
SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL
SElemType *top; // 栈顶指针
www.eeworm.com/read/461110/7233726
h c3-1.h
// c3-1.h 栈的顺序存储表示
#define STACK_INIT_SIZE 10 // 存储空间初始分配量
#define STACK_INCREMENT 2 // 存储空间分配增量
struct SqStack
{
SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL
SElemType *top; // 栈顶指针
www.eeworm.com/read/453925/7403717
c alloca.c
/*
alloca -- (mostly) portable public-domain implementation -- D A Gwyn
last edit: 86/05/30 rms
include config.h, since on VMS it renames some symbols.
Use xmalloc instead of malloc.
This
www.eeworm.com/read/453087/7427139
s startup.s
;/*****************************************************************************
;* startup.s: startup file for NXP LPC23xx Family Microprocessors
;*
;* Copyright(C) 2006, NXP Semiconductor
;*
www.eeworm.com/read/449830/7496034
h stackmacros.h
/*
FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.
This file is part of the FreeRTOS.org distribution.
FreeRTOS.org is free software; you can redistribute it and/or modify
it
www.eeworm.com/read/444799/7606492
c g_client.c
/*
** A client that uses the generic stack module to create two stacks
** holding different types of data.
*/
#include
#include
#include "g_stack.h"
/*
** Create two sta
www.eeworm.com/read/444091/7618052
c g_client.c
/*
** A client that uses the generic stack module to create two stacks
** holding different types of data.
*/
#include
#include
#include "g_stack.h"
/*
** Create two sta
www.eeworm.com/read/441840/7664090
cpp bo3-1.cpp
void InitStack(SqStack &S)
{
if(!(S.base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType))))
exit(OVERFLOW);
S.top=S.base;
S.stacksize=STACK_INIT_SIZE;
}
void DestroyStack(SqStack &