Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 108 for withRole (0.13 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractListChildMap.java

            if (childIndex >= 0) {
                Entry<T> entry = entries.get(childIndex);
                String childPath = entry.getPath();
                return entry.withNode(targetPath, caseSensitivity, new AbstractInvalidateChildHandler<T, RESULT>(handler) {
    
                    @SuppressWarnings("unchecked")
                    @Override
                    public AbstractListChildMap<RESULT> getChildMap() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:11:25 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/net/netip/netip_pkg_test.go

    		{mustPrefix("::1/128"), mustIP("::1"), true},
    		{mustPrefix("::1/127"), mustIP("::2"), false},
    		// Zones ignored: https://go.dev/issue/51899
    		{Prefix{mustIP("1.2.3.4").WithZone("a"), 32}, mustIP("1.2.3.4"), true},
    		{Prefix{mustIP("::1").WithZone("a"), 128}, mustIP("::1"), true},
    		// invalid IP
    		{mustPrefix("::1/0"), Addr{}, false},
    		{mustPrefix("1.2.3.4/0"), Addr{}, false},
    		// invalid Prefix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 15:37:19 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslAssignmentIntegrationTest.kt

                println("Settings property value: " + container.property.get())
                """.trimIndent()
            )
        }
    
        private
        fun withInitScriptWithAssignment(): File {
            return withFile(
                "init.gradle.kts",
                """
                    import org.gradle.kotlin.dsl.support.serviceOf
                    data class Container(val property: Property<String>)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/embedded/EmbeddedKotlinPluginIntegTest.kt

                    jvmTargetValidationMode = org.jetbrains.kotlin.gradle.dsl.jvm.JvmTargetValidationMode.WARNING
                }
    
                """
            )
    
            withFile("src/main/kotlin/source.kt", """var foo = "bar"""")
    
            val result = build("assemble")
    
            result.assertTaskExecuted(":compileKotlin")
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/execution/plan/ValuedVfsHierarchy.java

         * The location must not be empty.
         */
        private void visitValuesRelatedTo(VfsRelativePath location, ValueVisitor<T> visitor) {
            values.forEach(value -> visitor.visitAncestor(value, location));
            children.withNode(location, caseSensitivity, new ChildMap.NodeHandler<ValuedVfsHierarchy<T>, String>() {
                @Override
                public String handleAsDescendantOfChild(VfsRelativePath pathInChild, ValuedVfsHierarchy<T> child) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 28 17:23:29 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			schemaGenerator: func(max *int64) *schema.Structural {
    				strType := withMaxLength(primitiveType("string", ""), max)
    				array := withMaxItems(arrayType("atomic", nil, &strType), max)
    				array = withRule(array, "self.join(' ') == 'aa bb'")
    				return &array
    			},
    			expectedCalcCost: 329853068905,
    			setMaxElements:   10,
    			expectedSetCost:  43,
    		},
    		{
    			name: "extended library isSorted",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. src/net/netip/netip.go

    func (ip Addr) Unmap() Addr {
    	if ip.Is4In6() {
    		ip.z = z4
    	}
    	return ip
    }
    
    // WithZone returns an IP that's the same as ip but with the provided
    // zone. If zone is empty, the zone is removed. If ip is an IPv4
    // address, WithZone is a no-op and returns ip unchanged.
    func (ip Addr) WithZone(zone string) Addr {
    	if !ip.Is6() {
    		return ip
    	}
    	if zone == "" {
    		ip.z = z6noz
    		return ip
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  8. src/net/netip/slow_test.go

    	}
    	var ret [16]byte
    	for i, f := range fs {
    		a, b, err := parseWord(f)
    		if err != nil {
    			return Addr{}, err
    		}
    		ret[i*2] = a
    		ret[i*2+1] = b
    	}
    
    	return AddrFrom16(ret).WithZone(zone), nil
    }
    
    // normalizeIPv6Slow expands s, which is assumed to be an IPv6
    // address, to its canonical text form.
    //
    // The canonical form of an IPv6 address is 8 colon-separated fields,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                )
            }
    
            // new file-facade class can be annotated with @Incubating, members must be annotated with @since
            checkBinaryCompatible(
                v2 = {
                    withFile(
                        "kotlin/com/example/Source.kt",
                        """
                        @file:Incubating
                        package com.example
    
                        import org.gradle.api.Incubating
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.groovy

        private static final DateTimeFormatter RCF_3339_DATE_FORMAT = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
            .withLocale(Locale.US)
            .withZone(GMT)
    
        private static final String DATE_HEADER = 'Mon, 29 Sep 2014 11:04:27 GMT'
        private static final String SERVER_GCS = 'GCS'
    
        TestDirectoryProvider testDirectoryProvider
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 16.7K bytes
    - Viewed (0)
Back to top