Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for floatkey (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go

    				`"A"`,
    				`"Iñtërnâtiônàlizætiøn"`,
    				`[null,true,1,1,1.5]`,
    				`{"boolkey":true,"floatkey":1,"intkey":1,"nullkey":null}`, // gets alphabetized by Marshal
    			}, ",") + `]`,
    		},
    
    		// Maps
    		{
    			In:   `{}`,
    			Data: map[string]interface{}{},
    			Out:  `{}`,
    		},
    		{
    			In:   `{"boolkey":true,"floatkey":1.0,"intkey":1,"nullkey":null}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 08:02:09 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

    template <typename T>
    DenseElementsAttr GetScalarOfType(Type ty, T raw_value) {
      RankedTensorType scalar_ty = RankedTensorType::get({}, ty);
      if (auto float_ty = mlir::dyn_cast<FloatType>(ty)) {
        FloatAttr attr = FloatAttr::get(float_ty, raw_value);
        return DenseElementsAttr::get(scalar_ty, attr);
      } else if (auto int_ty = mlir::dyn_cast<IntegerType>(ty)) {
        IntegerAttr attr = IntegerAttr::get(int_ty, raw_value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(a, navigableMap.floorEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(a.getKey()));
        assertEquals(a, navigableMap.floorEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(b.getKey()));
        assertEquals(c, navigableMap.floorEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.floorKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCeiling() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(a, navigableMap.floorEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(a.getKey()));
        assertEquals(a, navigableMap.floorEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(b.getKey()));
        assertEquals(c, navigableMap.floorEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.floorKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCeiling() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/runtime/minmax.go

    func fmax64(x, y float64) float64 { return fmax(x, y) }
    
    type floaty interface{ ~float32 | ~float64 }
    
    func fmin[F floaty](x, y F) F {
    	if y != y || y < x {
    		return y
    	}
    	if x != x || x < y || x != 0 {
    		return x
    	}
    	// x and y are both ±0
    	// if either is -0, return -0; else return +0
    	return forbits(x, y)
    }
    
    func fmax[F floaty](x, y F) F {
    	if y != y || y > x {
    		return y
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 18:15:22 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_types.def

    #undef HANDLE_CUSTOM_TF_TYPE
    
    // All ref types are listed below this line and FloatRef is the first ref type.
    // This helps in easily differentiating ref and non-ref types, and converting
    // a type to/from ref types.
    
    #ifndef HANDLE_TF_REF_TYPE
    #define HANDLE_TF_REF_TYPE(class, enumerant, name) \
      HANDLE_TF_TYPE(class, enumerant, name)
    #endif
    HANDLE_TF_REF_TYPE(FloatRef, FLOAT_REF, "f32ref")
    HANDLE_TF_REF_TYPE(DoubleRef, DOUBLE_REF, "f64ref")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 09 03:12:53 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public K floorKey(@ParametricNullness K key) {
        return delegate().floorKey(key);
      }
    
      /**
       * A sensible definition of {@link #floorKey} in terms of {@code floorEntry}. If you override
       * {@code floorEntry}, you may wish to override {@code floorKey} to forward to this
       * implementation.
       */
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      }
    
      @Override
      @CheckForNull
      public K floorKey(@ParametricNullness K key) {
        return delegate().floorKey(key);
      }
    
      /**
       * A sensible definition of {@link #floorKey} in terms of {@code floorEntry}. If you override
       * {@code floorEntry}, you may wish to override {@code floorKey} to forward to this
       * implementation.
       */
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return delegate.floorKey(checkValid(key));
      }
    
      @Override
      public @Nullable V get(Object key) {
        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate().floorEntry(key);
        }
    
        @Override
        public @Nullable K floorKey(K key) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().floorKey(key);
        }
    
        @Override
        public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top