Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for injected (0.14 sec)

  1. android/guava/src/com/google/common/hash/Hasher.java

     * change between Java releases.
     *
     * <p><b>Warning:</b> Chunks of data that are put into the {@link Hasher} are not delimited. The
     * resulting {@link HashCode} is dependent only on the bytes inserted, and the order in which they
     * were inserted, not how those bytes were chunked into discrete put() operations. For example, the
     * following three expressions all generate colliding hash codes:
     *
     * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        return collection;
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected void resetCollection() {
        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        /*
         * Don't shut down until the listenInPoolThread task has been accepted to
         * run. We want to see what happens when it's interrupted, not when it's
         * rejected.
         */
        submitSuccessful.await();
        executorService.shutdownNow();
        abstractFuture.set(DATA1);
        assertEquals(DATA1, listenableFuture.get());
        singleCallListener.waitForCall();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/UrlEscapers.java

    import com.google.common.escape.Escaper;
    
    /**
     * {@code Escaper} instances suitable for strings to be included in particular sections of URLs.
     *
     * <p>If the resulting URLs are inserted into an HTML or XML document, they will require additional
     * escaping with {@link com.google.common.html.HtmlEscapers} or {@link
     * com.google.common.xml.XmlEscapers}.
     *
     * @author David Beaumont
     * @author Chris Povirk
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          }
    
          oldRunCount = workerRunCount;
    
          // If the worker is not yet running, the delegate Executor might reject our attempt to start
          // it. To preserve FIFO order and failure atomicity of rejected execution when the same
          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
    
        /**
         * Returns an {@code ImmutableRangeMap} containing the associations previously added to this
         * builder.
         *
         * @throws IllegalArgumentException if any two ranges inserted into this builder overlap
         */
        public ImmutableRangeMap<K, V> build() {
          Collections.sort(entries, Range.<K>rangeLexOrdering().onKeys());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

        implements Serializable {
    
      /**
       * Creates a new, empty multiset, sorted according to the elements' natural order. All elements
       * inserted into the multiset must implement the {@code Comparable} interface. Furthermore, all
       * such elements must be <i>mutually comparable</i>: {@code e1.compareTo(e2)} must not throw a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

            BloomFilter.create(Funnels.integerFunnel(), 15_000_000, 0.01);
    
        // This check has to be BEFORE the loop because the random insertions can
        // flip GOLDEN_PRESENT_KEY to true even if it wasn't explicitly inserted
        // (false positive).
        assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isFalse();
        for (int i = 0; i < NUM_PUTS; i++) {
          bloomFilter.put(getNonGoldenRandomKey());
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked")
          V value = (V) stream.readObject();
          /*
           * requireNonNull is safe for a properly serialized multimap: We've already inserted a
           * collection for each key that we expect.
           */
          requireNonNull(map.get(key)).add(value);
        }
        setMap(map);
      }
    
      @GwtIncompatible // java serialization not supported
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

          }
        }
      }
    
      /**
       * Returns the bucket (in either the K-to-V or V-to-K tables) where elements with the specified
       * hash could be found, if present, or could be inserted.
       */
      private int bucket(int hash) {
        return hash & (hashTableKToV.length - 1);
      }
    
      /** Given a key, returns the index of the entry in the tables, or ABSENT if not found. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
Back to top