Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 215 for isSelect (0.2 sec)

  1. src/internal/trace/testdata/testprog/stress.go

    	}
    	defer trace.Stop()
    
    	procs := runtime.GOMAXPROCS(10)
    	time.Sleep(50 * time.Millisecond) // test proc stop/start events
    
    	go func() {
    		runtime.LockOSThread()
    		for {
    			select {
    			case <-done:
    				return
    			default:
    				runtime.Gosched()
    			}
    		}
    	}()
    
    	runtime.GC()
    	// Trigger GC from malloc.
    	n := 512
    	for i := 0; i < n; i++ {
    		_ = make([]byte, 1<<20)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. pkg/kube/multicluster/cluster.go

    			return
    		}
    	}
    
    	c.initialSync.Store(true)
    }
    
    // Stop closes the stop channel, if is safe to be called multi times.
    func (c *Cluster) Stop() {
    	select {
    	case <-c.stop:
    		return
    	default:
    		close(c.stop)
    	}
    }
    
    func (c *Cluster) HasSynced() bool {
    	// It could happen when a wrong credential provide, this cluster has no chance to run.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/VariantResolvingArtifactSet.java

            this.graphVariantSelector = graphVariantSelector;
            this.consumerSchema = consumerSchema;
        }
    
        @Override
        public ResolvedArtifactSet select(
            ArtifactVariantSelector variantSelector,
            ArtifactSelectionSpec spec
        ) {
            if (!spec.getComponentFilter().isSatisfiedBy(componentId)) {
                return ResolvedArtifactSet.EMPTY;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	groups=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .groups[]')
    	if [ "$groups" != "cn=project.c,ou=groups,ou=swengg,dc=min,dc=io" ]; then
    		echo "Failed to verify groups: $groups"
    		exit 1
    	fi
    
    	users=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .users[]')
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/telemetry/selector.go

    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // SelectorAnalyzer validates, per namespace, that:
    // * telemetry resources that define a workload selector match at least one pod
    // * there aren't multiple telemetry resources that select overlapping pods
    type SelectorAnalyzer struct{}
    
    var _ analysis.Analyzer = &SelectorAnalyzer{}
    
    // Metadata implements Analyzer
    func (a *SelectorAnalyzer) Metadata() analysis.Metadata {
    	return analysis.Metadata{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. test/stress/runstress.go

    	for {
    		gate <- true
    		go func() {
    			doAnExec()
    			<-gate
    		}()
    	}
    }
    
    func ringf(in <-chan int, out chan<- int, donec chan bool) {
    	for {
    		var n int
    		select {
    		case <-donec:
    			return
    		case n = <-in:
    		}
    		if n == 0 {
    			close(donec)
    			return
    		}
    		out <- n - 1
    	}
    }
    
    func threadRing(bufsize int) {
    	const N = 100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/LocalComponentDependencyMetadata.java

            AttributesSchemaInternal consumerSchema,
            Collection<? extends Capability> explicitRequestedCapabilities
        ) {
            // If a specific variant is requested by name, select it.
            if (dependencyConfiguration != null) {
                VariantGraphResolveState selected = variantSelector.selectVariantByConfigurationName(dependencyConfiguration, consumerAttributes, targetComponentState, consumerSchema);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/sidecar/selector.go

    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // SelectorAnalyzer validates, per namespace, that:
    // * sidecar resources that define a workload selector match at least one pod
    // * there aren't multiple sidecar resources that select overlapping pods
    type SelectorAnalyzer struct{}
    
    var _ analysis.Analyzer = &SelectorAnalyzer{}
    
    // Metadata implements Analyzer
    func (a *SelectorAnalyzer) Metadata() analysis.Metadata {
    	return analysis.Metadata{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ShortCircuitEmptyConfigurationResolverSpec.groovy

            when:
            def results = dependencyResolver.resolveBuildDependencies(resolveContext)
    
            then:
            def visitedArtifacts = results.visitedArtifacts
            def artifactSet = visitedArtifacts.select(Mock(ArtifactSelectionSpec))
            artifactSet.visitDependencies(depVisitor)
            artifactSet.visitArtifacts(artifactVisitor, true)
    
            and:
            0 * depVisitor._
            0 * artifactVisitor._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/internal/trace/reader.go

    	// (5) Try to advance the next event for the M at the top of the min-heap.
    	//   (a) On success, select that M.
    	//   (b) On failure, sort the min-heap and try to advance other Ms. Select the first M that advances.
    	//   (c) If there's nothing left to advance, goto (1).
    	// (6) Select the latest event for the selected M and get it ready to be returned.
    	// (7) Read the next event for the selected M and update the min-heap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top