Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 104 for ONCE (0.06 sec)

  1. src/net/http/transport_test.go

    	mu.Unlock()
    
    	wantOnce := func(sub string) {
    		if strings.Count(got, sub) != 1 {
    			t.Errorf("expected substring %q exactly once in output.", sub)
    		}
    	}
    	wantOnceOrMore := func(sub string) {
    		if strings.Count(got, sub) == 0 {
    			t.Errorf("expected substring %q at least once in output.", sub)
    		}
    	}
    	wantOnce("Getting conn for dns-is-faked.golang:" + port)
    	wantOnce("DNS start: {Host:dns-is-faked.golang}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    </p>
    
    <p>
    The range expression <code>x</code> is evaluated once before beginning the loop,
    with one exception: if at most one iteration variable is present and
    <code>len(x)</code> is <a href="#Length_and_capacity">constant</a>,
    the range expression is not evaluated.
    </p>
    
    <p>
    Function calls on the left are evaluated once per iteration.
    For each iteration, iteration values are produced as follows
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    }
    
    void GeneratorDatasetRegionOp::getRegionInvocationBounds(
        ArrayRef<Attribute> operands,
        SmallVectorImpl<InvocationBounds>& invocationBounds) {
      // We invoke `init` once, `finalize` once, and `next` any number of times.
      invocationBounds.emplace_back(InvocationBounds(1, 1));          // init
      invocationBounds.emplace_back(InvocationBounds::getUnknown());  // next
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    // NodeController is just responsible for enqueuing the node to tainting queue from which taint manager picks up
    // and evicts the pods on the node.
    func TestApplyNoExecuteTaints(t *testing.T) {
    	// TODO: Remove skip once https://github.com/kubernetes/kubernetes/pull/114607 merges.
    	if goruntime.GOOS == "windows" {
    		t.Skip("Skipping test on Windows.")
    	}
    	fakeNow := metav1.Date(2017, 1, 1, 12, 0, 0, 0, time.UTC)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	// With multiple workers, each of them would be calling Delete once.
    	_, err := registry.DeleteCollection(ctx, func(ctx context.Context, obj runtime.Object) error {
    		lock.Lock()
    		defer lock.Unlock()
    		if called {
    			t.Errorf("Delete called more than once, so context cancellation didn't work")
    		} else {
    			cancel()
    			called = true
    		}
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	u.Path = path.Dir(u.Path) + SlashSeparator + releaseInfo
    	// Download Binary Once
    	binC, bin, err := downloadBinary(u, mode)
    	if err != nil {
    		adminLogIf(ctx, fmt.Errorf("server update failed with %w", err))
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    	checkPodStatus(t, kl, emptyPod, v1.PodFailed)
    	checkPodStatus(t, kl, missingPod, v1.PodPending)
    	checkPodStatus(t, kl, failedPod, v1.PodFailed)
    }
    
    // TODO(filipg): This test should be removed once StatusSyncer can do garbage collection without external signal.
    func TestPurgingObsoleteStatusMapEntries(t *testing.T) {
    	ctx := context.Background()
    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

      /**
       * Notifies listeners that an entry has been automatically removed due to expiration, eviction, or
       * eligibility for garbage collection. This should be called every time expireEntries or
       * evictEntry is called (once the lock is released).
       */
      void processPendingNotifications() {
        RemovalNotification<K, V> notification;
        while ((notification = removalNotificationQueue.poll()) != null) {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      };
    
      // Adds all the ordered_nodes to the shape refiner shape_refiner_. Then all
      // data type and shape information is maintained by the shape_refiner_.
      // TODO(jpienaar): Remove once shape inference on import is removed.
      Status AddNodesToShapeRefiner(
          std::unordered_map<string, Node*>* node_name_map);
    
      // Prune nodes that do not feed into fetch nodes.
      Status PruneUnreachableNodes(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/horizontal_test.go

    	}
    
    	tc.verifyRecordedMetric(t, m)
    }
    
    func (tc *testCase) verifyRecordedMetric(t *testing.T, m *mockMonitor) {
    	// First, wait for the reconciliation completed at least once.
    	m.waitUntilRecorded(t)
    
    	assert.Equal(t, tc.expectedReportedReconciliationActionLabel, m.reconciliationActionLabels[0], "the reconciliation action should be recorded in monitor expectedly")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
Back to top