Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for complementOf (0.2 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       *     contains no elements
       */
      @J2ktIncompatible
      @GwtIncompatible // EnumSet.complementOf
      public static <E extends Enum<E>> EnumSet<E> complementOf(Collection<E> collection) {
        if (collection instanceof EnumSet) {
          return EnumSet.complementOf((EnumSet<E>) collection);
        }
        checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

          unnecessaryShouldThrow = true;
          return this;
        }
    
        public void test() {
          assertThat(expectedValues.keySet())
              .containsAtLeastElementsIn(EnumSet.complementOf(EnumSet.of(UNNECESSARY)));
          for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) {
            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

        -(1L << 54) - 4,
        Long.MIN_VALUE + 2,
        Long.MIN_VALUE + 1,
        Long.MIN_VALUE
      };
    
      @J2ktIncompatible // EnumSet.complementOf
      @GwtIncompatible
      public void testRoundToDoubleAgainstBigInteger() {
        for (RoundingMode roundingMode : EnumSet.complementOf(EnumSet.of(UNNECESSARY))) {
          for (long candidate : roundToDoubleTestCandidates) {
            assertThat(LongMath.roundToDouble(candidate, roundingMode))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          rangeSet.add(range);
    
          TreeRangeSet<Integer> complement = TreeRangeSet.create();
          complement.add(Range.<Integer>all());
          complement.remove(range);
    
          assertEquals(complement, rangeSet.complement());
          assertThat(rangeSet.complement().asRanges())
              .containsExactlyElementsIn(complement.asRanges())
              .inOrder();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
      }
    
      @Override
      public ImmutableRangeSet<C> complement() {
        ImmutableRangeSet<C> result = complement;
        if (result != null) {
          return result;
        } else if (ranges.isEmpty()) {
          return complement = all();
        } else if (ranges.size() == 1 && ranges.get(0).equals(Range.all())) {
          return complement = of();
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. docs/pt/docs/resources/index.md

    # Recursos
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 04 14:20:02 UTC 2024
    - 80 bytes
    - Viewed (0)
  9. src/bytes/reader.go

    func (r *Reader) ReadByte() (byte, error) {
    	r.prevRune = -1
    	if r.i >= int64(len(r.s)) {
    		return 0, io.EOF
    	}
    	b := r.s[r.i]
    	r.i++
    	return b, nil
    }
    
    // UnreadByte complements [Reader.ReadByte] in implementing the [io.ByteScanner] interface.
    func (r *Reader) UnreadByte() error {
    	if r.i <= 0 {
    		return errors.New("bytes.Reader.UnreadByte: at beginning of slice")
    	}
    	r.prevRune = -1
    	r.i--
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/index.md

    Although the [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} and this **Advanced User Guide** are written as a guided tutorial (like a book) and should be enough for you to **learn FastAPI**, you might want to complement it with additional courses.
    
    Or it might be the case that you just prefer to take other courses because they adapt better to your learning style.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top