代码搜索:enum
找到约 10,000 项符合「enum」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2881468
c wtraditional-conversion.c
/* Source: PR 137.
We would not warn about passing an enum, but would warn about
passing a enum that was part of an array. TYPE_MAIN_VARIANT was
not used in the appropriate place in the war
www.eeworm.com/read/160705/5566978
vb cgelement.vb
'图元基类
Public MustInherit Class CGElement
'绘图方式
Public Enum geDrawMode
Normal = 1
Selec = 2
Drag = 3
Delete = 4
End Enum
'图元的线型
Publi
www.eeworm.com/read/160705/5567031
vb cgelement.vb
'图元基类
Public MustInherit Class CGElement
'绘图方式
Public Enum geDrawMode
Normal = 1
Selec = 2
Drag = 3
Delete = 4
End Enum
'图元的线型
Publi
www.eeworm.com/read/174006/9612671
txt 4.7.txt
Listing 4.7 Card Type Containing a Card Value and Suit Defined with
Enumerated Types
public enum CardSuits
{
Hearts = 1, Clubs, Diamonds, Spades
}
public enum CardValues
{
Two=2, Three, Four,
www.eeworm.com/read/135507/13925105
java test.java
import java.util.*;
class Test
{
public int enumVec(Vector vec)
{
Enumeration enum = vec.elements();
int total = 0;
while(enum.hasMoreElements())
total += ((Integer)(en
www.eeworm.com/read/100082/15885775
h edlproto.h
/* editline.c prototypes */
/*
** Command status codes.
*/
#define CASE enum TOULR
CASE { TOupper, TOlower } ;
#define STATUS enum RSTAT
STATUS { CSdone, CSeof, CSmove, CSdispatch, CSstay } ;
cha
www.eeworm.com/read/389295/8535259
c fs_types.c
/*
** fs_types
** The Sleuth Kit
**
** Identify the type of file system being used
**
** Brian Carrier [carrier sleuthkit [dot] org]
** Copyright (c) 2006-2008 Brian Carrier, Basis Technology.
www.eeworm.com/read/389246/8539413
h~ judgment_number .h~
#ifndef _JUDGMENT_NUMBER
#define _JUDGMENT_NUMBER
#define MIN_NUMBER 0
#define MAX_NUMBER 10000
enum judgment_result
{
ERROR_TOO_BIG = 0,
ERROR_TOO_SMALL,
PERFECT_ANSWER,
};
enum valid_check
{
VALI
www.eeworm.com/read/389246/8539521
h~ judgment_number.h~
#ifndef _JUDGMENT_NUMBER
#define _JUDGMENT_NUMBER
#define MIN_NUMBER 0
#define MAX_NUMBER 10000
enum judgment_result
{
ERROR_TOO_BIG = 0,
ERROR_TOO_SMALL,
PERFECT_ANSWER,
};
enum valid_check
{
VALI
www.eeworm.com/read/389246/8539526
h judgment_number.h
#ifndef _JUDGMENT_NUMBER
#define _JUDGMENT_NUMBER
#define MIN_NUMBER 0
#define MAX_NUMBER 10000
typedef enum
{
ERROR_TOO_BIG = 0,
ERROR_TOO_SMALL,
PERFECT_ANSWER,
}judgment_result;
enum valid_chec