- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 371 for addc (0.04 sec)
-
test/inline.go
package foo import ( "errors" "runtime" "unsafe" ) func add2(p *byte, n uintptr) *byte { // ERROR "can inline add2" "leaking param: p to result" return (*byte)(add1(unsafe.Pointer(p), n)) // ERROR "inlining call to add1" } func add1(p unsafe.Pointer, x uintptr) unsafe.Pointer { // ERROR "can inline add1" "leaking param: p to result" return unsafe.Pointer(uintptr(p) + x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 11.7K bytes - Viewed (0) -
test/newinline.go
package foo import ( "errors" "runtime" "unsafe" ) func add2(p *byte, n uintptr) *byte { // ERROR "can inline add2" "leaking param: p to result" return (*byte)(add1(unsafe.Pointer(p), n)) // ERROR "inlining call to add1" } func add1(p unsafe.Pointer, x uintptr) unsafe.Pointer { // ERROR "can inline add1" "leaking param: p to result" return unsafe.Pointer(uintptr(p) + x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
// floating point negative abs (FNEG (F(ABS|NABS) x)) => (F(NABS|ABS) x) // floating-point fused multiply-add/sub (F(ADD|SUB) (FMUL x y) z) && x.Block.Func.useFMA(v) => (FM(ADD|SUB) x y z) (F(ADDS|SUBS) (FMULS x y) z) && x.Block.Func.useFMA(v) => (FM(ADDS|SUBS) x y z) // Arch-specific inlining for small or disjoint runtime.memmove
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
TF_Operation* add1 = Add(params_->body_inputs[0], params_->body_inputs[1], params_->body_graph, s_, "add1"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_Operation* one = ScalarConst(1, params_->body_graph, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_Operation* add2 = Add(add1, one, params_->body_graph, s_, "add2");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
src/runtime/mbitmap.go
// in the range [addr, addr+span.elemsize). // // nosplit because it is used during write barriers and must not be preempted. // //go:nosplit func (span *mspan) typePointersOfUnchecked(addr uintptr) typePointers { const doubleCheck = false if doubleCheck && span.objBase(addr) != addr { print("runtime: addr=", addr, " base=", span.objBase(addr), "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
builder.opts().WithName("unstage").WithAttr("dtypes", {DT_FLOAT})); Node* add0 = ops::BinaryOp("Add", a, b, builder.opts().WithName("add0")); Node* add1 = ops::BinaryOp("Add", unstage, b, builder.opts().WithName("add1")); Node* relu0 = ops::UnaryOp("Relu", add0, builder.opts().WithName("relu0")); ops::UnaryOp("Relu", add1, builder.opts().WithName("relu1")); MakeStageNode(builder, "stage", {DT_FLOAT}, {relu0});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 49K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/tests/end2end.mlir
func.return %0 : tensor<2x3xf32> // CHECK-NEXT: %[[ADD0:.*]] = "tf.RiscAdd"(%arg0, %arg1) : (tensor<2x3xf32>, tensor<2x3xf32>) -> tensor<*xf32> // CHECK-NEXT: %[[ADD1:.*]] = "tf.RiscAdd"(%[[ADD0]], %arg2) : (tensor<*xf32>, tensor<2x3xf32>) -> tensor<*xf32> // CHECK-NEXT: %[[ES:.*]] = "tf.EnsureShape"(%[[ADD1]]) <{shape = #tf_type.shape<2x3>}> : (tensor<*xf32>) -> tensor<2x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 13.4K bytes - Viewed (0) -
test/peano.go
// Test basic functionality func init() { check(zero(), 0) check(add1(zero()), 1) check(gen(10), 10) check(add(gen(3), zero()), 3) check(add(zero(), gen(4)), 4) check(add(gen(3), gen(4)), 7) check(mul(zero(), zero()), 0) check(mul(gen(3), zero()), 0) check(mul(zero(), gen(4)), 0) check(mul(gen(3), add1(zero())), 3) check(mul(add1(zero()), gen(4)), 4) check(mul(gen(3), gen(4)), 12)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 30 19:39:18 UTC 2018 - 2.2K bytes - Viewed (0) -
src/net/netip/uint128_test.go
) func TestUint128AddSub(t *testing.T) { const add1 = 1 const sub1 = -1 tests := []struct { in uint128 op int // +1 or -1 to add vs subtract want uint128 }{ {uint128{0, 0}, add1, uint128{0, 1}}, {uint128{0, 1}, add1, uint128{0, 2}}, {uint128{1, 0}, add1, uint128{1, 1}}, {uint128{0, ^uint64(0)}, add1, uint128{1, 0}}, {uint128{^uint64(0), ^uint64(0)}, add1, uint128{0, 0}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 02 01:28:01 UTC 2021 - 2.1K bytes - Viewed (0)