- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 542 for alias2 (0.12 sec)
-
test/alias2.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test basic restrictions on type aliases. package p import ( "reflect" . "reflect" ) type T0 struct{} // Valid type alias declarations. type _ = T0 type _ = int type _ = struct{} type _ = reflect.Value type _ = Value type ( A0 = T0 A1 = int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:09:14 UTC 2024 - 2.5K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
{Name: "alias2", ExternalName: "concrete"}, }, }, { name: "looping alias", input: []service{ {Name: "alias1", ExternalName: "alias2"}, {Name: "alias2", ExternalName: "alias1"}, }, output: []service{ {Name: "alias1", ExternalName: "alias2"}, {Name: "alias2", ExternalName: "alias1"}, }, }, } for _, tt := range tests {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc
/*function_aliases=*/ {{"alias_1", "function_1"}, {"alias_2", "function_2"}}, /*asset_file_defs=*/{}); ASSERT_THAT(exported_model, IsOk()); ASSERT_THAT(exported_model->function_aliases(), SizeIs(2)); EXPECT_THAT(exported_model->function_aliases().at("alias_1"), StrEq("function_1")); EXPECT_THAT(exported_model->function_aliases().at("alias_2"), StrEq("function_2")); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 19.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 05:41:21 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/alias.go
// If a is not an instance of a generic alias, the result is nil. func (a *Alias) TypeArgs() *TypeList { return a.targs } // Rhs returns the type R on the right-hand side of an alias // declaration "type A = R", which may be another alias. func (a *Alias) Rhs() Type { return a.fromRHS } // Unalias returns t if it is not an alias type; // otherwise it follows t's alias chain until it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5K bytes - Viewed (0) -
src/go/types/alias.go
actual Type // actual (aliased) type; never an alias } // NewAlias creates a new Alias type with the given type name and rhs. // rhs must not be nil. func NewAlias(obj *TypeName, rhs Type) *Alias { alias := (*Checker)(nil).newAlias(obj, rhs) // Ensure that alias.actual is set (#65455). alias.cleanup() return alias }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go
// license that can be found in the LICENSE file. package aliases import ( "go/token" "go/types" ) // Package aliases defines backward compatible shims // for the types.Alias type representation added in 1.22. // This defines placeholders for x/tools until 1.26. // NewAlias creates a new TypeName in Package pkg that // is an alias for the type rhs. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 1.1K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
} // resolvedAliases builds a map of Alias -> Concrete, fully resolving through multiple hops. // Ex: Alias1 -> Alias2 -> Concrete will flatten to Alias1 -> Concrete. resolvedAliases := make(map[NamespacedHostname]host.Name, len(rawAlias)) for alias, referencedService := range rawAlias { // referencedService may be another alias or a concrete service. if _, f := unnamespacedRawAlias[referencedService]; !f {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
hack/verify-import-aliases.sh
# See the License for the specific language governing permissions and # limitations under the License. # This script verifies that all the imports have our preferred alias(es). The # preferred aliases for imports are listed in `hack/.import-aliases`. # Usage: `hack/verify-import-aliases.sh`. set -o errexit set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:56 UTC 2024 - 1.1K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/internal/alias/alias.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !purego // Package alias implements memory aliasing tests. package alias import "unsafe" // AnyOverlap reports whether x and y share memory at any (not necessarily // corresponding) index. The memory beyond the slice length is ignored. func AnyOverlap(x, y []byte) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.1K bytes - Viewed (0)