- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for OrgNum (0.08 sec)
-
internal/grid/grid_types_msgp_test.go
zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "OrgNum": z.OrgNum, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "OrgNum") return } case "OrgString": z.OrgString, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "OrgString") return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 8.1K bytes - Viewed (0) -
internal/grid/grid_types_test.go
package grid //go:generate msgp -unexported -file=$GOFILE -tests=false -o=grid_types_msgp_test.go type testRequest struct { Num int String string } type testResponse struct { OrgNum int OrgString string Embedded testRequest } func newTestRequest() *testRequest { return &testRequest{} } func newTestResponse() *testResponse { return &testResponse{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 1.1K bytes - Viewed (0) -
internal/grid/grid_test.go
const wantString = testPayload + testPayload if resp.OrgString != testPayload+testPayload { t.Errorf("want %q, got %q", wantString, resp.OrgString) } if resp.OrgNum != n+1 { t.Errorf("want %d, got %d", n+1, resp.OrgNum) } handler.PutResponse(resp) n++ return nil }) errFatal(err) t.Log("EOF.", payloads, " Roundtrips:", time.Since(start)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/grid/benchmark_test.go
defer PutByteBuffer(payload) return append(GetByteBuffer()[:0], payload...), nil })) errFatal(rpc.Register(remote, func(req *testRequest) (resp *testResponse, err *RemoteErr) { return &testResponse{ OrgNum: req.Num, OrgString: req.String, Embedded: *req, }, nil })) errFatal(err) } const payloadSize = 512 rng := rand.New(rand.NewSource(time.Now().UnixNano()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
// The opening parenthesis has been absorbed. func (in *Input) argsFor(macro *Macro) map[string][]Token { var args [][]Token // One macro argument per iteration. Collect them all and check counts afterwards. for argNum := 0; ; argNum++ { tokens, tok := in.collectArgument(macro) args = append(args, tokens) if tok == ')' { break } } // Zero-argument macros are tricky.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0)