- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 461 for got (0.05 sec)
-
cmd/xl-storage-format-v2-legacy.go
var zb0001 uint32 zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { err = msgp.WrapError(err) return } if zb0001 != 4 { err = msgp.ArrayError{Wanted: 4, Got: zb0001} return } bts, err = msgp.ReadExactBytes(bts, (x.VersionID)[:]) if err != nil { err = msgp.WrapError(err, "VersionID") return } x.ModTime, bts, err = msgp.ReadInt64Bytes(bts) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 16:43:43 UTC 2024 - 5.7K bytes - Viewed (0) -
internal/grid/muxserver.go
func (m *muxServer) checkSeq(seq uint32) (ok bool) { if seq != m.RecvSeq { if debugPrint { fmt.Printf("expected sequence %d, got %d\n", m.RecvSeq, seq) } m.disconnect(fmt.Sprintf("receive sequence number mismatch. want %d, got %d", m.RecvSeq, seq), false) return false } m.RecvSeq++ return true } func (m *muxServer) message(msg message) { if debugPrint {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
assertTrue(expectedSuccess); } catch (ArithmeticException e) { if (expectedSuccess) { failFormat("expected log10(%s, UNNECESSARY) = %s; got ArithmeticException", x, floor); } } } } @GwtIncompatible // TODO public void testLog10TrivialOnPowerOf10() { long x = 1000000000000L;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
"revision": "1-13-2" }`, }, expected: "1-13-2", }, } for _, tc := range cases { t.Run("", func(t *testing.T) { got := GetRevisionFromPodAnnotation(tc.anno) assert.Equal(t, tc.expected, got) }) } } func TestFindProtocolForPort(t *testing.T) { http := "HTTP" hbone := "hbone" cases := []struct { port corev1.ServicePort
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 30.8K bytes - Viewed (0) -
cmd/bucket-encryption_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 14 07:59:05 UTC 2021 - 2.1K bytes - Viewed (0) -
tests/named_argument_test.go
t.Errorf("should return record not found error, but got %v", err) } DB.Delete(&namedUser) var result8 NamedUser if err := DB.Where("name1 = @name OR name2 = @name", map[string]interface{}{"name": "jinzhu-new"}).First(&result8).Error; err == nil || !errors.Is(err, gorm.ErrRecordNotFound) { t.Errorf("should return record not found error, but got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Dec 21 11:50:00 UTC 2021 - 2.7K bytes - Viewed (0) -
internal/s3select/select_test.go
} res, err := minio.NewSelectResults(&resp, "testbucket") if err != nil { t.Error(err) return } got, err := io.ReadAll(res) if err != nil { t.Error(err) return } gotS := strings.TrimSpace(string(got)) if !reflect.DeepEqual(gotS, testCase.wantResult) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
internal/crypto/sse_test.go
if domain := S3.String(); domain != Domain { t.Errorf("S3's string method returns wrong domain: got '%s' - want '%s'", domain, Domain) } } func TestSSECString(t *testing.T) { const Domain = "SSE-C" if domain := SSEC.String(); domain != Domain { t.Errorf("SSEC's string method returns wrong domain: got '%s' - want '%s'", domain, Domain) } } var ssecUnsealObjectKeyTests = []struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 8.4K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status_test.go
}, }), }, want: "testdata/multiXdsStatusSinglePilot.txt", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got := &bytes.Buffer{} sw := XdsStatusWriter{Writer: got} input := map[string]*discovery.DiscoveryResponse{} for key, ss := range tt.input { input[key] = ss } err := sw.PrintAll(input) if tt.wantErr {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 6.5K bytes - Viewed (0) -
internal/config/etcd/etcd_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.1K bytes - Viewed (0)