- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 401 for fatalf (0.18 seconds)
-
cmd/endpoint-ellipses_test.go
} for i, testCase := range testCases { t.Run("", func(t *testing.T) { srvCtxt := serverCtxt{} err := mergeDisksLayoutFromArgs(testCase.args, &srvCtxt) if err != nil && testCase.success { t.Fatalf("Test %d: unexpected error: %v", i+1, err) } _, _, err = createServerEndpoints(testCase.serverAddr, srvCtxt.Layout.pools, srvCtxt.Layout.legacy) if err != nil && testCase.success {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (0) -
internal/bucket/lifecycle/noncurrentversion_test.go
NewerNoncurrentVersions: 5, set: true, }, err: nil, }, } for i, tc := range testcases { if got := tc.n.Validate(); got != tc.err { t.Fatalf("%d: expected %v but got %v", i+1, tc.err, got) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Dec 14 17:41:44 GMT 2021 - 2.1K bytes - Click Count (0) -
cmd/bucket-lifecycle-handlers_test.go
req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName), int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil) if err != nil { t.Fatalf("Test %d: %s: Failed to create HTTP request for GetBucketLocationHandler: <ERROR> %v", i+1, instanceType, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jun 10 15:50:49 GMT 2024 - 11.3K bytes - Click Count (0) -
cmd/namespace-lock_test.go
// a new entry in lockMap and acquires a lock for the same resource. <-lk2ch lk3ok := <-lk3ch lk4ok := <-lk4ch if lk3ok && lk4ok { t.Fatalf("multiple locks acquired; iteration=%d, lk3=%t, lk4=%t", i, lk3ok, lk4ok) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3K bytes - Click Count (0) -
cmd/erasure-server-pool-decom_test.go
func TestPoolMetaValidate(t *testing.T) { objLayer1, fsDirs, err := prepareErasurePools() if err != nil { t.Fatal(err) } defer removeRoots(fsDirs) meta := objLayer1.(*erasureServerPools).poolMeta pools := objLayer1.(*erasureServerPools).serverPools objLayer2, fsDirs, err := prepareErasurePools() if err != nil { t.Fatalf("Initialization of object layer failed for Erasure setup: %s", err) } defer removeRoots(fsDirs)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.8K bytes - Click Count (0) -
src/cmd/addr2line/main.go
counter.CountFlags("addr2line/flag:", *flag.CommandLine) if flag.NArg() != 1 { usage() } f, err := objfile.Open(flag.Arg(0)) if err != nil { log.Fatal(err) } defer f.Close() tab, err := f.PCLineTable() if err != nil { log.Fatalf("reading %s: %v", flag.Arg(0), err) } stdin := bufio.NewScanner(os.Stdin) stdout := bufio.NewWriter(os.Stdout) for stdin.Scan() { p := stdin.Text()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Jun 21 19:58:04 GMT 2024 - 2.4K bytes - Click Count (0) -
internal/bucket/lifecycle/rule_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 4.9K bytes - Click Count (0) -
src/cmd/asm/main.go
flags.Parse() counter.Inc("asm/invocations") counter.CountFlags("asm/flag:", *flag.CommandLine) architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink) if architecture == nil { log.Fatalf("unrecognized architecture %s", GOARCH) } ctxt := obj.Linknew(architecture.LinkArch) ctxt.CompressInstructions = flags.DebugFlags.CompressInstructions != 0 ctxt.Debugasm = flags.PrintOut ctxt.Debugvlog = flags.DebugV
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Apr 02 17:07:18 GMT 2026 - 3K bytes - Click Count (0) -
cmd/object-api-utils_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
tests/non_std_test.go
CreatedAt time.Time UpdatedAt time.Time } func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) { DB.Migrator().DropTable(&Animal{}) if err := DB.AutoMigrate(&Animal{}); err != nil { t.Fatalf("no error should happen when migrate but got %v", err) } animal := Animal{Name: "Ferdinand"} DB.Save(&animal) updatedAt1 := animal.UpdatedAt DB.Save(&animal).Update("name", "Francis")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 1.9K bytes - Click Count (0)