- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 41 for withRole (0.2 sec)
-
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginGradlePluginCrossVersionSmokeTest.kt
} println("buildSrc build script classpath kotlin compiler version " + KotlinCompilerVersion.VERSION) """ ) withFile( "buildSrc/src/main/kotlin/my-plugin.gradle.kts", "apply(plugin = \"kotlin\")" ) withBuildScript( """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:39:25 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataSupplierRuleExecutorTest.groovy
if (ruleClass == TestSupplierWithService) { ruleServices['SomeService'] = someService } def reexecute = mustRefresh || expired when: withRule(ruleClass, ruleServices) execute(id) then: 1 * valueSnapshotter.snapshot(_) >> inputsSnapshot 1 * store.getIfPresent(keyHash) >> cachedEntry if (expired) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataRuleExecutorTest.groovy
def reexecute = mustRefresh || expired def moduleSources = new MutableModuleSources() moduleSources.add(new ModuleDescriptorHashModuleSource(hashValue, false)) when: withRule(ruleClass, ruleServices) execute(key) then: 1 * key.getSources() >> moduleSources 1 * key.getVariantDerivationStrategy() >> Stub(VariantDerivationStrategy)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 11K bytes - Viewed (0) -
src/net/udpsock_posix.go
ip = netip.AddrFrom4(from.Addr) port = from.Port } case syscall.AF_INET6: var from syscall.SockaddrInet6 n, err = c.fd.readFromInet6(b, &from) if err == nil { ip = netip.AddrFrom16(from.Addr).WithZone(zoneCache.name(int(from.ZoneId))) port = from.Port } } if err == nil { addr = netip.AddrPortFrom(ip, uint16(port)) } return n, addr, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:54:32 UTC 2024 - 7.5K bytes - Viewed (0) -
src/text/template/parse/node.go
} // WithNode represents a {{with}} action and its commands. type WithNode struct { BranchNode } func (t *Tree) newWith(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *WithNode { return &WithNode{BranchNode{tr: t, NodeType: NodeWith, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}} } func (w *WithNode) Copy() Node {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
pkg/kubelet/volumemanager/volume_manager_test.go
} fakeRecorder := &record.FakeRecorder{} plugMgr := &volume.VolumePluginMgr{} // TODO (#51147) inject mock prober fakeVolumeHost := volumetest.NewFakeKubeletVolumeHost(t, tmpDir, kubeClient, nil) fakeVolumeHost.WithNode(node) plugMgr.InitPlugins([]volume.VolumePlugin{attachablePlug, unattachablePlug}, nil /* prober */, fakeVolumeHost) stateProvider := &fakePodStateProvider{} fakePathHandler := volumetest.NewBlockVolumePathHandler()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0)