Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 367 for Doubles (0.08 sec)

  1. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

        Set<Class<?>> primitives = Primitives.allPrimitiveTypes();
        assertThat(primitives)
            .containsExactly(
                boolean.class,
                byte.class,
                char.class,
                double.class,
                float.class,
                int.class,
                long.class,
                short.class,
                void.class);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

      private static final String S2 = "44 one million";
      private static final String S3 = "Lowly laundry lefties";
      private static final String S4 = "89273487U#*&#";
      private static final Double D0 = 9.234d;
      private static final Double D1 = -1.2e55;
    
      @Benchmark
      int hashString_2(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1);
        }
        return dummy;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Hashing.java

        return smear((o == null) ? 0 : o.hashCode());
      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      static int closedTableSize(int expectedEntries, double loadFactor) {
        // Get the recommended table size.
        // Round down to the nearest power of 2.
        expectedEntries = max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashTestUtils.java

              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            assertThat(prob).isWithin(epsilon).of(0.50d);
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_test_util.h

    // Create 1 dimensional tensor with values from `values`
    TF_Tensor* Int32Tensor(const std::vector<int32_t>& values);
    
    TF_Tensor* Int32Tensor(int32_t v);
    
    TF_Tensor* DoubleTensor(double v);
    
    TF_Tensor* FloatTensor(float v);
    
    TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s,
                              const char* name = "feed",
                              TF_DataType dtype = TF_INT32,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/LongAdder.java

      @Override
      public float floatValue() {
        return (float) sum();
      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LongAdder.java

      @Override
      public float floatValue() {
        return (float) sum();
      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsBadWordCA.java

        public void setCreatedTime_PercentileRanks(double[] values) {
            setCreatedTime_PercentileRanks(values, null);
        }
    
        public void setCreatedTime_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setCreatedTime_PercentileRanks("createdTime", values, opLambda);
        }
    
        public void setCreatedTime_PercentileRanks(String name, double[] values,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    		{"a/b/c/", false},
    		{"../../etc", false},
    		{"../../", false},
    		{"/../../etc", false},
    		{" ../etc", false},
    		{"./././", false},
    		{"./etc", false},
    		{`contains//double/forwardslash`, false},
    		{`//contains/double-forwardslash-prefix`, false},
    		{string([]byte{0xff, 0xfe, 0xfd}), false},
    	}
    
    	for i, testCase := range testCases {
    		isValidObjectName := IsValidObjectName(testCase.objectName)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LongAdder.java

      @Override
      public float floatValue() {
        return (float) sum();
      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
Back to top