- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for withRole (0.14 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) -
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) -
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) -
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) -
src/net/netip/netip_test.go
test("Addr.Is4In6", func() { sinkBool = MustParseAddr("fe80::1").Is4In6() }) test("Addr.Unmap", func() { sinkIP = MustParseAddr("ffff::2.3.4.5").Unmap() }) test("Addr.WithZone", func() { sinkIP = MustParseAddr("fe80::1").WithZone("") }) test("Addr.IsGlobalUnicast", func() { sinkBool = MustParseAddr("2001:db8::1").IsGlobalUnicast() })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt
val performanceTest = project.tasks.register(name, PerformanceTest::class) { group = "verification" buildId = System.getenv("BUILD_ID") ?: "localBuild-${ofPattern("yyyyMMddHHmmss").withZone(systemDefault()).format(now())}" reportDir = project.layout.buildDirectory.file("${this.name}/${Config.performanceTestReportsDir}").get().asFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 24.4K bytes - Viewed (0) -
pkg/volume/testing/volume_host.go
if err := host.WaitForKubeletErrNil(); err != nil { t.Fatalf("Failed to wait for kubelet err to be nil while creating fake volume host: %v", err) } return host } func (f *fakeKubeletVolumeHost) WithNode(node *v1.Node) *fakeKubeletVolumeHost { f.node = node return f } type CSINodeLister []storagev1.CSINode // Get returns a fake CSINode object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 16.5K bytes - Viewed (0) -
src/net/tcpsock.go
// // If a is nil, a zero value is returned. func (a *TCPAddr) AddrPort() netip.AddrPort { if a == nil { return netip.AddrPort{} } na, _ := netip.AddrFromSlice(a.IP) na = na.WithZone(a.Zone) return netip.AddrPortFrom(na, uint16(a.Port)) } // Network returns the address's network name, "tcp". func (a *TCPAddr) Network() string { return "tcp" } func (a *TCPAddr) String() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 13.7K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
// detector's 8k-goroutine limit for _, n := range []int{50, 500, 5000} { b.Run(fmt.Sprintf("Profile.WriteTo idle %d", n), withIdle(n, benchWriteTo)) b.Run(fmt.Sprintf("Profile.WriteTo churn %d", n), withIdle(n, withChurn(benchWriteTo))) b.Run(fmt.Sprintf("runtime.GoroutineProfile churn %d", n), withIdle(n, withChurn(benchGoroutineProfile))) } } var emptyCallStackTestRun int64 // Issue 18836.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0)