- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for testvol (0.14 sec)
-
cmd/bitrot_test.go
package cmd import ( "context" "io" "testing" ) func testBitrotReaderWriterAlgo(t *testing.T, bitrotAlgo BitrotAlgorithm) { tmpDir := t.TempDir() volume := "testvol" filePath := "testfile" disk, err := newLocalXLStorage(tmpDir) if err != nil { t.Fatal(err) } disk.MakeVol(context.Background(), volume)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/controller/tainteviction/timed_workers_test.go
wg.Wait() lastVal := atomic.LoadInt32(&testVal) if lastVal != 5 { t.Errorf("Expected testVal = 5, got %v", lastVal) } } func TestExecuteDelayed(t *testing.T) { testVal := int32(0) wg := sync.WaitGroup{} wg.Add(5) queue := CreateWorkerQueue(func(ctx context.Context, fireAt time.Time, args *WorkArgs) error { atomic.AddInt32(&testVal, 1) wg.Done() return nil }) now := time.Now()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:23:56 UTC 2023 - 5.6K bytes - Viewed (0) -
src/math/big/calibrate_test.go
karatsubaSqrThreshold = words - 1 } var testval int64 for i := 0; i < nruns; i++ { res := testing.Benchmark(func(b *testing.B) { benchmarkNatSqr(b, words) }) testval += res.NsPerOp() } testval /= int64(nruns) basicSqrThreshold, karatsubaSqrThreshold = initBasicSqr, initKaratsubaSqr return time.Duration(testval) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.6K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/index.go
volumes, err := pvIndex.listByAccessModes(modes) if err != nil { return nil, err } bestVol, err := volume.FindMatchingVolume(claim, volumes, nil /* node for topology binding*/, nil /* exclusion map */, delayBinding) if err != nil { return nil, err } if bestVol != nil { return bestVol, nil } } return nil, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 6.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_acl_windows.txt
grep 'BUILTIN\\Guests\s+Allow' $WORK\guest-acl.txt # The file written to the ordinary directory should not. ! grep 'BUILTIN\\Guests\s+Allow' $WORK\exe-acl.txt -- TestACL/go.mod -- module TestACL -- TestACL/main.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_chatty_parallel_success_run.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 19:50:36 UTC 2022 - 1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/schema/validation_test.go
}, Origin: fakeOrigin{}, }, }, } a := ValidationAnalyzer{s: testSchema} a.Analyze(ctx) } func TestSchemaValidationWrapper(t *testing.T) { testCol := gvk.VirtualService m1 := &v1alpha3.VirtualService{} m2 := &v1alpha3.VirtualService{} m3 := &v1alpha3.VirtualService{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tests/tac-filter.mlir
// expected-remark@below {{Tac filter (1) specified but not applied to any op}} // expected-remark@below {{Tac filter (2): filter type: op filter, filter_pattern: "^test_op"}} // expected-remark@below {{Tac filter (2) specified but not applied to any op}} module { // CHECK-LABEL: testFunctionSkiped // expected-remark@+1 {{filtered by tac filter (0)}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 24 01:08:29 UTC 2023 - 3.5K bytes - Viewed (0) -
src/internal/testlog/exit.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package testlog import ( "sync" _ "unsafe" // for linkname ) // PanicOnExit0 reports whether to panic on a call to os.Exit(0). // This is in the testlog package because, like other definitions in // package testlog, it is a hook between the testing package and the // os package. This is used to ensure that an early call to os.Exit(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 1.3K bytes - Viewed (0) -
src/os/executable_test.go
case "openbsd", "freebsd", "aix": t.Skipf("%v does not support reading deleted binary name", runtime.GOOS) } t.Parallel() dir := t.TempDir() src := filepath.Join(dir, "testdel.go") exe := filepath.Join(dir, "testdel.exe") err := os.WriteFile(src, []byte(testExecutableDeletion), 0666) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 3.4K bytes - Viewed (0)