Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 4,407 for Avoid (0.04 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

         * they were given.
         */
        void inOrder();
      }
    
      private abstract static class GeneralSpliterator<E extends @Nullable Object> {
        final Spliterator<E> spliterator;
    
        GeneralSpliterator(Spliterator<E> spliterator) {
          this.spliterator = checkNotNull(spliterator);
        }
    
        abstract void forEachRemaining(Consumer<? super E> action);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        NO_SPLIT_FOR_EACH_REMAINING {
          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            spliterator.forEachRemaining(consumer);
          }
        },
        NO_SPLIT_TRY_ADVANCE {
          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            }
        }
    
        @Test
        @DisplayName("renew: invokes getSubject and returns self")
        void testRenewInvokesGetSubjectAndReturnsSelf() {
            JAASAuthenticator auth = spy(new JAASAuthenticator());
            // Avoid real JAAS by stubbing getSubject
            doReturn(new Subject()).when(auth).getSubject();
    
            // Act
            CredentialsInternal result = auth.renew();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       * method is called. Complete Futures here.
       */
      abstract void afterRanInterruptiblySuccess(@ParametricNullness T result);
    
      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
      abstract void afterRanInterruptiblyFailure(Throwable error);
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 10K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         * cancelled before the callable started execution.
         */
        SettableFuture<@Nullable Void> newFuture = SettableFuture.create();
    
        ListenableFuture<@Nullable Void> oldFuture = ref.getAndSet(newFuture);
    
        // Invoke our task once the previous future completes.
        TrustedListenableFutureTask<T> taskFuture = TrustedListenableFutureTask.create(task);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                        ".mvn directory should be created for 4.1.0 upgrade to avoid root directory warnings");
            }
        }
    
        @Nested
        @DisplayName("Check vs Apply Behavior")
        class CheckVsApplyTests {
    
            @Test
            @DisplayName("check goal should not modify files")
            void checkShouldNotModifyFiles() throws Exception {
                Path pomFile = tempDir.resolve("pom.xml");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        private final ClassRealm maven4ApiRealm;
    
        /**
         * Patterns of artifacts provided by maven core and exported via maven api realm. These artifacts are filtered from
         * plugin and build extensions realms to avoid presence of duplicate and possibly conflicting classes on classpath.
         */
        private final Set<String> providedArtifacts;
    
        private final Set<String> providedArtifactsV4;
    
        @Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            };
        }
    
        protected LoggerManager createLoggerManager() {
            return new Slf4jLoggerManager();
        }
    
        protected void customizeContainerConfiguration(C context, ContainerConfiguration configuration) throws Exception {}
    
        protected void customizeContainer(C context, PlexusContainer container) throws Exception {}
    
        protected List<Path> parseExtClasspath(C context) throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableMultimap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Multimap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableMultimap} as a type (as with
     * {@link Multimap} itself). Prefer subtypes such as {@link ImmutableSetMultimap} or {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

          HandshakeCertificates
            .Builder()
            .addTrustedCertificate(rootCa.certificate)
            .build()
        client =
          clientTestRule
            .newClientBuilder()
            .fastFallback(false) // Avoid data races.
            .dns(dns)
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).build()
        val serverHandshakeCertificates =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
Back to Top