- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,311 for sameId (1.4 sec)
-
src/cmd/compile/internal/types2/named_test.go
// a named type remain the same as long as the same source and AddMethod calls // are presented to the type checker in the same order (go.dev/issue/61298). func TestMethodOrdering(t *testing.T) { const src = ` package p type T struct{} func (T) a() {} func (T) c() {} func (T) b() {} ` // should get the same method order each time var methods []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 21:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
src/go/types/methodset.go
var mset methodSet for _, e := range current { typ := e.typ // If we have a named type, we may have associated methods. // Look for those first. if named := asNamed(typ); named != nil { if alt := seen.lookup(named); alt != nil { // We have seen this type before, at a more shallow depth // (note that multiples of this type at the current depth
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactVariantReselectionIntegrationTest.groovy
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME)) attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.DOCUMENTATION)) attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling, Bundling.EXTERNAL)) attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named(DocsType, DocsType.SOURCES)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 18 19:46:19 UTC 2023 - 7.7K bytes - Viewed (0) -
test/fixedbugs/issue28268.go
package p type T struct { a, b, c int E } type E struct{} func (T) b() {} // ERROR "field and method named b|redeclares struct field name|field and method with the same name b" func (*T) E() {} // ERROR "field and method named E|redeclares struct field name|field and method with the same name E" func _() { var x T _ = x.a _ = x.b // no follow-on error here x.b() // no follow-on error here _ = x.c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 764 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/model/NamedObjectInstantiatorTest.groovy
n1.toString() == "a" n2.toString() == "b" n1.is(factory.named(Named, "a")) n2.is(factory.named(Named, "b")) } def "can unpack and recreate Named instance"() { expect: def n1 = factory.named(Named, "a") n1 instanceof Managed n1.publicType() == Named n1.isImmutable() def state = n1.unpackState() state == "a"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesLocalComponentIntegrationTest.groovy
} attributes.attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.class, "foo")) } dependencyScope("deps") resolvable("res") { extendsFrom(deps) attributes.attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.class, "foo")) } } dependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 20 03:06:54 UTC 2023 - 6.4K bytes - Viewed (0) -
src/text/template/helper.go
// named "foo", while "a/foo" is unavailable. func ParseFiles(filenames ...string) (*Template, error) { return parseFiles(nil, readFileOS, filenames...) } // ParseFiles parses the named files and associates the resulting templates with // t. If an error occurs, parsing stops and the returned template is nil; // otherwise it is t. There must be at least one file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:54:08 UTC 2024 - 6.4K bytes - Viewed (0) -
src/runtime/debug/example_monitor_test.go
log.Fatal(err) } if _, err := f.Write(crash); err != nil { log.Fatal(err) } if err := f.Close(); err != nil { log.Fatal(err) } log.Fatalf("saved crash report at %s", f.Name()) } // This is the application process. // Fork+exec the same executable in monitor mode. exe, err := os.Executable() if err != nil { log.Fatal(err) } cmd := exec.Command(exe, "-test.run=ExampleSetCrashOutput_monitor")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/add_functions_for_exported_names.mlir
// RUN: tf-opt %s --tf-saved-model-add-functions-for-exported-names --split-input-file | FileCheck %s // CHECK-LABEL @export_three module @export_three attributes {tf_saved_model.semantics} { // CHECK: func @a // CHECK-SAME: i32 // CHECK-SAME: f32 // CHECK-SAME: tensor<i32> // CHECK: [[tuple:%.*]]:2 = call @f // CHECK: return [[tuple]]#0, [[tuple]]#1 // CHECK-SAME: tensor<i8> // CHECK-SAME: tensor<i16> // CHECK: func @b
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 06 22:55:17 UTC 2023 - 1.5K bytes - Viewed (0) -
src/go/doc/comment/testdata/text8.txt
They must not be standard packages (like fmt), meta-patterns (std, cmd, all), or relative or absolute file paths. - All arguments must have the same version suffix. Different queries are not allowed, even if they refer to the same version. - All arguments must refer to packages in the same module at the same version. - Package path arguments must refer to main packages. Pattern arguments will only match main packages.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:48 UTC 2022 - 3.5K bytes - Viewed (0)