Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for preset (0.17 sec)

  1. android/guava/src/com/google/common/cache/LocalCache.java

         * ValueReference instance.
         */
        boolean isLoading();
    
        /**
         * Returns true if this reference contains an active value, meaning one that is still considered
         * present in the cache. Active values consist of live values, which are returned by cache
         * lookups, and dead values, which have been evicted but awaiting removal. Non-active values
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        attributes. This ensures the unified attributes do not get exposed outside
        of the MLIR bridge with V1 pipeline in some cases. The pass expects to have
        either none or both of the unified attributes present in an op for the
        conversion to happen. Otherwise it will fail.
    
        For example, `_replication_info="cluster"` and
        `_xla_compile_device_type="TPU"` in the following code
    
        ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  3. src/reflect/value.go

    	}
    	return mapiterkey(&iter.hiter) != nil
    }
    
    // Reset modifies iter to iterate over v.
    // It panics if v's Kind is not [Map] and v is not the zero Value.
    // Reset(Value{}) causes iter to not to refer to any map,
    // which may allow the previously iterated-over map to be garbage collected.
    func (iter *MapIter) Reset(v Value) {
    	if v.IsValid() {
    		v.mustBe(Map)
    	}
    	iter.m = v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		for k, value := range customHeaders {
    			req.Header.Set(k, value)
    		}
    	}
    
    	checksumData := func(b []byte, h hash.Hash) string {
    		h.Reset()
    		_, err := h.Write(b)
    		if err != nil {
    			t.Fatal(err)
    		}
    		return base64.StdEncoding.EncodeToString(h.Sum(nil))
    	}
    	// test cases with inputs and expected result for GetObject.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  5. src/database/sql/sql_test.go

    		}
    		if want == 0 && !t.Failed() {
    			if _, ok := s.TakeRandom(); ok {
    				t.Fatalf("TakeRandom returned result when empty")
    			}
    		}
    	}
    	reset := func() { s = connRequestSet{} }
    
    	t.Run("add-delete", func(t *testing.T) {
    		reset()
    		wantLen(0)
    		dh := s.Add(nil)
    		wantLen(1)
    		if !s.Delete(dh) {
    			t.Fatal("failed to delete")
    		}
    		wantLen(0)
    		if s.Delete(dh) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    		case quitReadCh <- struct{}{}:
    			// Ensure delegate is closed so Read doesn't block forever.
    			close(dr.c)
    		}
    	}()
    
    	t.RoundTrip(req)
    
    	// Ensure the reader returns before we reset req.Body to prevent
    	// a data race on req.Body.
    	pw.Close()
    	<-quitReadCh
    
    	req.Body = save
    }
    
    // Issue 37669
    // Test that a cancellation doesn't result in a data race due to the writeLoop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    						t.Logf("expected kubernetes.io/os label to be present")
    						return false, nil
    					}
    					if val != goruntime.GOOS {
    						t.Logf("expected kubernetes.io/os to match runtime.GOOS but got %v", val)
    						return false, nil
    					}
    					val, ok = savedNode.Labels[v1.LabelArchStable]
    					if !ok {
    						t.Logf("expected kubernetes.io/arch label to be present")
    						return false, nil
    					}
    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. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	_, _, err := registry.Update(testContext, podA.Name, rest.DefaultUpdatedObjectInfo(podA), denyCreateValidation, denyUpdateValidation, false, &metav1.UpdateOptions{})
    	if !errors.IsNotFound(err) {
    		t.Errorf("Unexpected error: %v", err)
    	}
    
    	// try to update a non-existing node
    	_, _, err = registry.Update(testContext, podA.Name, rest.DefaultUpdatedObjectInfo(podA), rest.ValidateAllObjectFunc, rest.ValidateAllObjectUpdateFunc, false, &metav1.UpdateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. src/crypto/x509/verify_test.go

    	// matches, as due to root store semantics it is plausible that (at least on the system
    	// verifiers) multiple identical (looking) chains may be returned when two roots with the
    	// same subject are present.
    	for _, expectedChain := range test.expectedChains {
    		var match bool
    		for _, chain := range chains {
    			if doesMatch(expectedChain, chain) {
    				match = true
    				break
    			}
    		}
    
    		if !match {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet.go

    		// In case Evented PLEG has to fall back on Generic PLEG due to an error,
    		// Evented PLEG should be able to reset the Generic PLEG relisting duration
    		// to the default value.
    		eventedRelistDuration := &pleg.RelistDuration{
    			RelistPeriod:    genericPlegRelistPeriod,
    			RelistThreshold: genericPlegRelistThreshold,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top