Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 5,360 for watt (0.14 sec)

  1. pkg/kubelet/cloudresource/cloud_request_manager_test.go

    			nodeAddresses, err := manager.NodeAddresses()
    			if (err != nil) != test.wantErr {
    				t.Errorf("unexpected err: %v", err)
    			}
    			if got, want := nodeAddresses, test.wantAddrs; !reflect.DeepEqual(got, want) {
    				t.Errorf("Unexpected diff of node addresses: %v", cmp.Diff(got, want))
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/testx.go

    		t.Skip("the iOS exec wrapper is unable to properly handle the panic from Add")
    	}
    	sum.i = 0
    	C.doAdd(10, 6)
    
    	want := 10 * (10 - 1) / 2 * 6
    	if sum.i != want {
    		t.Fatalf("sum=%d, want %d", sum.i, want)
    	}
    }
    
    // Benchmark measuring overhead from C to Go in a C thread.
    // Create a new C thread and invoke Go function repeatedly in the new C thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. src/cmd/trace/testdata/testprog/main.go

    	wg.Add(2)
    	go cpu10(&wg)
    	go cpu20(&wg)
    	wg.Wait()
    
    	// checkHeapMetrics relies on this.
    	allocHog(25 * time.Millisecond)
    
    	// checkProcStartStop relies on this.
    	var wg2 sync.WaitGroup
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    		wg2.Add(1)
    		go func() {
    			defer wg2.Done()
    			cpuHog(50 * time.Millisecond)
    		}()
    	}
    	wg2.Wait()
    
    	// checkSyscalls relies on this.
    	done := make(chan error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/cache/expiring_test.go

    			}
    
    			c.gc(test.now)
    
    			for k, want := range test.want {
    				got, ok := c.Get(k)
    				if !ok {
    					t.Errorf("expected cache to have entry for key=%q but found none", k)
    					continue
    				}
    				if got != want {
    					t.Errorf("unexpected value for key=%q: got=%q, want=%q", k, got, want)
    				}
    			}
    			if got, want := c.Len(), len(test.want); got != want {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 22 15:51:23 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_test.go

    			// routines to confirm that they see the
    			// wanted value for KEEPCAPS.
    			for k := 0; k < routines; k++ {
    				question <- want
    			}
    
    			// At this point, we should have a large
    			// number of locked OS threads all wanting to
    			// reply.
    			for k := 0; k < routines; k++ {
    				if got := <-response; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. pkg/kube/controllers/example_test.go

    // Run should block.
    func (c *Controller) Run(stop <-chan struct{}) {
    	// The details here are subtle but important to get right. We want to mark our controller ready
    	// only after it has processed the state of the world when we started. That is, we must have
    	// Reconciled() each Pod. The queueing introduces some indirection, though - we want to make sure
    	// we have fully processed each item, not simply added it to the Queue. The queue exposes a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    		"/readyz/poststarthook/wrapping-post-start-hook",
    		"/readyz/shutdown",
    	}
    	checkExpectedPathsAtRoot(server.URL, expectedPaths, t)
    
    	// wait for health (max-in-flight-filter is initialized asynchronously, can take a few milliseconds to initialize)
    	if err := wait.PollImmediate(100*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
    		// healthz checks are installed in PrepareRun
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess/nl/stopwords.txt

    het
    niet
    zijn
    is
    was
    op
    aan
    met
    als
    voor
    had
    er
    maar
    om
    hem
    dan
    zou
    of
    wat
    mijn
    men
    dit
    zo
    door
    over
    ze
    zich
    bij
    ook
    tot
    je
    mij
    uit
    der
    daar
    haar
    naar
    heb
    hoe
    heeft
    hebben
    deze
    u
    want
    nog
    zal
    me
    zij
    nu
    ge
    geen
    omdat
    iets
    worden
    toch
    al
    waren
    veel
    meer
    doen
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Nov 27 12:59:36 UTC 2023
    - 592 bytes
    - Viewed (0)
  9. src/runtime/testdata/testprogcgo/tracebackctxt.go

    	n := runtime.Callers(0, pc)
    	cf := runtime.CallersFrames(pc[:n])
    	var frames []runtime.Frame
    	for {
    		frame, more := cf.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    
    	want := []struct {
    		function string
    		line     int
    	}{
    		{"main.G2", 0},
    		{"cFunction", 0x10200},
    		{"cFunction", 0x200},
    		{"cFunction", 0x10201},
    		{"cFunction", 0x201},
    		{"main.G1", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 29 15:30:38 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one_test.go

    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    			s.ScheduleOne(ctx)
    			// Wait for pod to succeed or fail scheduling
    			select {
    			case <-eventChan:
    			case <-time.After(wait.ForeverTestTimeout):
    				t.Fatalf("scheduling timeout after %v", wait.ForeverTestTimeout)
    			}
    			stopFunc()
    			// Wait for scheduling to return an error or succeed binding.
    			var (
    				gotErr  error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top