Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 149 for asSequence (2.16 sec)

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

        @Test
        @DisplayName("readLine(): reads until newline and handles CRLF")
        void readLine_reads() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Sequence: 'a','b','\r','\n','c','\n'
            when(raf.read()).thenReturn((int) 'a', (int) 'b', (int) '\r', (int) '\n');
            assertEquals("ab", raf.readLine());
    
            when(raf.read()).thenReturn((int) 'c', (int) '\n');
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            }
        }
    
        @Override
        protected Number doReadNextVal() {
            final String msg = "This table is NOT related to sequence: " + asEsIndexType();
            throw new UnsupportedOperationException(msg);
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

       * fully acquired it.
       *
       * This test yields threads to force the decision of plan1 to be deliberate and not lucky. In
       * particular, we set up this sequence of events:
       *
       *  1. take plan 0
       *  3. plan 0 connects
       *  4. finish taking plan 1
       *
       * https://github.com/square/okhttp/issues/7152
       */
      @Test
      fun reusePlanAndNewConnectRace() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FluentIterable.java

       */
      public final boolean isEmpty() {
        return !getDelegate().iterator().hasNext();
      }
    
      /**
       * Returns an {@code ImmutableList} containing all of the elements from this fluent iterable in
       * proper sequence.
       *
       * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableList#toImmutableList} to {@code
       * stream.collect()}.
       *
       * @throws NullPointerException if any element is {@code null}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

            }
        }
    
        @Override
        protected Number doReadNextVal() {
            final String msg = "This table is NOT related to sequence: " + asEsIndexType();
            throw new UnsupportedOperationException(msg);
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         *   to decrease request latency, but these connections will occasionally time out.
         *
         * * **Unreachable proxy servers.** A [ProxySelector] can be used to
         *   attempt multiple proxy servers in sequence, eventually falling back to a direct
         *   connection.
         *
         * Set this to false to avoid retrying requests when doing so is destructive. In this case the
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        // This lock protects the task so we can ensure that none of the template methods (startUp,
        // shutDown or runOneIteration) run concurrently with one another.
        // TODO(lukes): why don't we use ListenableFuture to sequence things? Then we could drop the
        // lock.
        private final ReentrantLock lock = new ReentrantLock();
    
        @WeakOuter
        final class Task implements Runnable {
          @Override
          public void run() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

        try {
          // Iterate through the parts of the ip string.
          // Invariant: start is always the beginning of a hextet, or the second ':' of the skip
          // sequence "::"
          int start = 0;
          if (ipString.charAt(0) == IPV6_DELIMITER) {
            start = 1;
          }
          while (start < ipString.length()) {
            int end = ipString.indexOf(IPV6_DELIMITER, start);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  9. docs/smb3-features/06-witness-protocol-design.md

        );
        
        assertNotNull(registration.getRegistrationId());
        assertEquals(WitnessRegistrationState.REGISTERING, registration.getState());
        assertFalse(registration.isExpired(60000));
        
        // Test sequence numbers
        long seq1 = registration.getNextSequenceNumber();
        long seq2 = registration.getNextSequenceNumber();
        assertEquals(seq1 + 1, seq2);
    }
    
    @Test
    public void testWitnessNotification() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          Object arg = args.get(i);
          // Use new fresh value generator because 'args' were populated with new fresh generator each.
          // Two newFreshValueGenerator() instances should normally generate equal value sequence.
          Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
          if (arg != shouldBeEqualArg
              && Objects.equals(arg, shouldBeEqualArg)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top