Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,463 for Invokes (0.24 sec)

  1. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Uninterruptibles {
    
      // Implementation Note: As of 3-7-11, the logic for each blocking/timeout
      // methods is identical, save for method being invoked.
    
      /** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Uninterruptibles {
    
      // Implementation Note: As of 3-7-11, the logic for each blocking/timeout
      // methods is identical, save for method being invoked.
    
      /** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    func (c *FakeCustomResourceDefinitions) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CustomResourceDefinition, err error) {
    	emptyResult := &v1.CustomResourceDefinition{}
    	obj, err := c.Fake.
    		Invokes(testing.NewRootGetAction(customresourcedefinitionsResource, name), emptyResult)
    	if obj == nil {
    		return emptyResult, err
    	}
    	return obj.(*v1.CustomResourceDefinition), err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/fake/fake_customresourcedefinition.go

    func (c *FakeCustomResourceDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.CustomResourceDefinition, err error) {
    	emptyResult := &v1beta1.CustomResourceDefinition{}
    	obj, err := c.Fake.
    		Invokes(testing.NewRootGetAction(customresourcedefinitionsResource, name), emptyResult)
    	if obj == nil {
    		return emptyResult, err
    	}
    	return obj.(*v1beta1.CustomResourceDefinition), err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go

    	_, err := c.Fake.Invokes(action, &v1.ExampleList{})
    	return err
    }
    
    // Patch applies the patch and returns the patched example.
    func (c *FakeExamples) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Example, err error) {
    	emptyResult := &v1.Example{}
    	obj, err := c.Fake.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/internal/runtime/exithook/hooks.go

    //
    // If an exit hook panics, Run will throw with the panic on the stack.
    // If an exit hook invokes exit in the same goroutine, the goroutine will throw.
    // If an exit hook invokes exit in another goroutine, that exit will block.
    func Run(code int) {
    	for !locked.CompareAndSwap(0, 1) {
    		if Goid() == runGoid.Load() {
    			Throw("exit hook invoked exit")
    		}
    		Gosched()
    	}
    	defer locked.Store(0)
    	runGoid.Store(Goid())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt

        fun hasProperty(name: String): Boolean
    
        /**
         * Invokes with Groovy semantics and [arguments].
         */
        operator fun String.invoke(vararg arguments: Any?): Any?
    
        /**
         * Invokes with Groovy semantics and no arguments.
         */
        operator fun String.invoke(): Any? =
            invoke(*emptyArray<Any>())
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/FailFastTestListenerInternalTest.groovy

        def setup() {
            unit = new FailFastTestListenerInternal(testExecuter, delegate)
        }
    
        def "started invokes delegate"() {
            when:
            unit.started(testDescriptor, startEvent)
    
            then:
            1 * delegate.started(testDescriptor, startEvent)
        }
    
        def "output invokes delegate"() {
            when:
            unit.output(testDescriptor, event)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. src/sync/oncefunc.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package sync
    
    // OnceFunc returns a function that invokes f only once. The returned function
    // may be called concurrently.
    //
    // If f panics, the returned function will panic with the same value on every call.
    func OnceFunc(f func()) func() {
    	var (
    		once  Once
    		valid bool
    		p     any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingBuildActionRunnerTest.groovy

        def runner1 = Mock(BuildActionRunner)
        def runner2 = Mock(BuildActionRunner)
        def runner3 = Mock(BuildActionRunner)
        def runner = new ChainingBuildActionRunner([runner1, runner2, runner3])
    
        def "invokes runners until a result is produced"() {
            def action = Stub(BuildAction)
            def controller = Mock(BuildTreeLifecycleController)
    
            when:
            runner.run(action, controller)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top