Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Rask (0.14 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableMap.java

        }
        if (hashTableObject instanceof byte[]) {
          byte[] hashTable = (byte[]) hashTableObject;
          int mask = hashTable.length - 1;
          for (int h = Hashing.smear(key.hashCode()); ; h++) {
            h &= mask;
            int keyIndex = hashTable[h] & BYTE_MASK; // unsigned read
            if (keyIndex == BYTE_MASK) { // -1 signed becomes 255 unsigned
              return null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        super.insertEntry(entryIndex, key, value, hash, mask);
        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void accessEntry(int index) {
        if (accessOrder) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

            this.hashTable = hashTable;
            int mask = hashTable.length - 1;
            for (ValueSetLink<K, V> entry = firstEntry;
                entry != this;
                entry = entry.getSuccessorInValueSet()) {
              ValueEntry<K, V> valueEntry = (ValueEntry<K, V>) entry;
              int bucket = valueEntry.smearedValueHash & mask;
              valueEntry.nextInValueBucket = hashTable[bucket];
    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)
  4. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        assertEquals(Sets.<@Nullable String>newHashSet(null, "tree"), keySet.headSet("yahoo"));
        assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
        assertEquals(Sets.newHashSet("tree"), keySet.subSet("ask", "yahoo"));
      }
    
      @GwtIncompatible // SerializableTester
      public void testExplicitComparatorSerialization() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

      // Methods only in Iterables, not in Iterators
    
      /**
       * Determines if the given iterable contains no elements.
       *
       * <p>There is no precise {@link Iterator} equivalent to this method, since one can only ask an
       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        @CheckForNull // null only for TOMBSTONE
        final Runnable task;
        @CheckForNull // null only for TOMBSTONE
        final Executor executor;
    
        // writes to next are made visible by subsequent CAS's on the listeners field
        @CheckForNull Listener next;
    
        Listener(Runnable task, Executor executor) {
          this.task = task;
          this.executor = executor;
        }
    
        Listener() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

          requireNonNull(hashTable);
          int eHash = e.hashCode();
          int i0 = Hashing.smear(eHash);
          int mask = hashTable.length - 1;
          for (int i = i0; i - i0 < maxRunBeforeFallback; i++) {
            int index = i & mask;
            Object tableEntry = hashTable[index];
            if (tableEntry == null) {
              addDedupedElement(e);
              hashTable[index] = e;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/BaseEncoding.java

        return BASE16;
      }
    
      static final class Alphabet {
        private final String name;
        // this is meant to be immutable -- don't modify it!
        private final char[] chars;
        final int mask;
        final int bitsPerChar;
        final int charsPerChunk;
        final int bytesPerChunk;
        private final byte[] decodabet;
        private final boolean[] validPadding;
        private final boolean ignoreCase;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

            return newEntry;
          }
        };
    
        // Masks used to compute indices in the following table.
    
        static final int ACCESS_MASK = 1;
        static final int WRITE_MASK = 2;
        static final int WEAK_MASK = 4;
    
        /** Look-up table for factories. */
        static final EntryFactory[] factories = {
          STRONG,
          STRONG_ACCESS,
          STRONG_WRITE,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Striped64.java

       *
       * It is possible for a Cell to become unused when threads that
       * once hashed to it terminate, as well as in the case where
       * doubling the table causes no thread to hash to it under
       * expanded mask.  We do not try to detect or remove such cells,
       * under the assumption that for long-running instances, observed
       * contention levels will recur, so the cells will eventually be
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top