Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 513 for double (0.16 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

        }
        /*
         * Let k be the true value of floor(sqrt(x)), so that
         *
         *            k * k <= x          <  (k + 1) * (k + 1)
         * (double) (k * k) <= (double) x <= (double) ((k + 1) * (k + 1))
         *          since casting to double is nondecreasing.
         *          Note that the right-hand inequality is no longer strict.
         * Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertNull(Defaults.defaultValue(void.class));
        assertNull(Defaults.defaultValue(String.class));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsFailureUrlCA.java

        public void setErrorCount_PercentileRanks(double[] values) {
            setErrorCount_PercentileRanks(values, null);
        }
    
        public void setErrorCount_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setErrorCount_PercentileRanks("errorCount", values, opLambda);
        }
    
        public void setErrorCount_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.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsKeyMatchCA.java

        }
    
        public void setBoost_PercentileRanks(double[] values) {
            setBoost_PercentileRanks(values, null);
        }
    
        public void setBoost_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setBoost_PercentileRanks("boost", values, opLambda);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  5. tensorflow/c/c_test_util.cc

      values[0] = v;
      return TF_NewTensor(TF_INT32, nullptr, 0, values, num_bytes,
                          &Int32Deallocator, nullptr);
    }
    
    TF_Tensor* DoubleTensor(double v) {
      const int num_bytes = sizeof(double);
      double* values = new double[1];
      values[0] = v;
      return TF_NewTensor(TF_DOUBLE, nullptr, 0, values, num_bytes,
                          &DoubleDeallocator, nullptr);
    }
    
    TF_Tensor* FloatTensor(float v) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java

     *
     */
    public class DoubleConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToDouble() throws Exception {
            assertEquals(new Double("1000.5"), DoubleConversionUtil.toDouble("1,000.5"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveDouble() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/AbstractHasher.java

      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
        return putByte(b ? (byte) 1 : (byte) 0);
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putDouble(double d) {
        return putLong(Double.doubleToRawLongBits(d));
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putFloat(float f) {
        return putInt(Float.floatToRawIntBits(f));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. internal/etag/etag.go

    //
    // In non-strict mode, parse also accepts ETags
    // that are not AWS S3 compatible - e.g. encrypted
    // ETags.
    func parse(s string, strict bool) (ETag, error) {
    	// An S3 ETag may be a double-quoted string.
    	// Therefore, we remove double quotes at the
    	// start and end, if any.
    	if strings.HasPrefix(s, `"`) && strings.HasSuffix(s, `"`) {
    		s = s[1 : len(s)-1]
    	}
    
    	// An S3 ETag may be a multipart ETag that
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

      private final SpecialRandom random;
      private final double hitRate;
      private final int size;
    
      private final Set<Element> valuesInSet;
      private final Element[] queries;
    
      CollectionBenchmarkSampleData(int size) {
        this(true, new SpecialRandom(), 1.0, size);
      }
    
      CollectionBenchmarkSampleData(
          boolean isUserTypeFast, SpecialRandom random, double hitRate, int size) {
        this.isUserTypeFast = isUserTypeFast;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

    }
    
    private fun Buffer.startsWith(prefix: Byte): Boolean = !exhausted() && this[0] == prefix
    
    /**
     * Reads a double-quoted string, unescaping quoted pairs like `\"` to the 2nd character in each
     * sequence. Returns the unescaped string, or null if the buffer isn't prefixed with a
     * double-quoted string.
     */
    @Throws(EOFException::class)
    private fun Buffer.readQuotedString(): String? {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top