Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 256 for subsequently (0.09 seconds)

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

        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertThat(callable.call()).isEqualTo(value);
        // Expect the same value on subsequent calls
        assertThat(callable.call()).isEqualTo(value);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable() throws Exception {
        String expected = "MyCallableString";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertThat(callable.call()).isEqualTo(value);
        // Expect the same value on subsequent calls
        assertThat(callable.call()).isEqualTo(value);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable() throws Exception {
        String expected = "MyCallableString";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

              .url("https://api.github.com/search/repositories?q=http")
              .build();
    
          OkHttpClient clientForCall;
          if (i == 2) {
            // Force this request's response to be written to the cache. This way, subsequent responses
            // can be read from the cache.
            System.out.println("Force cache: true");
            clientForCall = client.newBuilder()
                .addNetworkInterceptor(REWRITE_CACHE_CONTROL_INTERCEPTOR)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/CharSource.java

       * @throws IOException if an I/O error occurs while opening the stream
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @MustBeClosed
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Stream calls.
      @IgnoreJRERequirement
      public Stream<String> lines() throws IOException {
        BufferedReader reader = openBufferedStream();
        return reader.lines().onClose(() -> closeUnchecked(reader));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

     * things like environment, system properties, extensions etc. are loaded only once. It is caller duty to ensure
     * that subsequent call is right for the resident instance (ie no env change or different extension needed).
     * This implementation "pre-populates" MavenContext with pre-existing stuff (except for very first call)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java

                listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
                Thread.sleep(500); // to make sure queue is processed, cancellation applied
    
                // subsequent call will cancel
                assertThrows(
                        TransferCancelledException.class,
                        () -> listener.transferStarted(event(session, resource, TransferEvent.EventType.STARTED)));
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. internal/s3select/jstream/scanner.go

    		}
    	}
    
    	s.pos++
    	return s.buf[s.ipos]
    }
    
    // back undoes a previous call to next(), moving backward one byte in the internal buffer.
    // as we only guarantee a lookback buffer size of one, any subsequent calls to back()
    // before calling next() may panic
    func (s *scanner) back() {
    	if s.ipos <= 0 {
    		panic("back buffer exhausted")
    	}
    	s.ipos--
    	s.pos--
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            // Second call keeps the same state
            SmbComTransactionResponse r2 = (SmbComTransactionResponse) d.nextElement();
            assertSame(d, r2, "Subsequent calls still return same instance");
            assertFalse(d.getIsPrimary(), "isPrimary remains false after subsequent call");
        }
    
        @Test
        public void toString_doesNotThrow() {
            DummyResponse d = new DummyResponse();
            String s = d.toString();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        FinalizableReference.register(new Object(), latch);
      }
    
      /**
       * A predicate that is expected to return true subsequent to finalization, that is, one
       * of the following actions taken by the garbage collector when performing a full collection in
       * response to {@link System#gc()}:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            assertNull(session.transport, "transport not created yet");
            SmbTransport tr = session.transport();
            assertNotNull(tr, "transport should now exist");
            // subsequent calls return the same instance
            assertSame(tr, session.transport());
        }
    
        @Test
        void sendResetsResponseAndForwards() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top