- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Negate (1.27 sec)
-
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) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.2K bytes - Viewed (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() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (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)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (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 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.3K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
return errLifecycleDateNotMidnight } *eDate = ExpirationDate{expDate} return nil } // MarshalXML encodes expiration date if it is non-zero and encodes // empty string otherwise func (eDate ExpirationDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if eDate.IsZero() { return nil } return e.EncodeElement(eDate.Format(time.RFC3339), startElement) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.6K bytes - Viewed (0) -
internal/s3select/sql/analysis.go
result.combine(e.Left.analyze(s)) for _, r := range e.Right { result.combine(r.Right.analyze(s)) } return result } func (e *UnaryTerm) analyze(s *Select) (result qProp) { if e.Negated != nil { result = e.Negated.Term.analyze(s) } else { result = e.Primary.analyze(s) } return result } func (e *PrimaryTerm) analyze(s *Select) (result qProp) { switch { case e.Value != nil:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/11-language-change.yml
- type: textarea id: generics-proposal attributes: label: Is this about generics? description: If so, how does this relate to the accepted design and other generics proposals? placeholder: | Yes or No If yes, 1. how does this relate to the accepted design and other generics proposals? validations: required: true - type: textarea id: proposalRegistered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Aug 08 19:02:29 UTC 2024 - 4.7K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_enhancement_request.yaml
that it's for a use case that actually comes up in the real world. We want to hear the real-world use case so the community can discuss and debate whether this feature is actually the *best* way to address the real use case, or whether or not a different approach might be more appropriate.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 3.9K bytes - Viewed (0) -
internal/s3select/sql/utils.go
e.And[0].Condition[0].Operand.ConditionRHS != nil { return "", false } operand := e.And[0].Condition[0].Operand.Operand if operand.Right != nil || operand.Left.Right != nil || operand.Left.Left.Negated != nil || operand.Left.Left.Primary.JPathExpr == nil { return "", false } // Check if path expression ends in a key jpath := operand.Left.Left.Primary.JPathExpr n := len(jpath.PathExpr)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Nov 10 16:12:50 UTC 2021 - 3.6K bytes - Viewed (0) -
internal/s3select/sql/aggregation.go
err = rt.Right.aggregateRow(r, tableAlias) if err != nil { return err } } return nil } func (e *UnaryTerm) aggregateRow(r Record, tableAlias string) error { if e.Negated != nil { return e.Negated.Term.aggregateRow(r, tableAlias) } return e.Primary.aggregateRow(r, tableAlias) } func (e *PrimaryTerm) aggregateRow(r Record, tableAlias string) error { switch { case e.ListExpr != nil:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 7.9K bytes - Viewed (0)