- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for aliasAny (0.42 sec)
-
src/cmd/compile/internal/types2/check.go
// with a different EnableAlias value, we panic. // // To achieve this, _aliasAny is a state machine: // // 0: no type checking is occurring // negative: type checking is occurring without EnableAlias set // positive: type checking is occurring with EnableAlias set var _aliasAny int32 func aliasAny() bool { return atomic.LoadInt32(&_aliasAny) >= 0 // default true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/go/types/check.go
// panic. // // To achieve this, _aliasAny is a state machine: // // 0: no type checking is occurring // negative: type checking is occurring without _EnableAlias set // positive: type checking is occurring with _EnableAlias set var _aliasAny int32 func aliasAny() bool { v := gotypesalias.Value() useAlias := v != "0" inuse := atomic.LoadInt32(&_aliasAny) if inuse != 0 && useAlias != (inuse > 0) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/scope.go
// s.elems. The only external API to access scope elements is Lookup. // // TODO: remove this once gotypesalias=0 is no longer supported. if obj == universeAnyAlias && !aliasAny() { return universeAnyNoAlias } return obj } // LookupParent follows the parent chain of scopes starting with s until // it finds a scope where Lookup(name) returns a non-nil object, and then
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/scope.go
// s.elems. The only external API to access scope elements is Lookup. // // TODO: remove this once gotypesalias=0 is no longer supported. if obj == universeAnyAlias && !aliasAny() { return universeAnyNoAlias } return obj } // LookupParent follows the parent chain of scopes starting with s until // it finds a scope where Lookup(name) returns a non-nil object, and then
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc
AliasInfo& alias_info = resource_alias_info_map[assign_op.getResource()]; // TODO(b/184420848): We may not need to skip aliasing for entire function // in case of multiple assigns. if (alias_info.output_index != kUnassigned) { LLVM_DEBUG(llvm::dbgs() << "Skip adding aliasing information because of multiple " "assigns to "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 04:14:26 UTC 2024 - 7.5K bytes - Viewed (0) -
src/crypto/internal/edwards25519/field/fe_alias_test.go
x1, y1, v1 := x, y, Element{} // Calculate a reference f(x, y) without aliasing. if out := f(&v, &x, &y); out != &v && isInBounds(out) { return false } // Test aliasing the first argument and the receiver. v1 = x if out := f(&v1, &v1, &y); out != &v1 || v1 != v { return false } // Test aliasing the second argument and the receiver. v1 = y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 3.4K bytes - Viewed (0) -
src/crypto/internal/edwards25519/scalar_alias_test.go
x1, y1, v1 := x, y, Scalar{} // Calculate a reference f(x, y) without aliasing. if out := f(&v, &x, &y); out != &v || !isReduced(out.Bytes()) { return false } // Test aliasing the first argument and the receiver. v1 = x if out := f(&v1, &v1, &y); out != &v1 || v1 != v || !isReduced(out.Bytes()) { return false } // Test aliasing the second argument and the receiver. v1 = y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir
} tf_executor.fetch %island#0 : !tf_res } func.return } // ----- !tf_res = tensor<*x!tf_type.resource<tensor<f32>>> // Tests that aliasing and non-aliasing values are correctly identified through // multiple islands (`%iter_handle1`, `%iter_handle2`, `%island1#0` and // `%island3#0` all point to the same resource here). func.func @multiple_islands() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 21 17:19:47 UTC 2023 - 22.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/yaml/yaml_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 06 20:18:22 UTC 2020 - 14.3K bytes - Viewed (0) -
src/math/big/alias_test.go
func checkAliasingOneArg(t *testing.T, f func(v, x *big.Int) *big.Int, v, x *big.Int) bool { x1, v1 := new(big.Int).Set(x), new(big.Int).Set(x) // Calculate a reference f(x) without aliasing. if out := f(v, x); out != v { return false } // Test aliasing the argument and the receiver. if out := f(v1, v1); out != v1 || !equal(v1, v) { t.Logf("f(v, x) != f(x, x)") return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 15:49:05 UTC 2022 - 8.8K bytes - Viewed (0)