Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 516 for negate (0.1 seconds)

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

        reallyTestOneCharNoMatch(matcher.negate(), s);
        reallyTestOneCharMatch(matcher.precomputed(), s);
        reallyTestOneCharNoMatch(matcher.negate().precomputed(), s);
        reallyTestOneCharNoMatch(matcher.precomputed().negate(), s);
      }
    
      private void doTestOneCharNoMatch(CharMatcher matcher, String s) {
        reallyTestOneCharNoMatch(matcher, s);
        reallyTestOneCharMatch(matcher.negate(), s);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

        }
      }
    
      // Non-static factory implementation classes
    
      /** Implementation of {@link #negate()}. */
      private static class Negated extends CharMatcher {
    
        final CharMatcher original;
    
        Negated(CharMatcher original) {
          this.original = checkNotNull(original);
        }
    
        @Override
        public boolean matches(char c) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/CharMatcher.java

        }
      }
    
      // Non-static factory implementation classes
    
      /** Implementation of {@link #negate()}. */
      private static class Negated extends CharMatcher {
    
        final CharMatcher original;
    
        Negated(CharMatcher original) {
          this.original = checkNotNull(original);
        }
    
        @Override
        public boolean matches(char c) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            scopesToCollect.addAll(scopesToResolve);
    
            DependencyFilter collectionFilter = new ScopeDependencyFilter(null, negate(scopesToCollect));
            DependencyFilter resolutionFilter = new ScopeDependencyFilter(null, negate(scopesToResolve));
            resolutionFilter = AndDependencyFilter.newInstance(collectionFilter, resolutionFilter);
            resolutionFilter =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

       * probability.
       */
      static BigInteger randomNonZeroBigInteger(int numBits) {
        BigInteger result = randomPositiveBigInteger(numBits);
        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/MathBenchmarking.java

       * probability.
       */
      static BigInteger randomNonZeroBigInteger(int numBits) {
        BigInteger result = randomPositiveBigInteger(numBits);
        return RANDOM_SOURCE.nextBoolean() ? result : result.negate();
      }
    
      /**
       * Chooses a number in (-2^numBits, 2^numBits) at random, with density concentrated in numbers of
       * lower magnitude.
       */
      static BigInteger randomBigInteger(int numBits) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/checkstyle.xml

            <property name="limitedTokens" value="LNOT"/>
            <property name="maximumNumber" value="0"/>
            <message
                key="descendant.token.max"
                value="Do not negate boolean expressions with '!', but check explicitly with '== false' as it is more explicit"/>
        </module>
    
      </module>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeWayTooBig() {
        BigDecimal bi = BigDecimal.valueOf(2).pow(2 * Double.MAX_EXPONENT).negate();
        new RoundToDoubleTester(bi)
            .setExpectation(-Double.MAX_VALUE, DOWN, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN)
            .setExpectation(Double.NEGATIVE_INFINITY, UP, FLOOR)
            .roundUnnecessaryShouldThrow()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeWayTooBig() {
        BigDecimal bi = BigDecimal.valueOf(2).pow(2 * Double.MAX_EXPONENT).negate();
        new RoundToDoubleTester(bi)
            .setExpectation(-Double.MAX_VALUE, DOWN, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN)
            .setExpectation(Double.NEGATIVE_INFINITY, UP, FLOOR)
            .roundUnnecessaryShouldThrow()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

                            .filter(isStaticClass.negate())
                            .filter(isPublicClass)
                            .filter(isAbstractClass.negate())
                            .filter(this::seemsLikeATest) // TODO when base classes are set, check for classes that extend them
                            .filter(((Predicate<Class<?>>) this::implementsNamingConvention).negate())
                    ),
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
Back to Top