Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ingi (0.14 sec)

  1. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

          }
        }
        if (duplicates != null) {
          @SuppressWarnings({"rawtypes", "unchecked"})
          Entry<K, V>[] newEntryArray = new Entry[n - dupCount];
          for (int inI = 0, outI = 0; inI < n; inI++) {
            Entry<K, V> entry = requireNonNull(entryArray[inI]);
            K key = entry.getKey();
            if (duplicates.containsKey(key)) {
              V value = duplicates.get(key);
              if (value == null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

            .isEqualTo("Could not create BloomFilter of 3327428144502 bits");
      }
    
      @AndroidIncompatible // OutOfMemoryError
      public void testLargeNumberOfInsertions() {
        // We use horrible FPPs here to keep Java from OOM'ing
        BloomFilter<String> unused =
            BloomFilter.create(Funnels.unencodedCharsFunnel(), Integer.MAX_VALUE / 2, 0.30);
        unused = BloomFilter.create(Funnels.unencodedCharsFunnel(), 45L * Integer.MAX_VALUE, 0.99);
      }
    
    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)
  3. android/guava/src/com/google/common/collect/Multimap.java

     *
     * <pre>{@code
     * Zachary: [Taylor]
     * John: [Adams, Adams, Tyler, Kennedy]  // Remember, Quincy!
     * George: [Washington, Bush, Bush]
     * Grover: [Cleveland, Cleveland]        // Two, non-consecutive terms, rep'ing NJ!
     * ...
     * }</pre>
     *
     * <h3>Views</h3>
     *
     * <p>Much of the power of the multimap API comes from the <i>view collections</i> it provides.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/AppendableWriterTest.java

        writer.write("Hi");
        writer.close();
    
        assertThrows(IOException.class, () -> writer.write(" Greg"));
    
        assertThrows(IOException.class, () -> writer.flush());
    
        // close()ing already closed writer is allowed
        writer.close();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

          for (int inI = 0, outI = 0; inI < size * 2; ) {
            if (dups.get(inI >>> 1)) {
              inI += 2;
            } else {
              newAlternatingKeysAndValues[outI++] =
                  requireNonNull(localAlternatingKeysAndValues[inI++]);
              newAlternatingKeysAndValues[outI++] =
                  requireNonNull(localAlternatingKeysAndValues[inI++]);
            }
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

            return entries;
          }
          @SuppressWarnings({"rawtypes", "unchecked"})
          Entry<K, V>[] newEntries = new Entry[size - dups.cardinality()];
          for (int inI = 0, outI = 0; inI < size; inI++) {
            if (!dups.get(inI)) {
              newEntries[outI++] = entries[inI];
            }
          }
          return newEntries;
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            .isEqualTo("Could not create BloomFilter of 3327428144502 bits");
      }
    
      @AndroidIncompatible // OutOfMemoryError
      public void testLargeNumberOfInsertions() {
        // We use horrible FPPs here to keep Java from OOM'ing
        BloomFilter<String> unused =
            BloomFilter.create(Funnels.unencodedCharsFunnel(), Integer.MAX_VALUE / 2, 0.30);
        unused = BloomFilter.create(Funnels.unencodedCharsFunnel(), 45L * Integer.MAX_VALUE, 0.99);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
       * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
       * AND'ing with Long.MAX_VALUE instead of flipping the bits.
       */
      MURMUR128_MITZ_64() {
        @Override
        public <T extends @Nullable Object> boolean put(
            @ParametricNullness T object,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

        writer.write("Hi");
        writer.close();
    
        assertThrows(IOException.class, () -> writer.write(" Greg"));
    
        assertThrows(IOException.class, () -> writer.flush());
    
        // close()ing already closed writer is allowed
        writer.close();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top