Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 168 for asSequence (0.15 sec)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

        }
        assertSplitterIterableIsLazy(Splitter.onPattern(","));
      }
    
      /**
       * This test really pushes the boundaries of what we support. In general the splitter's behaviour
       * is not well defined if the char sequence it's splitting is mutated during iteration.
       */
      private void assertSplitterIterableIsLazy(Splitter splitter) {
        StringBuilder builder = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	if err != nil {
    		t.Errorf("DropTable err:%v", err)
    	}
    
    	// create sequence
    	err = DB.Table("events").AutoMigrate(&Event1{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	// delete sequence
    	err = DB.Table("events").AutoMigrate(&Event{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	// update sequence
    	err = DB.Table("events").AutoMigrate(&Event1{})
    	if err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  3. android/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> {@code ImmutableList.copyOf(stream.iterator())}, or pass
       * {@link ImmutableList#toImmutableList} to {@code stream.collect()}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/Constants.java

        }
    
        // ============================================================
        // System and UI Constants
        // ============================================================
    
        /** System line separator character sequence. */
        public static final String LINE_SEPARATOR = System.lineSeparator();
    
        /** Default page number for admin interface pagination. */
        public static final int DEFAULT_ADMIN_PAGE_NUMBER = 1;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

          // This guarantees a deterministic sequence when handling the canceled request:
          // 1. Server reads request and dequeues first response
          // 2. Client cancels request
          // 3. Server tries to send response on the canceled stream
          // Otherwise, there is no guarantee for the sequence. For example, the server may use the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top