- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 5,360 for watt (0.11 sec)
-
src/cmd/go/testdata/script/mod_concurrent.txt
env GO111MODULE=on # Concurrent builds should succeed, even if they need to download modules. go get ./x ./y go build ./x & go build ./y wait # Concurrent builds should update go.sum to the union of the hashes for the # modules they read. cmp go.sum go.sum.want -- go.mod -- module golang.org/issue/26794 require ( golang.org/x/text v0.3.0 rsc.io/sampler v1.0.0 ) -- x/x.go -- package x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 800 bytes - Viewed (0) -
src/runtime/metrics_test.go
} } if totalVirtual.got != totalVirtual.want { t.Errorf(`"/memory/classes/total:bytes" does not match sum of /memory/classes/**: got %d, want %d`, totalVirtual.got, totalVirtual.want) } if got, want := objects.allocs-objects.frees, objects.total; got != want { t.Errorf("mismatch between object alloc/free tallies and total: got %d, want %d", got, want) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
cluster/gce/gci/health-monitor.sh
systemctl kill --kill-who=main "${container_runtime_name}" # Wait for a while, as we don't want to kill it again before it is really up. sleep 120 else sleep "${SLEEP_SECONDS}" fi done } function kubelet_monitoring { echo "Wait for 2 minutes for kubelet to be functional" # TODO(andyzheng0831): replace it with a more reliable method if possible.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 20 09:19:08 UTC 2022 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/waitgroup/ratelimited_waitgroup_test.go
import ( "context" "strings" "sync" "testing" "time" "golang.org/x/time/rate" "k8s.io/apimachinery/pkg/util/wait" ) func TestRateLimitedSafeWaitGroup(t *testing.T) { // we want to keep track of how many times rate limiter Wait method is // being invoked, both before and after the wait group is in waiting mode. limiter := &limiterWrapper{} // we expect the context passed by the factory to be used
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 21 14:08:00 UTC 2023 - 8.6K bytes - Viewed (0) -
src/runtime/runtime_test.go
} } check(0) want := 1 for i := 1; i <= 100; i++ { x = append(x, 1) check(want) if i&(i-1) == 0 { want = 2 * i } } } var One = []int64{1} func TestAppendSliceGrowth(t *testing.T) { var x []int64 check := func(want int) { if cap(x) != want { t.Errorf("len=%d, cap=%d, want cap=%d", len(x), cap(x), want) } } check(0) want := 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 11.7K bytes - Viewed (0) -
src/os/exec/exec_posix_test.go
if err != nil { t.Fatalf("%v:\n%s", err, cmd.Stderr) } got := strings.Trim(string(out), "\r\n") t.Logf("in\n\t%s\n`pwd` reported\n\t%s", tc.dir, got) if got != tc.want { t.Errorf("want\n\t%s", tc.want) } }) } } // However, if cmd.Env is set explicitly, setting Dir should not override it. // (This checks that the implementation for https://go.dev/issue/50599 doesn't
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 20:21:32 UTC 2022 - 6.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/goroot_executable.txt
if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } want, err := filepath.EvalSymlinks(os.Args[1]) if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } if !strings.EqualFold(goroot, want) { fmt.Fprintf(os.Stderr, "go env GOROOT:\nhave %s\nwant %s\n", goroot, want) os.Exit(1) } fmt.Fprintf(os.Stderr, "go env GOROOT: %s\n", goroot)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go
// Keeping plugin up to process requests. testCompletedWG.Wait() }() kubeAPIServerWG.Wait() if t.Failed() { return } _, err = service.Encrypt(data) if err == nil && tt.wantErr != "" { t.Fatalf("got nil, want %s", tt.wantErr) } if err != nil && tt.wantErr == "" { t.Fatalf("got %q, want nil", err.Error()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 29 05:36:41 UTC 2023 - 10K bytes - Viewed (0) -
samples/tcp-echo/src/main_test.go
func TestTcpEchoServer(t *testing.T) { // set up test parameters prefix := "hello" request := "world" want := prefix + " " + request // start the TCP Echo Server os.Args = []string{"main", "9000,9001", prefix} go main() // wait for the TCP Echo Server to start time.Sleep(500 * time.Millisecond) for _, addr := range []string{":9000", ":9001"} {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 06 09:12:44 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/controller/job/tracking_utils_test.go
} }) } } func validateTerminatedPodsTrackingFinalizerTotal(event string, want int) error { got, err := testutil.GetCounterMetricValue(metrics.TerminatedPodsTrackingFinalizerTotal.WithLabelValues(event)) if err != nil { return err } if int(got) != want { return fmt.Errorf("got value %d, want %d", int(got), want) } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 05:40:02 UTC 2023 - 5.9K bytes - Viewed (0)