Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for negate (0.24 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
                    Iterables.transform(POSITIVE_INTEGER_CANDIDATES, NEGATE_INT),
                    ImmutableList.of(Integer.MIN_VALUE)));
        NONZERO_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(POSITIVE_INTEGER_CANDIDATES, NEGATIVE_INTEGER_CANDIDATES));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(expected, matcher.toString());
        assertEquals(expected, matcher.precomputed().toString());
        assertEquals(expected, matcher.negate().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().precomputed().toString());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(expected, matcher.toString());
        assertEquals(expected, matcher.precomputed().toString());
        assertEquals(expected, matcher.negate().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().precomputed().toString());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathTesting.java

        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
                    Iterables.transform(POSITIVE_INTEGER_CANDIDATES, NEGATE_INT),
                    ImmutableList.of(Integer.MIN_VALUE)));
        NONZERO_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(POSITIVE_INTEGER_CANDIDATES, NEGATIVE_INTEGER_CANDIDATES));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. 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 =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .setExpectation(Double.NEGATIVE_INFINITY, UP, FLOOR)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeWayTooBig() {
        BigDecimal bi = BigDecimal.valueOf(2).pow(2 * Double.MAX_EXPONENT).negate();
        new RoundToDoubleTester(bi)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  7. internal/s3select/sql/value.go

    		return string(x)
    	case []Value:
    		b, _ := json.Marshal(x)
    		return string(b)
    
    	default:
    		return "CSV serialization not implemented for this type"
    	}
    }
    
    // negate negates a numeric value
    func (v *Value) negate() {
    	switch x := v.value.(type) {
    	case float64:
    		v.value = -x
    	case int64:
    		v.value = -x
    	}
    }
    
    // Value comparison functions: we do not expose them outside the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .setExpectation(Double.NEGATIVE_INFINITY, UP, FLOOR)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeWayTooBig() {
        BigDecimal bi = BigDecimal.valueOf(2).pow(2 * Double.MAX_EXPONENT).negate();
        new RoundToDoubleTester(bi)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  9. internal/s3select/sql/evaluate.go

    	}
    	return lval, nil
    }
    
    func (e *UnaryTerm) evalNode(r Record, tableAlias string) (*Value, error) {
    	if e.Negated == nil {
    		return e.Primary.evalNode(r, tableAlias)
    	}
    
    	v, err := e.Negated.Term.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    
    	inferTypeForArithOp(v)
    	v.negate()
    	if v.isNumeric() {
    		return v, nil
    	}
    	return nil, errArithMismatchedTypes
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/DoubleMath.java

       *
       * <ul>
       *   <li>If {@code x} is NaN or less than zero, the result is NaN.
       *   <li>If {@code x} is positive infinity, the result is positive infinity.
       *   <li>If {@code x} is positive or negative zero, the result is negative infinity.
       * </ul>
       *
       * <p>The computed result is within 1 ulp of the exact result.
       *
       * <p>If the result of this method will be immediately rounded to an {@code int}, {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
Back to top