代码搜索:enum
找到约 10,000 项符合「enum」的源代码
代码结果 10,000
www.eeworm.com/read/440906/1780911
c builtin-types-compatible-p.c
int i;
double d;
/* Make sure we return a constant. */
float rootbeer[__builtin_types_compatible_p (int, typeof(i))];
typedef enum { hot, dog, poo, bear } dingos;
typedef enum { janette, laura, ama
www.eeworm.com/read/439358/1806045
c sample_fsm.c
/* Parses C style strings
* Auto generated by generate_fsm.py. Please do not edit.
*/
#define STRINGPARSER_NUM_STATES 4
enum stringparser_state_internal_enum {
STRINGPARSER_STATE_INT_TEXT,
STRIN
www.eeworm.com/read/366702/2866076
c packed7.c
// PR c++/14124
// A packed enum uses the minimal underlying type.
// Copyright (C) 2004 Free Software Foundation, Inc.
// Contributed by Matt Austern
// { dg-do run }
enum XXX
www.eeworm.com/read/366702/2868437
c instantiate4.c
// { dg-do compile }
// Origin: Wolfgang Bangerth
// PR c++/10682: Typedef to enum template instantiation logic.
template
struct Foo {
enum E {a,b,c};
t
www.eeworm.com/read/366702/2878997
c builtin-types-compatible-p.c
int i;
double d;
/* Make sure we return a constant. */
float rootbeer[__builtin_types_compatible_p (int, typeof(i))];
typedef enum { hot, dog, poo, bear } dingos;
typedef enum { janette, laura, ama
www.eeworm.com/read/292719/8338392
h graphics.h
#define SCREEN 0
#define POSTSCRIPT 1
#define NUM_COLOR 11
enum color_types
{ WHITE, BLACK, DARKGREY, LIGHTGREY, BLUE, GREEN, YELLOW,
CYAN, RED, DARKGREEN, MAGENTA
};
enum line_types
{ SOLID, DA
www.eeworm.com/read/335607/12512557
java j03190501.java
import java.lang.*;
/*
enum month // month 简易版本一
{
sunday,monday,tuesday,wednesday,thursday,friday,saturday;
}*/
enum month // month 版本二
{
sunday(0),monday(1),tuesday(2),wednesday(3),
th
www.eeworm.com/read/335006/12555572
java chessgame.java
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.lang.*;
import java.io.*;
import java.net.*;
enum ChessMan
{
Black, White, Empty
}
enum GameType
{
www.eeworm.com/read/134621/13979643
h nmea_enums.h
#ifndef _NMEAENUMS_H_
#define _NMEAENUMs_H_
enum NMEAType /*lint !e753 local enum not referenced*/
{
#if (NMEA_INCLUDE_AAM == 1)
AAM,
#endif
#if (NMEA_INCLUDE_ALM == 1)
ALM,
#endif
#if (NMEA
www.eeworm.com/read/432780/8573889
hec heeblock.hec
/******************************************************************************/
/* SCCS: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/***************************************************************