- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 101 for FATAL (0.09 sec)
-
src/testing/testing.go
func (c *common) Errorf(format string, args ...any) { c.checkFuzzFn("Errorf") c.log(fmt.Sprintf(format, args...)) c.Fail() } // Fatal is equivalent to Log followed by FailNow. func (c *common) Fatal(args ...any) { c.checkFuzzFn("Fatal") c.log(fmt.Sprintln(args...)) c.FailNow() } // Fatalf is equivalent to Logf followed by FailNow.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/controller/podautoscaler/replica_calculator_test.go
if tc.metric.singleObject == nil { t.Fatal("Metric specified as objectMetric but metric.singleObject is nil.") } outReplicas, outUsage, outTimestamp, err = replicaCalc.GetObjectMetricReplicas(tc.currentReplicas, tc.metric.targetUsage, tc.metric.name, testNamespace, tc.metric.singleObject, selector, nil) case objectPerPodMetric: if tc.metric.singleObject == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 68.4K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
oldestProtocol := oldestService.Ports[0].Protocol if oldestProtocol != protocol.HTTP && isHTTPListener(listeners[0]) { t.Fatal("expected TCP listener, found HTTP") } else if oldestProtocol == protocol.HTTP && !isHTTPListener(listeners[0]) { t.Fatal("expected HTTP listener, found TCP") } // Validate that listener conflict preserves the listener of oldest service.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
tests/query_test.go
func TestQueryScanToArray(t *testing.T) { err := DB.Create(&User{Name: "testname1", Age: 10}).Error if err != nil { t.Fatal(err) } users := [2]*User{{Name: "1"}, {Name: "2"}} err = DB.Model(&User{}).Where("name = ?", "testname1").Find(&users).Error if err != nil { t.Fatal(err) } if users[0] == nil || users[0].Name != "testname1" { t.Error("users[0] not covered") } if users[1] != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0) -
pkg/apis/certificates/validation/validation_test.go
if err != nil { t.Fatal(err) } csrDER, err := x509.CreateCertificateRequest(rand.Reader, template, key) if err != nil { t.Fatal(err) } csrPemBlock := &pem.Block{ Type: "CERTIFICATE REQUEST", Bytes: csrDER, } p := pem.EncodeToMemory(csrPemBlock) if p == nil { t.Fatal("invalid pem block") } return p }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:49 UTC 2023 - 61K bytes - Viewed (0) -
src/crypto/des/des_test.go
if err != nil { b.Fatal("NewCipher:", err) } out := make([]byte, len(tt.in)) b.SetBytes(int64(len(out))) b.ResetTimer() for i := 0; i < b.N; i++ { c.Encrypt(out, tt.in) } } func BenchmarkDecrypt(b *testing.B) { tt := encryptDESTests[0] c, err := des.NewCipher(tt.key) if err != nil { b.Fatal("NewCipher:", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 16:49:56 UTC 2023 - 52.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
} default: panic(fmt.Sprintf("internal error: modload missing case for pattern %s", m.Pattern())) } } } initialRS, err := loadModFile(ctx, &opts) if err != nil { base.Fatal(err) } ld := loadFromRoots(ctx, loaderParams{ PackageOpts: opts, requirements: initialRS, allPatternIsRoot: allPatternIsRoot, listRoots: func(rs *Requirements) (roots []string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
t.Fatalf("failed to attach: %v", err) } } // retrieve attached status stats, err := csiAttacher.VolumesAreAttached(specs, types.NodeName(nodeName)) if err != nil { t.Fatal(err) } if len(tc.attachedSpecs) != len(stats) { t.Errorf("expecting %d attachment status, got %d", len(tc.attachedSpecs), len(stats)) } // compare attachment status for each spec
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
src/math/rand/v2/chacha8_test.go
} var n int for n < chacha8outlen { if IntN(2) == 0 { out, err := p.MarshalBinary() if err != nil { t.Fatal(err) } if IntN(2) == 0 { p = NewChaCha8([32]byte{}) } if err := p.UnmarshalBinary(out); err != nil { t.Fatal(err) } } buf := make([]byte, IntN(100)) if n+len(buf) > chacha8outlen { buf = buf[:chacha8outlen-n] } n += len(buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 55K bytes - Viewed (0)