Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 144 for Accent (0.16 sec)

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

        }
    
        @Override
        public void forEach(Consumer<? super E> consumer) {
          checkNotNull(consumer);
          int n = size();
          for (int i = 0; i < n; i++) {
            consumer.accept(get(i));
          }
        }
    
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return asList().copyIntoArray(dst, offset);
        }
    
        @Override
    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)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // for 5.5 seconds happens about 2% of the time.
        boolean longWait = TimeUnit.NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
        // Count how long it actually took to return; we'll accept any number between the expected delay
        // and the approximate actual delay, to be robust to variance in thread scheduling.
        char overWaitNanosFirstDigit =
            Long.toString(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

        return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY;
      }
    
      /**
       * Returns an immutable map containing a single entry. This map behaves and performs comparably to
       * {@link Collections#singletonMap} but will not accept a null key or value. It is preferable
       * mainly for consistency and maintainability of your code.
       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
    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)
  4. android/guava/src/com/google/common/collect/Lists.java

       * advantage of <a href="http://goo.gl/iz2Wi">"diamond" syntax</a>. (Unlike here, there is no risk
       * of overload ambiguity, since the {@code ArrayList} constructors very wisely did not accept
       * varargs.)
       *
       * @param initialArraySize the exact size of the initial backing array for the returned array list
       *     ({@code ArrayList} documentation calls this value the "capacity")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

              }
            };
        Map<String, String> transformed = transformEntries(options, flagPrefixer);
        assertEquals("{verbose=verbose, sort=nosort}", transformed.toString());
      }
    
      // Logically this would accept a NavigableMap, but that won't work under GWT.
      private static <K, V> SortedMap<K, V> sortedNotNavigable(final SortedMap<K, V> map) {
        return new ForwardingSortedMap<K, V>() {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

              }
            };
        Map<String, String> transformed = transformEntries(options, flagPrefixer);
        assertEquals("{verbose=verbose, sort=nosort}", transformed.toString());
      }
    
      // Logically this would accept a NavigableMap, but that won't work under GWT.
      private static <K, V> SortedMap<K, V> sortedNotNavigable(final SortedMap<K, V> map) {
        return new ForwardingSortedMap<K, V>() {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        dummyValue = new Object();
        dummyValueRef = map.newValueReference(dummy, dummyValue, 1);
        dummy.setValueReference(dummyValueRef);
        table.set(index, dummy);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        dummyValue = new Object();
        dummyValueRef = map.newValueReference(dummy, dummyValue, 1);
        dummy.setValueReference(dummyValueRef);
        table.set(index, dummy);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

        long last = -1L;
        for (int i = 0; i < CONTAINS_VALUE_RETRIES; i++) {
          long sum = 0L;
          for (Segment<K, V> segment : segments) {
            // ensure visibility of most recent completed write
            int unused = segment.count; // read-volatile
    
            AtomicReferenceArray<ReferenceEntry<K, V>> table = segment.table;
            for (int j = 0; j < table.length(); j++) {
    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. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      /**
       * Invokes {@code latch.}{@link CountDownLatch#await(long, TimeUnit) await(timeout, unit)}
       * uninterruptibly.
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static boolean awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(timeout);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
Back to top