- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,867 for Handles (0.25 sec)
-
subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy
when: def handle = registry.start("id", DeploymentRegistry.ChangeBehavior.NONE, ParametersDeploymentHandle, "parameter") then: assert handle == testHandle and: registry.get("id", ParametersDeploymentHandle) == testHandle } def "cannot register a duplicate deployment handle" () { def testHandle = new TestDeploymentHandle()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsConcurrencyIntegrationTest.groovy
} private void concurrentBuildSucceed(int projectCount, String... taskNames) { def handles = [] (1..projectCount).each { count -> handles << executer.inDirectory(file(createProjectName(count))).withTasks(taskNames).start() } handles.each { handle -> handle.waitForFinish() } } private void parallelBuildSucceeds(String... taskNames) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 4.9K bytes - Viewed (0) -
src/go/types/unify.go
if _, found := u.handles[x]; found { return x } } return nil } // setHandle sets the handle for type parameter x // (and all its joined type parameters) to h. func (u *unifier) setHandle(x *TypeParam, h *Type) { hx := u.handles[x] assert(hx != nil) for y, hy := range u.handles { if hy == hx { u.handles[y] = h } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go
self.sf = sf } func (self *WantExternalKubeInformerFactory) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error { return nil } func (self *WantExternalKubeInformerFactory) Handles(o admission.Operation) bool { return false } func (self *WantExternalKubeInformerFactory) ValidateInitialization() error { return nil } var _ admission.Interface = &WantExternalKubeInformerFactory{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 8.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
if _, found := u.handles[x]; found { return x } } return nil } // setHandle sets the handle for type parameter x // (and all its joined type parameters) to h. func (u *unifier) setHandle(x *TypeParam, h *Type) { hx := u.handles[x] assert(hx != nil) for y, hy := range u.handles { if hy == hx { u.handles[y] = h } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
pkg/queue/instance_test.go
} }) } func TestSync(t *testing.T) { handles := atomic.NewInt32(0) task := func() error { handles.Inc() return nil } q := NewQueue(0) q.Push(task) stop := make(chan struct{}) go q.Run(stop) retry.UntilOrFail(t, q.HasSynced, retry.Delay(time.Microsecond)) // Must always be 1 since we are synced assert.Equal(t, handles.Load(), 1) close(stop)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.td
include "mlir/Dialect/Arith/IR/ArithOps.td" include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td" include "tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td" // Only handles the case where precision config is default. def IsPrecisionEmpty : Constraint<CPred<"IsPrecisionEmpty($0)">>; // Creates Einsum Op from XlaDotV2 Op by generating equation. def CreateEinsumOpFromXlaDotV2Op : NativeCodeCall<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/kubelet/cadvisor/helpers_linux.go
// to its file system label for images. type imageFsInfoProvider struct { runtimeEndpoint string } // ImageFsInfoLabel returns the image fs label for the configured runtime. // For remote runtimes, it handles additional runtimes natively understood by cAdvisor. func (i *imageFsInfoProvider) ImageFsInfoLabel() (string, error) { if detectCrioWorkaround(i) { return cadvisorfs.LabelCrioImages, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:15:53 UTC 2024 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/deployment/internal/DefaultDeploymentRegistry.java
@Override public T call(BuildOperationContext context) { T handle = objectFactory.newInstance(handleType, params); RegisteredDeployment deployment = RegisteredDeployment.create(name, changeBehavior, continuousExecutionGate, handle); handle.start(deployment.getDeployment()); if (pendingChanges.hasRemainingChanges()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonStopEventsTest.groovy
def "uniqueRecentDaemonStopEvents() handles stop events with null status and reason"() { expect: DaemonStopEvents.uniqueRecentDaemonStopEvents([gracefulStop2, nullStop1, gracefulStop1]) == [gracefulStop2, gracefulStop1] DaemonStopEvents.uniqueRecentDaemonStopEvents([nullStop1, nullStop1]) == [nullStop1] } def "uniqueRecentDaemonStopEvents() handles empty lists"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.5K bytes - Viewed (0)