Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2861 - 2870 of 3,016 for jest (0.03 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      // In the unittest, create each ordered factory with its own set of lock
      // graph nodes (as opposed to using the static per-Enum map) to avoid
      // conflicts across different test runs.
      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      // In the unittest, create each ordered factory with its own set of lock
      // graph nodes (as opposed to using the static per-Enum map) to avoid
      // conflicts across different test runs.
      private <E extends Enum<E>>
          CycleDetectingLockFactory.WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
              Class<E> enumClass, Policy policy) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test suite for {@link CacheBuilder}. TODO(cpovirk): merge into CacheBuilderTest?
     *
     * @author Jon Donovan
     */
    @GwtCompatible
    @NullUnmarked
    public class CacheBuilderGwtTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          }
    
          return 0L // run again immediately to create more connections if needed
        } catch (e: IOException) {
          // No need to log, user.connectFailed() will already have been called. Just try again later.
          return state.policy.backoffDelayMillis.jitterBy(state.policy.backoffJitterMillis) * 1_000_000
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file
        @Override
        public CharSource createSource(String string) throws IOException {
          super.createSource(string); // just ignore returned CharSource
          return Resources.asCharSource(getFile().toURI().toURL(), UTF_8);
        }
      }
    
      @AndroidIncompatible
      private abstract static class Jdk7FileFactory {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. cmd/local-locker.go

    			for _, lri := range lris {
    				uids = append(uids, lri.UID)
    			}
    
    			// Delete collected uids:
    			for _, uid := range uids {
    				lris, ok := l.lockMap[resource]
    				if !ok {
    					// Just to be safe, delete uuids.
    					for idx := range maxDeleteList {
    						mapID := formatUUID(uid, idx)
    						if _, ok := l.lockUID[mapID]; !ok {
    							break
    						}
    						delete(l.lockUID, mapID)
    					}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertEquals(
            com.google.common.base.Optional.of("2"),
            generator.generateFresh(new TypeToken<com.google.common.base.Optional<String>>() {}));
        // Test that the first generated instance for different cgcb.Optional<T> is always absent().
        // Having generated cgcb.Optional<String> instances doesn't prevent absent() from being
        // generated for other cgcb.Optional types.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. api/go1.9.txt

    pkg database/sql, method (*DB) Conn(context.Context) (*Conn, error)
    pkg database/sql, type Conn struct
    pkg database/sql, type Out struct
    pkg database/sql, type Out struct, Dest interface{}
    pkg database/sql, type Out struct, In bool
    pkg database/sql, var ErrConnDone error
    pkg database/sql/driver, type NamedValueChecker interface { CheckNamedValue }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

        }
      }
    
      private static <K extends Enum<K>, V> ImmutableMap<K, ? extends V> copyOfEnumMap(
          EnumMap<?, ? extends V> original) {
        @SuppressWarnings("unchecked") // the best we could do to make copyOf(Map) compile
        EnumMap<K, V> copy = new EnumMap<>((EnumMap<K, ? extends V>) original);
        for (Entry<K, V> entry : copy.entrySet()) {
          checkEntryNotNull(entry.getKey(), entry.getValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Iterables.java

          }
    
          @Override
          public void forEach(Consumer<? super T> action) {
            checkNotNull(action);
            unfiltered.forEach(
                (@ParametricNullness T a) -> {
                  if (retainIfTrue.test(a)) {
                    action.accept(a);
                  }
                });
          }
    
          @Override
          public Spliterator<T> spliterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
Back to top