- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 516 for negate (0.08 seconds)
-
guava-tests/test/com/google/common/math/MathTesting.java
bigValues.add(new BigInteger("218838949120258359057546634")); POSITIVE_BIGINTEGER_CANDIDATES = bigValues.build(); NEGATIVE_BIGINTEGER_CANDIDATES = Iterables.transform(POSITIVE_BIGINTEGER_CANDIDATES, BigInteger::negate); NONZERO_BIGINTEGER_CANDIDATES = Iterables.concat(POSITIVE_BIGINTEGER_CANDIDATES, NEGATIVE_BIGINTEGER_CANDIDATES); ALL_BIGINTEGER_CANDIDATES =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 9.9K bytes - Click Count (0) -
internal/dsync/dsync-server_test.go
l.mutex.Lock() defer l.mutex.Unlock() if _, reply = l.lockMap[args.Resources[0]]; !reply { l.lockMap[args.Resources[0]] = WriteLock // No locks held on the given name, so claim write lock } reply = !reply // Negate *reply to return true when lock is granted or false otherwise return reply, nil } func (l *lockServer) Unlock(args *LockArgs) (reply bool, err error) { if d := atomic.LoadInt64(&l.responseDelay); d != 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.3K bytes - Click Count (0) -
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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
.test(); } @J2ktIncompatible @GwtIncompatible public void testRoundToDouble_negativeWayTooBig() { BigInteger bi = BigInteger.ONE.shiftLeft(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 04:51:56 GMT 2026 - 27.1K bytes - Click Count (0) -
tensorflow/c/c_api_function_test.cc
{{"scalar10_0:output:0", "scalar10"}}, {}); } TEST_F(CApiFunctionTest, OneOp_OneInput_OneOutput) { /* * | * v * negate * | * v */ // Define TF_Operation* feed = Placeholder(func_graph_, s_); TF_Operation* neg = Neg(feed, func_graph_, s_); Define(-1, {}, {feed}, {neg}, {});Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1) -
android/guava/src/com/google/common/net/MediaType.java
/** Matcher for type, subtype and attributes. */ private static final CharMatcher TOKEN_MATCHER = ascii() .and(javaIsoControl().negate()) .and(CharMatcher.isNot(' ')) .and(CharMatcher.noneOf("()<>@,;:\\\"/[]?=")); private static final CharMatcher QUOTED_TEXT_MATCHER = ascii().and(CharMatcher.noneOf("\"\\\r")); /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckPositive_negativeBigInteger() { assertThrows( IllegalArgumentException.class, () -> MathPreconditions.checkPositive("BigInteger", BigInteger.ZERO.negate())); } public void testCheckNonNegative_zeroInt() { MathPreconditions.checkNonNegative("int", 0); } public void testCheckNonNegative_maxInt() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckPositive_negativeBigInteger() { assertThrows( IllegalArgumentException.class, () -> MathPreconditions.checkPositive("BigInteger", BigInteger.ZERO.negate())); } public void testCheckNonNegative_zeroInt() { MathPreconditions.checkNonNegative("int", 0); } public void testCheckNonNegative_maxInt() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0) -
internal/s3select/sql/timestampfuncs.go
// including timezone is ignored. func dateDiff(timePart string, ts1, ts2 time.Time) (*Value, error) { if ts2.Before(ts1) { v, err := dateDiff(timePart, ts2, ts1) if err == nil { v.negate() } return v, err } duration := ts2.Sub(ts1) y1, m1, d1 := ts1.Date() y2, m2, d2 := ts2.Date() switch timePart { case timePartYear: dy := int64(y2 - y1)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0)