Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for complement (0.05 sec)

  1. android/guava/src/com/google/common/collect/TreeRangeSet.java

        } else {
          rangesByLowerBound.put(range.lowerBound, range);
        }
      }
    
      @LazyInit private transient @Nullable RangeSet<C> complement;
    
      @Override
      public RangeSet<C> complement() {
        RangeSet<C> result = complement;
        return (result == null) ? complement = new Complement() : result;
      }
    
      @VisibleForTesting
      static final class RangesByUpperBound<C extends Comparable<?>>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          }
    
          ImmutableRangeSet<Integer> built = builder.build();
          assertEquals(mutable, built);
          assertEquals(ImmutableRangeSet.copyOf(mutable), built);
          assertEquals(mutable.complement(), built.complement());
    
          for (int i = 0; i <= 11; i++) {
            assertEquals(mutable.contains(i), built.contains(i));
          }
    
          SerializableTester.reserializeAndAssert(built);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        this(ranges, /* complement= */ null);
      }
    
      private ImmutableRangeSet(
          ImmutableList<Range<C>> ranges, @Nullable ImmutableRangeSet<C> complement) {
        this.ranges = ranges;
        this.complement = complement;
      }
    
      private final transient ImmutableList<Range<C>> ranges;
      private final transient @Nullable ImmutableRangeSet<C> complement;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            assertNotNull(closeRequest, "Smb2CloseRequest should implement RequestWithFileId");
            assertNotNull(queryInfoRequest, "Smb2QueryInfoRequest should implement RequestWithFileId");
            assertNotNull(setInfoRequest, "Smb2SetInfoRequest should implement RequestWithFileId");
            assertNotNull(queryDirRequest, "Smb2QueryDirectoryRequest should implement RequestWithFileId");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Define lease state constants (SMB2_LEASE_READ, SMB2_LEASE_HANDLE, SMB2_LEASE_WRITE)
    - [ ] Implement lease key generation and management
    - [ ] Add lease context to Create request/response
    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    #### 1.3 Integration Points
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // complementOf
      public void testComplementOfEnumSet() {
        Set<SomeEnum> units = EnumSet.of(SomeEnum.B, SomeEnum.D);
        EnumSet<SomeEnum> otherUnits = Sets.complementOf(units);
        verifySetContents(otherUnits, EnumSet.of(SomeEnum.A, SomeEnum.C));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // complementOf
      public void testComplementOfEnumSetWithType() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.register(compCatcher);
    
        // Two additional event types: Object and Comparable<?> (played by Integer)
        Object objEvent = new Object();
        Object compEvent = 6;
    
        bus.post(EVENT);
        bus.post(objEvent);
        bus.post(compEvent);
    
        // Check the StringCatcher...
        List<String> stringEvents = stringCatcher.getEvents();
        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/EmptyIteratorTest.java

        @Test
        @DisplayName("EmptyIterator should implement CloseableIterator interface")
        void testInterfaceImplementation() {
            // Then
            assertTrue(emptyIterator instanceof CloseableIterator, "Should implement CloseableIterator");
            assertTrue(emptyIterator instanceof Iterator, "Should implement Iterator");
            assertTrue(emptyIterator instanceof AutoCloseable, "Should implement AutoCloseable");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Types.java

       * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods
       * refer only to types present under Android, so we could implement them in {@code
       * TypeVariableImpl} today. (We could probably then make {@code TypeVariableImpl} implement {@code
       * AnnotatedElement} so that we get partial compile-time checking.)
       *
       * <p>This workaround should be removed at a distant future time when <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

     *       the {@code Converter} type using a mocking framework.
     *   <li>Pass two lambda expressions or method references to the {@link #from from} factory method.
     *   <li>Extend this class and implement its {@link #doForward} and {@link #doBackward} methods.
     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top