Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4731 - 4740 of 5,421 for return (0.05 sec)

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

      private static <T> Type aTypeVariable() {
        return new TypeCapture<T>() {}.capture();
      }
    
      private static <T> Type aWildcardType() {
        ParameterizedType parameterizedType =
            (ParameterizedType) new TypeCapture<List<? extends T>>() {}.capture();
        return parameterizedType.getActualTypeArguments()[0];
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionList.java

        // yet started execution.
        synchronized (this) {
          if (!executed) {
            runnables = new RunnableExecutorPair(runnable, executor, runnables);
            return;
          }
        }
        // Execute the runnable immediately. Because of scheduling this may end up getting called before
        // some of the previously added runnables, but we're OK with that. If we want to change the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

      }
    
      public void testGetUnchecked_error() {
        try {
          getUnchecked(ERROR_FUTURE);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      public void testRemoveAtIndex_last() {
        runRemoveTest(getNumElements() - 1);
      }
    
      private void runRemoveTest(int index) {
        assertEquals(
            Platform.format("remove(%d) should return the element at index %d", index, index),
            getList().get(index),
            getList().remove(index));
        List<E> expected = copyToList(createSamplesArray());
        expected.remove(index);
        expectContents(expected);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

      }
    
      public void testGetUnchecked_error() {
        try {
          getUnchecked(ERROR_FUTURE);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

            String pin = CertificatePinner.pin(certificate);
            if (denylist.contains(pin)) {
              throw new IOException("Denylisted peer certificate: " + pin);
            }
          }
          return chain.proceed(chain.request());
        }
      };
    
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR)
          .build();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

     * <p>
     * Example usage:
     * <pre>
     * public class Providers {
     *     {@literal @}Provides
     *     {@literal @}Singleton
     *     public static Configuration provideConfiguration() {
     *         return Configuration.load();
     *     }
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/TestProjectBuilder.java

                throws ProjectBuildingException {
            ProjectBuildingResult result = super.build(pomFile, configuration);
    
            result.getProject().setRemoteArtifactRepositories(Collections.emptyList());
    
            return result;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. cmd/metrics-v3-ilm.go

    		m.Set(transitionMissedImmediateTasks, float64(globalTransitionState.MissedImmediateTasks()))
    	}
    	m.Set(versionsScanned, float64(globalScannerMetrics.lifetime(scannerMetricILM)))
    
    	return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class ConcurrentMapRemoveTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_supportedPresent() {
        assertTrue(getMap().remove(k0(), v0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top