Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Enum (0.47 sec)

  1. src/cmd/cgo/doc.go

    	<preamble>
    	__typeof__(t1) *__cgo__1;
    	__typeof__(v2) *__cgo__2;
    	__typeof__(v3) *__cgo__3;
    	__typeof__(i4) *__cgo__4;
    	enum { __cgo_enum__4 = i4 };
    	__typeof__(i5) *__cgo__5;
    	enum { __cgo_enum__5 = i5 };
    	__typeof__(u6) *__cgo__6;
    	enum { __cgo_enum__6 = u6 };
    	__typeof__(f7) *__cgo__7;
    	__typeof__(f8) *__cgo__8;
    	__typeof__(s9) *__cgo__9;
    	__typeof__(s10) *__cgo__10;
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    // struct_foo becomes "struct foo", and similarly for
    // union and enum.
    func cname(s string) string {
    	if t, ok := nameToC[s]; ok {
    		return t
    	}
    
    	if strings.HasPrefix(s, "struct_") {
    		return "struct " + s[len("struct_"):]
    	}
    	if strings.HasPrefix(s, "union_") {
    		return "union " + s[len("union_"):]
    	}
    	if strings.HasPrefix(s, "enum_") {
    		return "enum " + s[len("enum_"):]
    	}
    	if strings.HasPrefix(s, "sizeof_") {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cthread_windows.c

    __stdcall
    static unsigned int
    addThread(void *p)
    {
    	int i, max;
    	
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		Add(i);
    	return 0;
    }
    
    void
    doAdd(int max, int nthread)
    {
    	enum { MaxThread = 20 };
    	int i;
    	uintptr_t thread_id[MaxThread];
    	
    	if(nthread > MaxThread)
    		nthread = MaxThread;
    	for(i=0; i<nthread; i++)
    		thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/cthread_unix.c

    #include "_cgo_export.h"
    
    static void*
    addThread(void *p)
    {
    	int i, max;
    	
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		Add(i);
    	return 0;
    }
    
    void
    doAdd(int max, int nthread)
    {
    	enum { MaxThread = 20 };
    	int i;
    	pthread_t thread_id[MaxThread];
    	
    	if(nthread > MaxThread)
    		nthread = MaxThread;
    	for(i=0; i<nthread; i++)
    		pthread_create(&thread_id[i], 0, addThread, &max);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/constant, func MakeInt64(int64) Value
    pkg go/constant, func MakeString(string) Value
    pkg go/constant, func MakeUint64(uint64) Value
    pkg go/constant, func MakeUnknown() Value
    pkg go/constant, func Num(Value) Value
    pkg go/constant, func Real(Value) Value
    pkg go/constant, func Shift(Value, token.Token, uint) Value
    pkg go/constant, func Sign(Value) int
    pkg go/constant, func StringVal(Value) string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    		t.Fatalf("2nd nil Read = %v; want nil", err)
    	}
    	if _, err := b.Read(buf); err != nil {
    		t.Fatalf("3rd Read with buffer = %v; want nil", err)
    	}
    	if r.nread != 2 {
    		t.Errorf("num reads = %d; want 2", r.nread)
    	}
    }
    
    // Test for golang.org/issue/5947
    func TestWriterReadFromWhileFull(t *testing.T) {
    	buf := new(bytes.Buffer)
    	w := NewWriterSize(buf, 10)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Sysctlnode struct, Flags uint32
    pkg syscall (netbsd-arm64-cgo), type Sysctlnode struct, Name [32]int8
    pkg syscall (netbsd-arm64-cgo), type Sysctlnode struct, Num int32
    pkg syscall (netbsd-arm64-cgo), type Sysctlnode struct, Un [16]uint8
    pkg syscall (netbsd-arm64-cgo), type Sysctlnode struct, Ver uint32
    pkg syscall (netbsd-arm64-cgo), type Sysctlnode struct, X__rsvd uint32
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg math/big, method (*Rat) Inv(*Rat) *Rat
    pkg math/big, method (*Rat) IsInt() bool
    pkg math/big, method (*Rat) Mul(*Rat, *Rat) *Rat
    pkg math/big, method (*Rat) Neg(*Rat) *Rat
    pkg math/big, method (*Rat) Num() *Int
    pkg math/big, method (*Rat) Quo(*Rat, *Rat) *Rat
    pkg math/big, method (*Rat) RatString() string
    pkg math/big, method (*Rat) Scan(fmt.ScanState, int32) error
    pkg math/big, method (*Rat) Set(*Rat) *Rat
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  9. src/cmd/asm/internal/asm/parse.go

    		p.errorf("expected register; found %s", name)
    		return 0, false
    	}
    	p.get('(')
    	tok := p.get(scanner.Int)
    	num, err := strconv.ParseInt(tok.String(), 10, 16)
    	p.get(')')
    	if err != nil {
    		p.errorf("parsing register list: %s", err)
    		return 0, false
    	}
    	r, ok := p.arch.RegisterNumber(name, int16(num))
    	if !ok {
    		p.errorf("illegal register %s(%d)", name, r)
    		return 0, false
    	}
    	return r, true
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. api/go1.4.txt

    # CL 159120044 compress/gzip: allow stopping at end of first stream, Russ Cox <******@****.***>
    pkg compress/gzip, method (*Reader) Multistream(bool)
    
    # CL 138800043 crypto: Add SHA3 functions in go.crypto/sha3 to the Hash enum., David Leon Gil <******@****.***>
    pkg crypto, const SHA3_224 = 10
    pkg crypto, const SHA3_224 Hash
    pkg crypto, const SHA3_256 = 11
    pkg crypto, const SHA3_256 Hash
    pkg crypto, const SHA3_384 = 12
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
Back to top