Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,484 for setA (0.02 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      private val requestedHosts: MutableList<String> = Collections.synchronizedList(mutableListOf())
      private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6.
    
      /** Sets the results for `hostname`.  */
      operator fun set(
        hostname: String,
        addresses: List<InetAddress>,
      ): FakeDns {
        hostAddresses[hostname] = addresses
        return this
      }
    
      /** Clears the results for `hostname`.  */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:29 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/LinkedListMultimap.java

          current.setValue(value);
        }
      }
    
      /** An {@code Iterator} over distinct keys in key head order. */
      private final class DistinctKeyIterator implements Iterator<K> {
        final Set<K> seenKeys = Sets.newHashSetWithExpectedSize(keySet().size());
        @Nullable Node<K, V> next = head;
        @Nullable Node<K, V> current;
        int expectedModCount = modCount;
    
        private void checkForConcurrentModification() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import com.google.common.testing.SerializableTester;
    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import com.google.common.testing.SerializableTester;
    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Platform.java

      }
    
      /** Returns the platform preferred implementation of a set based on a hash table. */
      static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    
      /** Returns the platform preferred implementation of a thread-safe hash set. */
      static <E> Set<E> newConcurrentHashSet() {
        return ConcurrentHashMap.newKeySet();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/StandardTable.java

            /*
             * We can't inherit the normal implementation (which calls
             * Sets.removeAllImpl(Set, *Collection*)) because, under some
             * circumstances, it attempts to call columnKeySet().iterator().remove,
             * which is unsupported.
             */
            checkNotNull(c);
            return Sets.removeAllImpl(this, c.iterator());
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

            assertEquals(new HashSet<>(elements), multimap.get("foo"));
          }
        }.test();
      }
    
      @GwtIncompatible // unreasonably slow
      public void testEntriesIteration() {
        Set<Entry<String, Integer>> set =
            new LinkedHashSet<>(
                asList(
                    immutableEntry("foo", 2),
                    immutableEntry("foo", 3),
                    immutableEntry("bar", 4),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
        // If we get here then the Listener TOMBSTONE was set, which means the future is done, call
        // the listener.
        executeListener(listener, executor);
      }
    
      /**
       * Sets the result of this {@code Future} unless this {@code Future} has already been cancelled or
       * set (including {@linkplain #setFuture set asynchronously}). When a call to this method returns,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/FessBoot.java

         */
        public static void shutdown(final String[] args) {
            System.exit(0);
        }
    
        /**
         * Checks if the lasta.env system property is not set.
         *
         * @return true if lasta.env is not set, false otherwise
         */
        private static boolean isNoneEnv() {
            return System.getProperty("lasta.env") == null;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    }
                });
                readerThreads[i].start();
            }
    
            // Writer thread sets alive to false early
            Thread writerThread = new Thread(() -> {
                try {
                    startLatch.await(); // Wait for start signal
                    // Set alive to false very early - no delay
                    dataStore.alive = false;
                } catch (InterruptedException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
Back to Top