Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 951 for call1 (0.01 sec)

  1. android/guava/src/com/google/common/io/CharSource.java

      @IgnoreJRERequirement
      public Stream<String> lines() throws IOException {
        BufferedReader reader = openBufferedStream();
        return reader.lines().onClose(() -> closeUnchecked(reader));
      }
    
      @IgnoreJRERequirement // helper for lines()
      /*
       * If we make these calls inline inside the lambda inside lines(), we get an Animal Sniffer error,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterators.java

        }
      }
    
      /**
       * Returns a {@code PeekingIterator} backed by the given iterator.
       *
       * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the
       * iteration, and hence return the same object each time. A subsequent call to {@code next} is
       * guaranteed to return the same object again. For example:
       *
       * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractBiMap.java

            return new BiMapEntry(entry);
          }
    
          @Override
          public void remove() {
            if (entry == null) {
              throw new IllegalStateException("no calls to next() since the last call to remove()");
            }
            V value = entry.getValue();
            iterator.remove();
            removeFromInverseMap(value);
            entry = null;
          }
        };
      }
    
      @WeakOuter
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * be included, and it's much easier to implement the interpretation that they not be. Finally, a
       * call to {@code shutdown} or {@code shutdownNow} may result in concurrent calls to {@code
       * invokeAll/invokeAny} throwing RejectedExecutionException, although a subset of the tasks may
       * already have been executed.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @Test
        public void testMultipleCompressionCalls() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Multiple compression calls should work
            request.compression("gzip");
            request.compression("deflate");
    
            assertNotNull(request);
        }
    
        @Test
        public void testEmptyStringParam() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. docs/recipes.md

            final Call call = client.newCall(request);
    
            // Schedule a job to cancel the call in 1 second.
            executor.schedule(new Runnable() {
              @Override public void run() {
                System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f);
                call.cancel();
                System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f);
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          }
        }
    
        // subsequent calls should call the loader again, not get the old exception
        assertThrows(UncheckedExecutionException.class, () -> cache.getUnchecked("bar"));
        assertThat(callCount.get()).isEqualTo(2);
      }
    
      /**
       * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                assertEquals(0, result);
                assertNotNull(testResponse.getData());
                assertEquals(0, testResponse.getData().length);
            }
    
            @Test
            @DisplayName("Should count decode calls correctly")
            void testDecodeCallCount() throws SMBProtocolDecodingException {
                assertEquals(0, testResponse.getDecodeCallCount());
    
                testResponse.decode(testBuffer, 0, 10);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          }
        }
    
        // subsequent calls should call the loader again, not get the old exception
        assertThrows(UncheckedExecutionException.class, () -> cache.getUnchecked("bar"));
        assertThat(callCount.get()).isEqualTo(2);
      }
    
      /**
       * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionReleased")
      }
    
      override fun requestHeadersStart(call: Call) {
        logWithTime("requestHeadersStart")
      }
    
      override fun requestHeadersEnd(
        call: Call,
        request: Request,
      ) {
        logWithTime("requestHeadersEnd")
      }
    
      override fun requestBodyStart(call: Call) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top