Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 305 for advance (0.12 sec)

  1. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
        @DisplayName("Iterator without filter - simple case")
        void iteratorWithoutFilter() {
            // Setup: constructor calls advance() once
            when(delegate.hasNext()).thenReturn(true, false);
            when(delegate.next()).thenReturn(fileEntry);
    
            TestIterator iterator = new TestIterator(null);
    
            // Verify iteration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

        int skipped = advance(iterator, position);
        if (!iterator.hasNext()) {
          throw new IndexOutOfBoundsException(
              "position ("
                  + position
                  + ") must be less than the number of elements that remained ("
                  + skipped
                  + ")");
        }
        return iterator.next();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            assertEquals("/searchOptions.jsp", FessHtmlPath.path_SearchOptionsJsp.getRoutingPath());
            assertEquals("/searchResults.jsp", FessHtmlPath.path_SearchResultsJsp.getRoutingPath());
            assertEquals("/advance.jsp", FessHtmlPath.path_AdvanceJsp.getRoutingPath());
        }
    
        public void test_commonPaths() throws Exception {
            // Test common paths
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        list.add("b");
        Iterator<String> iterator = list.iterator();
        advance(iterator, 1);
        assertEquals("b", iterator.next());
      }
    
      public void testAdvance_pastEnd() {
        List<String> list = new ArrayList<>();
        list.add("a");
        list.add("b");
        Iterator<String> iterator = list.iterator();
        advance(iterator, 5);
        assertFalse(iterator.hasNext());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          state = STATE_CLOSED
          if (trailers.size > 0) {
            client?.cookieJar?.receiveHeaders(url, trailers)
          }
        }
      }
    
      /** An HTTP body with a fixed length specified in advance. */
      private inner class FixedLengthSource(
        url: HttpUrl,
        private var bytesRemaining: Long,
      ) : AbstractSource(url) {
        init {
          if (bytesRemaining == 0L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  6. docs/features/interceptors.md

          @Override public MediaType contentType() {
            return body.contentType();
          }
    
          @Override public long contentLength() {
            return -1; // We don't know the compressed length in advance!
          }
    
          @Override public void writeTo(BufferedSink sink) throws IOException {
            BufferedSink gzipSink = Okio.buffer(new GzipSink(sink));
            body.writeTo(gzipSink);
            gzipSink.close();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterables.java

     * streams.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class
     * are <i>lazy</i>, which means that their iterators only advance the backing iteration when
     * absolutely necessary.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#iterables">{@code
     * Iterables}</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      }
    
      /**
       * Inserts element at current put position, advances, and signals. Call only when occupying
       * monitor.
       */
      private void insert(E x) {
        items[putIndex] = x;
        putIndex = inc(putIndex);
        ++count;
      }
    
      /**
       * Extracts element at current take position, advances, and signals. Call only when occupying
       * monitor.
       */
      private E extract() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        taskFaker.runNextTask()
        assertThat(log).containsExactly(
          "red:starting@0",
          "blue:starting@0",
        )
        assertThat(taskFaker.executeCallCount).isEqualTo(2)
    
        // Advance time until the tasks complete.
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly(
          "red:starting@0",
          "blue:starting@0",
          "red:finishing@100000",
          "blue:finishing@100000",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            case WitnessNotificationMessage.WITNESS_IP_CHANGE:
                decodeIpChangeMessage(buf, message);
                break;
            default:
                // Skip unknown message types
                buf.advance(messageLength - 8); // Skip remaining data (minus type and length)
                break;
            }
    
            return message;
        }
    
        /**
         * Decodes a resource change notification message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top