Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for returningT (0.08 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private abstract static class RawTypeConsistencyTester<T extends Enum<T> & CharSequence> {
        abstract T returningT();
    
        abstract void acceptT(T t);
    
        abstract <X extends T> X returningX();
    
        abstract <X> void acceptX(X x);
    
        abstract <T2 extends Enum<T2> & CharSequence> T2 returningT2();
    
        abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private abstract static class RawTypeConsistencyTester<T extends Enum<T> & CharSequence> {
        abstract T returningT();
    
        abstract void acceptT(T t);
    
        abstract <X extends T> X returningX();
    
        abstract <X> void acceptX(X x);
    
        abstract <T2 extends Enum<T2> & CharSequence> T2 returningT2();
    
        abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
       * Executes {@code callable} on the specified {@code executor}, returning a {@code Future}.
       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static <O extends @Nullable Object> ListenableFuture<O> submit(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          @Override
          T transform(@ParametricNullness F from) {
            return function.apply(from);
          }
        };
      }
    
      /**
       * Advances {@code iterator} {@code position + 1} times, returning the element at the {@code
       * position}th position.
       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterator}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Futures.java

        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
       * Executes {@code callable} on the specified {@code executor}, returning a {@code Future}.
       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static <O extends @Nullable Object> ListenableFuture<O> submit(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(2, stats.hitCount());
    
        key = new Object();
        assertSame(value, cache.get(key, Callables.returning(value)));
        stats = cache.stats();
        assertEquals(3, stats.missCount());
        assertEquals(4, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(2, stats.hitCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

       *
       * <p>When the weight of an entry is zero it will not be considered for size-based eviction
       * (though it still may be evicted by other means).
       *
       * <p><b>Important note:</b> Instead of returning this as a {@code CacheBuilder}
       * instance, this method returns {@code CacheBuilder<K1, V1>}. From this point on, either the
       * original reference or the returned reference may be used to complete configuration and build
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    		if !isErrBucketNotFound(err) {
    			storageLogOnceIf(ctx, err, "erasure-list-objects-path-"+bucket)
    		}
    		return loi, toObjectErr(err, bucket)
    	}
    	defer merged.truncate(0) // Release when returning
    
    	if contextCanceled(ctx) {
    		return ListObjectVersionsInfo{}, ctx.Err()
    	}
    
    	if versionMarker == "" {
    		o := listPathOptions{Marker: marker}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher invisible() {
        return Invisible.INSTANCE;
      }
    
      /**
       * Determines whether a character is single-width (not double-width). When in doubt, this matcher
       * errs on the side of returning {@code false} (that is, it tends to assume a character is
       * double-width).
       *
       * <p><b>Note:</b> as the reference file evolves, we will modify this matcher to keep it up to
       * date.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          apply {
            this.retryOnConnectionFailure = retryOnConnectionFailure
          }
    
        /**
         * Configure this client to perform fast fallbacks by attempting multiple connections
         * concurrently, returning once any connection connects successfully.
         *
         * This implements Happy Eyeballs ([RFC 6555][rfc_6555]), balancing connect latency vs.
         * wasted resources.
         *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
Back to top