Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 265 for ValueOf (0.07 sec)

  1. guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(stats.max()).isEqualTo(MEGA_STREAM_MAX);
      }
    
      public void testBoxedBigDecimalStreamToStats() {
        Stats stats = megaPrimitiveDoubleStream().mapToObj(BigDecimal::valueOf).collect(toStats());
        assertThat(stats.count()).isEqualTo(MEGA_STREAM_COUNT);
        assertThat(stats.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
        assertThat(stats.populationVariance())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        for (char c : chars) {
          positive.add(c);
        }
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
          assertFalse(positive.contains(Character.valueOf((char) c)) ^ m.matches((char) c));
        }
      }
    
      static char[] randomChars(Random rand, int size) {
        Set<Character> chars = new HashSet<>(size);
        for (int i = 0; i < size; i++) {
          char c;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

          for (boolean y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Booleans.contains(EMPTY, false)).isFalse();
        assertThat(Booleans.contains(ARRAY_FALSE, true)).isFalse();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE);
                indexRequestBuilder.setIndex(indexName).setId(String.valueOf(i)).setCreate(true).setSource(source);
                bulkRequestBuilder.add(indexRequestBuilder);
            }
            bulkRequestBuilder.execute().actionGet();
            runner.refresh();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            q.add(next);
            contents.add(next);
            assertThat(q).containsExactlyElementsIn(contents);
            q.remove(i);
            assertTrue(contents.remove(Integer.valueOf(i)));
            assertThat(q).containsExactlyElementsIn(contents);
            assertEquals(next, q.poll());
            contents.remove(next);
            assertThat(q).containsExactlyElementsIn(contents);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

        for (char c : chars) {
          positive.add(c);
        }
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
          assertFalse(positive.contains(Character.valueOf((char) c)) ^ m.matches((char) c));
        }
      }
    
      static char[] randomChars(Random rand, int size) {
        Set<Character> chars = new HashSet<>(size);
        for (int i = 0; i < size; i++) {
          char c;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    .register("https", sslSocketFactory).build();
    
            final long timeToLive = getInitParameter(TIME_TO_LIVE_PROPERTY, 5L, Long.class);
            final TimeUnit timeUnit = TimeUnit.valueOf(getInitParameter(TIME_TO_LIVE_TIME_UNIT_PROPERTY, "MINUTES", String.class));
            final int maxTotal = getInitParameter(MAX_TOTAL_CONNECTION_PROPERTY, 200, Integer.class);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

        31622776601683793L,
        316227766016837933L,
        3162277660168379331L
      };
    
      /**
       * Returns {@code b} to the {@code k}th power. Even if the result overflows, it will be equal to
       * {@code BigInteger.valueOf(b).pow(k).longValue()}. This implementation runs in {@code O(log k)}
       * time.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       */
      @GwtIncompatible // TODO
      public static long pow(long b, int k) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

        31622776601683793L,
        316227766016837933L,
        3162277660168379331L
      };
    
      /**
       * Returns {@code b} to the {@code k}th power. Even if the result overflows, it will be equal to
       * {@code BigInteger.valueOf(b).pow(k).longValue()}. This implementation runs in {@code O(log k)}
       * time.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       */
      @GwtIncompatible // TODO
      public static long pow(long b, int k) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CharMatcher.java

          }
          return result.toString();
        }
    
        @Override
        public String collapseFrom(CharSequence sequence, char replacement) {
          return (sequence.length() == 0) ? "" : String.valueOf(replacement);
        }
    
        @Override
        public String trimFrom(CharSequence sequence) {
          checkNotNull(sequence);
          return "";
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top