- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 104 for Struct (0.28 sec)
-
doc/go1.17_spec.html
</li> </ul> <p> <a href="#Struct_types">Struct tags</a> are ignored when comparing struct types for identity for the purpose of conversion: </p> <pre> type Person struct { Name string Address *struct { Street string City string } } var data *struct { Name string `json:"name"` Address *struct { Street string `json:"street"`
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p3/golden.txt
pkg p3, func BadHop(int, int, int) (bool, bool, *ThirdBase, *ThirdBase, error) pkg p3, method (*ThirdBase) GoodPlayer() (int, int, int)
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Jan 29 00:45:45 GMT 2013 - 166 bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
if len(s) == 0 { return res } for _, o := range strings.Split(s, ",") { res = append(res, lex.Tokenize(o)) } return res } func TestErroneous(t *testing.T) { type errtest struct { pseudo string operands string expected string } nonRuntimeTests := []errtest{ {"TEXT", "", "expect two or three operands for TEXT"}, {"TEXT", "%", "expect two or three operands for TEXT"},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gc.c
extern void crosscall2(void (*fn)(void *, int), void *, int); extern void _cgo_panic(void *, int); extern void _cgo_allocate(void *, int); void callPanic(void) { struct { const char *p; } a; a.p = "panic from C"; crosscall2(_cgo_panic, &a, sizeof a); *(int*)1 = 1;
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 592 bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.go
testCall() case "Callback": testCallback() } println("OK") } func fatal(f string, args ...any) { fmt.Fprintln(os.Stderr, fmt.Sprintf(f, args...)) os.Exit(1) } type GoCallback struct{} func (p *GoCallback) Run() string { return "GoCallback.Run" } func testCall() { c := NewCaller() cb := NewCallback() c.SetCallback(cb) s := c.Call() if s != "Callback::run" {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 1K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
} f.Add(b) } f.Fuzz(func(t *testing.T, b []byte) { r, err := NewReader(bytes.NewReader(b), int64(len(b))) if err != nil { return } type file struct { header *FileHeader content []byte } files := []file{} for _, f := range r.File { fr, err := f.Open() if err != nil { continue } content, err := io.ReadAll(fr)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Viewed (0) -
api/go1.8.txt
pkg database/sql, type ColumnType struct pkg database/sql, type IsolationLevel int pkg database/sql, type NamedArg struct pkg database/sql, type NamedArg struct, Name string pkg database/sql, type NamedArg struct, Value interface{} pkg database/sql, type TxOptions struct pkg database/sql, type TxOptions struct, Isolation IsolationLevel pkg database/sql, type TxOptions struct, ReadOnly bool
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Dec 21 05:25:57 GMT 2016 - 16.3K bytes - Viewed (0) -
api/go1.9.txt
pkg syscall (linux-386-cgo), type Credential struct, NoSetGroups bool pkg syscall (linux-386-cgo), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-386), type Credential struct, NoSetGroups bool pkg syscall (linux-386), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-amd64-cgo), type Credential struct, NoSetGroups bool
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Viewed (0) -
src/bytes/buffer_test.go
) const N = 10000 // make this bigger for a larger (and slower) test var testString string // test data for write tests var testBytes []byte // test data; same as testString but as a slice. type negativeReader struct{} func (r *negativeReader) Read([]byte) (int, error) { return -1, nil } func init() { testBytes = make([]byte, N) for i := 0; i < N; i++ { testBytes[i] = 'a' + byte(i%26) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
api/next/62254.txt
pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254 pkg net, type KeepAliveConfig struct #62254 pkg net, type KeepAliveConfig struct, Count int #62254 pkg net, type KeepAliveConfig struct, Enable bool #62254 pkg net, type KeepAliveConfig struct, Idle time.Duration #62254 pkg net, type KeepAliveConfig struct, Interval time.Duration #62254 pkg net, type ListenConfig struct, KeepAliveConfig KeepAliveConfig #62254
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Feb 20 06:04:31 GMT 2024 - 758 bytes - Viewed (0)