Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,014 for Handles (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/translatinghandler.go

    )
    
    // translatingHandler wraps the delegate handler, implementing the
    // http.Handler interface. The delegate handles all requests unless
    // the request satisfies the passed "shouldTranslate" function
    // (currently only for WebSocket/V5 request), in which case the translator
    // handles the request.
    type translatingHandler struct {
    	delegate        http.Handler
    	translator      http.Handler
    	shouldTranslate func(*http.Request) bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinStdlibFileInterceptors.java

    import static org.gradle.internal.classpath.MethodHandleUtils.lazyKotlinStaticDefaultHandle;
    import static org.gradle.internal.classpath.declarations.Handles.FOR_EACH_LINE_DEFAULT;
    import static org.gradle.internal.classpath.declarations.Handles.READ_LINES_DEFAULT;
    import static org.gradle.internal.classpath.declarations.Handles.USE_LINES_DEFAULT;
    
    @SuppressWarnings("NewMethodNamingConvention")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/testdata/script/generate.txt

    [short] skip
    
    # Install an echo command because Windows doesn't have it.
    env GOBIN=$WORK/tmp/bin
    go install echo.go
    env PATH=$GOBIN${:}$PATH
    
    # Test go generate handles a simple command
    go generate ./generate/simple.go
    stdout 'Success'
    
    # Test go generate handles a command alias
    go generate './generate/alias.go'
    stdout 'Now is the time for all good men'
    
    # Test go generate's variable substitution
    go generate './generate/substitution.go'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 03:24:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. cmd/kubeadm/app/util/apiclient/init_dryrun.go

    	}
    }
    
    // HandleGetAction handles GET actions to the dryrun clientset this interface supports
    func (idr *InitDryRunGetter) HandleGetAction(action core.GetAction) (bool, runtime.Object, error) {
    	funcs := []func(core.GetAction) (bool, runtime.Object, error){
    		idr.handleKubernetesService,
    		idr.handleGetNode,
    		idr.handleSystemNodesClusterRoleBinding,
    	}
    	for _, f := range funcs {
    		handled, obj, err := f(action)
    		if handled {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/admission.go

    var _ admission.ValidationInterface = &managedFieldsValidatingAdmissionController{}
    
    // Handles calls the wrapped admission.Interface if applicable
    func (admit *managedFieldsValidatingAdmissionController) Handles(operation admission.Operation) bool {
    	return admit.wrap.Handles(operation)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

        $handles: A list of handles returned by mlrt.async ops.
      }];
    
      let arguments = (ins
        Variadic<MlrtAsyncHandleType>:$handles
      );
    
      let assemblyFormat = "operands attr-dict `:` type($handles)";
    }
    
    def AwaitControlOp: Mlrt_Op<"await_control", []> {
      let summary = "Await a signal from a future";
    
      let description = [{
        Await a signal, instead of a value, from a future.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. 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)
Back to top