Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 393 for hasTest (0.04 sec)

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

       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
      public void addAll(Iterator<? extends Number> values) {
        while (values.hasNext()) {
          add(values.next().doubleValue());
        }
      }
    
      /**
       * Adds the given values to the dataset.
       *
       * @param values a series of values
       */
      public void addAll(double... values) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

    import java.net.URI;
    import java.net.URISyntaxException;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.UnaryOperator;
    import java.util.stream.Collectors;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

                        boolean notified = false;
                        final Iterator<Entry<Long, Response>> iterator = this.response_map.entrySet().iterator();
                        while (iterator.hasNext()) {
                            final Response resp = iterator.next().getValue();
                            resp.exception(ex);
                            iterator.remove();
                            notified = true;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100));
        tester.testAllPublicStaticMethods(BloomFilter.class);
      }
    
      /** Tests that we never get an optimal hashes number of zero. */
      public void testOptimalHashes() {
        for (int n = 1; n < 1000; n++) {
          for (double p = 0.1; p > 1e-10; p /= 10) {
            assertThat(BloomFilter.optimalNumOfHashFunctions(p)).isGreaterThan(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          assertThat(q.poll()).isNull();
          assertThat(q.poll(0, MILLISECONDS)).isNull();
          assertEquals("[]", q.toString());
          assertThat(q.toArray()).isEmpty();
          assertFalse(q.iterator().hasNext());
          try {
            q.element();
            fail("Should throw exception");
          } catch (NoSuchElementException success) {
          }
          try {
            q.iterator().next();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

       * into 29 bits):
       *
       * <ul>
       *   <li>If the IPv6 address contains an embedded IPv4 address, the function hashes that.
       *   <li>Otherwise, it hashes the upper 64 bits of the IPv6 address.
       * </ul>
       *
       * <p>A "coerced" IPv4 address is equivalent to itself.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

          return ByteStreams.readBytes(in, processor);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Hashes the contents of this byte source using the given hash function.
       *
       * @throws IOException if an I/O error occurs while reading from this source
       */
      public HashCode hash(HashFunction hashFunction) throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilter.java

         * input).
         */
        int ordinal();
      }
    
      /** The bit set of the BloomFilter (not necessarily power of 2!) */
      private final LockFreeBitArray bits;
    
      /** Number of hashes per element */
      private final int numHashFunctions;
    
      /** The funnel to translate Ts to bytes */
      private final Funnel<? super T> funnel;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          while (elements.hasNext()) {
            add(elements.next());
          }
          return this;
        }
    
        private void dedupAndCoalesceAndDeleteEmpty() {
          dedupAndCoalesce(false);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    throw new SmbException(url.toString(), last);
                }
                throw (SmbException) last;
            }
    
            final Iterator iter = map.keySet().iterator();
            while (iter.hasNext()) {
                e = (FileEntry) iter.next();
                final String name = e.getName();
                if (fnf != null && !fnf.accept(this, name)) {
                    continue;
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top