Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,386 for sameId (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/types/identity.go

    // Receiver parameter types are ignored. Named (defined) types are only equal if they
    // are pointer-equal - i.e. there must be a unique types.Type for each specific named
    // type. Also, a type containing a shape type is considered identical to another type
    // (shape or not) if their underlying types are the same, or they are both pointers.
    func Identical(t1, t2 *Type) bool {
    	return identical(t1, t2, 0, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirNamedClassOrObjectSymbolBase.kt

            }
            return symbolEquals(other)
        }
    
        /**
         * All kinds of non-local named class or object symbols must have the same kind of hash code. The class ID is the best option, as the
         * same class/object may be represented by multiple different symbols.
         */
        override fun hashCode(): Int = classId?.hashCode() ?: symbolHashCode()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     * the same injector is immediately matched to this explicit binding, which means extensions
     * cannot override this binding. This is because the lookup is always short-circuited in this
     * specific situation (plain @Inject request, and plain explicit binding for the same type.)
     *
     * The simplest solution is to use a custom @Named here so it isn't bound under the plain key.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/structs/hostlayout.go

    // the type system. The main consequence of this is that a user can give
    // the type a new name and it will still have the same properties, e.g.,
    //
    //	type HL structs.HostLayout
    //
    // It also prevents unintentional conversion of struct{} to a named marker type.
    type hostLayout struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top