- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 245 for Negate (0.17 sec)
-
src/crypto/internal/edwards25519/scalar.go
} // Subtract sets s = x - y mod l, and returns s. func (s *Scalar) Subtract(x, y *Scalar) *Scalar { // s = -1 * y + x mod l fiatScalarSub(&s.s, &x.s, &y.s) return s } // Negate sets s = -x mod l, and returns s. func (s *Scalar) Negate(x *Scalar) *Scalar { // s = -1 * x + 0 mod l fiatScalarOpp(&s.s, &x.s) return s } // Multiply sets s = x * y mod l, and returns s. func (s *Scalar) Multiply(x, y *Scalar) *Scalar {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 10.8K bytes - Viewed (0) -
src/runtime/crash_test.go
x, y *int } func (p *point) negate() { *p.x = *p.x * -1 *p.y = *p.y * -1 } // Test for issue #10152. func TestPanicInlined(t *testing.T) { defer func() { r := recover() if r == nil { t.Fatalf("recover failed") } buf := make([]byte, 2048) n := runtime.Stack(buf, false) buf = buf[:n] if !bytes.Contains(buf, []byte("(*point).negate(")) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sccp.go
func possibleConst(val *Value) bool { if isConst(val) { return true } switch val.Op { case OpCopy: return true case OpPhi: return true case // negate OpNeg8, OpNeg16, OpNeg32, OpNeg64, OpNeg32F, OpNeg64F, OpCom8, OpCom16, OpCom32, OpCom64, // math OpFloor, OpCeil, OpTrunc, OpRoundToEven, OpSqrt, // conversion
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:54:50 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockFileReaderWriter.java
listener.fileObserved(uniqueLockFile.toFile()); if (Files.exists(uniqueLockFile)) { try (Stream<String> lines = Files.lines(uniqueLockFile, CHARSET)) { lines.filter(empty.or(comment).negate()) .filter(line -> { if (line.startsWith(EMPTY_RESOLUTIONS_ENTRY)) { // This is a perf hack for handling the last line in the file in a special way
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 10.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java
PatternMatcher matcher = PatternMatcherFactory.getPatternMatcher(true, isCaseSensitive(), pattern); return eachFile(new MatchingCopyAction(matcher.negate(), action)); } @Override public CopySpec filesNotMatching(Iterable<String> patterns, Action<? super FileCopyDetails> action) { if (!patterns.iterator().hasNext()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:25:10 UTC 2024 - 33.6K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
* dA = U * dB = -U * */ // Grad for A DCHECK(grad_outputs[0]); grad_inputs[0] = grad_outputs[0]; grad_inputs[0]->Ref(); // Grad for B // negate the upstream grad std::string name = "Neg_Sub_Grad_B"; TF_RETURN_IF_ERROR( ops::Neg(ctx, grad_outputs[0], &grad_inputs[1], name.c_str())); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 15.2K bytes - Viewed (0) -
src/crypto/ed25519/ed25519.go
} S, err := edwards25519.NewScalar().SetCanonicalBytes(sig[32:]) if err != nil { return false } // [S]B = R + [k]A --> [k](-A) + [S]B = R minusA := (&edwards25519.Point{}).Negate(A) R := (&edwards25519.Point{}).VarTimeDoubleScalarBaseMult(k, minusA, S) return bytes.Equal(sig[:32], R.Bytes())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
func.return %0 : tensor<2x!tf_type.variant> } // CHECK-LABEL: multiple_dialect_ops func.func @multiple_dialect_ops(%arg0: tensor<2xf32>) -> tensor<2xf32> { // CHECK: mhlo.negate %0 = "mhlo.negate"(%arg0) : (tensor<2xf32>) -> tensor<2xf32> // CHECK: mhlo.atan2 %1 = "tf.Atan2"(%arg0, %0) : (tensor<2xf32>, tensor<2xf32>) -> tensor<2xf32> func.return %1 : tensor<2xf32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleMath.java
} int exponent = getExponent(x); long significand = getSignificand(x); BigInteger result = BigInteger.valueOf(significand).shiftLeft(exponent - SIGNIFICAND_BITS); return (x < 0) ? result.negate() : result; } /** * Returns {@code true} if {@code x} is exactly equal to {@code 2^k} for some finite integer * {@code k}. */ @GwtIncompatible // com.google.common.math.DoubleUtils
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
guava/src/com/google/common/math/DoubleMath.java
} int exponent = getExponent(x); long significand = getSignificand(x); BigInteger result = BigInteger.valueOf(significand).shiftLeft(exponent - SIGNIFICAND_BITS); return (x < 0) ? result.negate() : result; } /** * Returns {@code true} if {@code x} is exactly equal to {@code 2^k} for some finite integer * {@code k}. */ @GwtIncompatible // com.google.common.math.DoubleUtils
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0)