Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,737 for run1 (0.04 sec)

  1. src/cmd/go/internal/par/work.go

    // The items in the set must all be valid map keys.
    type Work[T comparable] struct {
    	f       func(T) // function to run for each item
    	running int     // total number of runners
    
    	mu      sync.Mutex
    	added   map[T]bool // items added to set
    	todo    []T        // items yet to be run
    	wait    sync.Cond  // wait when todo is empty
    	waiting int        // number of runners waiting for todo
    }
    
    func (w *Work[T]) init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

      }
    
      /**
       * Creates an executor service that runs each task in the thread that invokes {@code
       * execute/submit}, as in {@code ThreadPoolExecutor.CallerRunsPolicy}. This applies both to
       * individually submitted tasks and to collections of tasks submitted via {@code invokeAll} or
       * {@code invokeAny}. In the latter case, tasks will run serially on the calling thread. Tasks are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  3. src/go/types/object_test.go

    		{NewTypeName(nopos, pkg, "int32", Typ[Int32]), true},              // type name is declared in user-defined package (outside Universe)
    		{NewTypeName(nopos, nil, "rune", Typ[Rune]), true},                // type name refers to basic type rune which is an alias already
    		{t5, false}, // type name refers to type parameter and vice versa
    	} {
    		check(test.name, test.alias)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/object_test.go

    		{NewTypeName(nopos, pkg, "int32", Typ[Int32]), true},              // type name is declared in user-defined package (outside Universe)
    		{NewTypeName(nopos, nil, "rune", Typ[Rune]), true},                // type name refers to basic type rune which is an alias already
    		{t5, false}, // type name refers to type parameter and vice versa
    	} {
    		check(test.name, test.alias)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/inline.go

    		// it is part of a left-flanking delimiter run and either
    		// (a) not part of a right-flanking delimiter run or
    		// (b) part of a right-flanking delimiter run preceded by a Unicode punctuation character.”
    
    		// “A double __ can open strong emphasis iff
    		// it is part of a left-flanking delimiter run and either
    		// (a) not part of a right-flanking delimiter run or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy

                    dependsOn a
                    doFirst {
                        ${server.callFromBuild("run_:b")}
                    }
                }
            """
    
            server.expectConcurrent("run_:b", "handle1_:a", "handle2_:a")
            server.expectConcurrent("handle1_:b", "handle2_:b")
    
            when:
            run("b")
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy

        def setup() {
            settingsFile << """
                rootProject.name = 'root'
            """
        }
    
        def "runs lifecycle callbacks only on reconfigured projects"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/internal/runtime/exithook/hooks.go

    	_ "unsafe" // for linkname
    )
    
    // A Hook is a function to be run at program termination
    // (when someone invokes os.Exit, or when main.main returns).
    // Hooks are run in reverse order of registration:
    // the first hook added is the last one run.
    type Hook struct {
    	F            func() // func to run
    	RunOnFailure bool   // whether to run on non-zero exit code
    }
    
    var (
    	locked  atomic.Int32
    	runGoid atomic.Uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/net/rpc/debug.go

    func (m methodArray) Less(i, j int) bool { return m[i].Name < m[j].Name }
    func (m methodArray) Swap(i, j int)      { m[i], m[j] = m[j], m[i] }
    
    type debugHTTP struct {
    	*Server
    }
    
    // Runs at /debug/rpc
    func (server debugHTTP) ServeHTTP(w http.ResponseWriter, req *http.Request) {
    	// Build a sorted version of the data.
    	var services serviceArray
    	server.serviceMap.Range(func(snamei, svci any) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. pkg/controller/bootstrap/tokencleaner.go

    				UpdateFunc: func(oldSecret, newSecret interface{}) { e.enqueueSecrets(newSecret) },
    			},
    		},
    		options.SecretResync,
    	)
    
    	return e, nil
    }
    
    // Run runs controller loops and returns when they are done
    func (tc *TokenCleaner) Run(ctx context.Context) {
    	defer utilruntime.HandleCrash()
    	defer tc.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting token cleaner controller")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top