Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,367 for zero (0.24 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testFind_nonNullWhenNullContained() {
        initCollectionWithNullElement();
        assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testFind_nullContained() {
        initCollectionWithNullElement();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/runtime/os_solaris.go

    	if gp != nil {
    		mp = gp.m
    	}
    	if mp != nil && mp.libcallsp == 0 {
    		mp.libcallg.set(gp)
    		mp.libcallpc = getcallerpc()
    		// sp must be the last, because once async cpu profiler finds
    		// all three values to be non-zero, it will use them
    		mp.libcallsp = getcallersp()
    	} else {
    		mp = nil // See comment in sys_darwin.go:libcCall
    	}
    
    	var libcall libcall
    	libcall.fn = uintptr(unsafe.Pointer(fn))
    	libcall.n = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    import com.google.common.collect.testing.WrongType;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
        expectContents(Helpers.mapEntry(k0(), v1()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void putDistinctKeysDistinctValues() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/map0.go

    	return true
    }
    
    // Find returns the value associated with a key, or zero if not present.
    // The found result reports whether the key was found.
    func (m *Map[K, V]) Find(key K) (V, bool) {
    	pn := m.find(key)
    	if *pn == nil {
    		var zero V // see the discussion of zero values, above
    		return zero, false
    	}
    	return (*pn).val, true
    }
    
    // keyValue is a pair of key and value used when iterating.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "cache of zero size supplied",
    			in:   &KMSConfiguration{CacheSize: &zero},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &zero, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "positive cache size supplied",
    			in:   &KMSConfiguration{CacheSize: &ten},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. test/fixedbugs/issue58671.go

    // run
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func g[P any](...P) P { var zero P; return zero }
    
    var (
    	_ int        = g(1, 2)
    	_ rune       = g(1, 'a')
    	_ float64    = g(1, 'a', 2.3)
    	_ float64    = g('a', 2.3)
    	_ complex128 = g(2.3, 'a', 1i)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 00:35:53 UTC 2023
    - 398 bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/ipset/types.go

    	// protocol (default TCP) and zero protocol number cannot be used.
    	HashIPPortIP Type = "hash:ip,port,ip"
    	// HashIPPortNet represents the `hash:ip,port,net` type ipset.  The hash:ip,port,net set type uses a hash to store IP address, port number and IP network address triples.  The port
    	// number is interpreted together with a protocol (default TCP) and zero protocol number cannot be used.   Network address
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/sigaltstack.go

    	}
    
    	C.changeSignalStack()
    	defer C.restoreSignalStack()
    	defer func() {
    		if recover() == nil {
    			t.Error("did not see expected panic")
    		}
    	}()
    	v := 1 / int(C.zero())
    	t.Errorf("unexpected success of division by zero == %d", v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

        %2 = stablehlo.constant dense<-128> : tensor<1x1x1xi8>  // Input 1 zero point (z1).
        %3 = stablehlo.constant dense<-128> : tensor<1x1x1xi32>  // Input 1 zero point (z1) (upcast & folded into i32).
        %4 = stablehlo.constant dense<4.000000e-01> : tensor<1x1x1xf32>  // Input 2 inverse scale (1 / s2).
        %5 = stablehlo.constant dense<0> : tensor<1x1x1xi8>  // Input 2 zero point (z2).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top