Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 473 for Doubles (0.09 seconds)

  1. android/guava/src/com/google/common/base/MoreObjects.java

         *
         * <p>It is strongly encouraged to use {@link #add(String, double)} instead and give value a
         * readable name.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(double value) {
          return addUnconditionalHolder(String.valueOf(value));
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      @Override
      void writeChar(int v);
    
      @Override
      void writeInt(int v);
    
      @Override
      void writeLong(long v);
    
      @Override
      void writeFloat(float v);
    
      @Override
      void writeDouble(double v);
    
      @Override
      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
       * @deprecated This method is dangerous as it discards the high byte of every character. For
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 20:25:25 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            // Add various types of parameters
            params.put("string", "test-value");
            params.put("integer", 42);
            params.put("long", 123456789L);
            params.put("boolean", true);
            params.put("double", 3.14);
    
            Map<String, Object> nestedMap = new HashMap<>();
            nestedMap.put("nested-key", "nested-value");
            params.put("map", nestedMap);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

      @Param({"5", "30", "180", "1100", "6900", "43000", "260000"}) // "1600000", "9800000"
      private int size;
    
      // TODO(kevinb): look at exact (==) hits vs. equals() hits?
      @Param({"0.2", "0.8"})
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
      // "" means no fixed seed
      @Param("")
      private SpecialRandom random;
    
      @Param({"HashSetImpl", "ImmutableSetImpl"})
      private SetImpl impl;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                                || actual == Short.class
                                || actual == Byte.class)) {
                    return true;
                }
                if (formal == Double.TYPE
                        && (actual == Double.class
                                || actual == Float.class
                                || actual == Long.class
                                || actual == Integer.class
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/MoreObjects.java

         *
         * <p>It is strongly encouraged to use {@link #add(String, double)} instead and give value a
         * readable name.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(double value) {
          return addUnconditionalHolder(String.valueOf(value));
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Suppliers.java

        @Override
        @ParametricNullness
        // We set the field only once (during construction or deserialization).
        @SuppressWarnings("SynchronizeOnNonFinalField")
        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (lock) {
              if (!initialized) {
                T t = delegate.get();
                value = t;
                initialized = true;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            // The real getDocumentCount returns -1 on error; our test double tracks this
            testClient.documentCountError = true;
            final long count = testClient.getDocumentCount("nonexistent_index");
            assertEquals(-1L, count);
        }
    
        @Test
        public void test_getAliasCount_returnsZeroOnError() {
            // The real getAliasCount returns 0 on error; our test double tracks this
            testClient.aliasCountError = true;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return double
         */
        private double getDoubleValue(String s, String attribute, XmlPullParser parser, boolean strict)
                throws XmlPullParserException {
            if (s != null) {
                try {
                    return Double.valueOf(s).doubleValue();
                } catch (NumberFormatException nfe) {
                    if (strict) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsFileAuthenticationCA.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,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 71.3K bytes
    - Click Count (0)
Back to Top