Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 5,637 for need (0.12 sec)

  1. src/context/example_test.go

    			// We need to acquire cond.L here to be sure that the Broadcast
    			// below won't occur before the call to Wait, which would result
    			// in a missed signal (and deadlock).
    			cond.L.Lock()
    			defer cond.L.Unlock()
    
    			// If multiple goroutines are waiting on cond simultaneously,
    			// we need to make sure we wake up exactly this one.
    			// That means that we need to Broadcast to all of the goroutines,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:24:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. src/runtime/preempt.go

    			throw("invalid g status")
    
    		case _Gdead:
    			// Nothing to suspend.
    			//
    			// preemptStop may need to be cleared, but
    			// doing that here could race with goroutine
    			// reuse. Instead, goexit0 clears it.
    			return suspendGState{dead: true}
    
    		case _Gcopystack:
    			// The stack is being copied. We need to wait
    			// until this is done.
    
    		case _Gpreempted:
    			// We (or someone else) suspended the G. Claim
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/attributeMatching/kotlin/build.gradle.kts

    configurations {
        // A configuration meant for consumers that need the API of this component
        create("exposedApi") {
            // This configuration is an "outgoing" configuration, it's not meant to be resolved
            isCanBeResolved = false
            // As an outgoing configuration, explain that consumers may want to consume it
            assert(isCanBeConsumed)
        }
        // A configuration meant for consumers that need the implementation of this component
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    func (f *File) AddGodebug(key, value string) error {
    	need := true
    	for _, g := range f.Godebug {
    		if g.Key == key {
    			if need {
    				g.Value = value
    				f.Syntax.updateLine(g.Syntax, "godebug", key+"="+value)
    				need = false
    			} else {
    				g.Syntax.markRemoved()
    				*g = Godebug{}
    			}
    		}
    	}
    
    	if need {
    		f.addNewGodebug(key, value)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_util.c

    x_cgo_yield()
    {
    	/*
    	The libc function(s) we call here must form a no-op and include at least one
    	call that triggers TSAN to process pending asynchronous signals.
    
    	sleep(0) would be fine, but it's not portable C (so it would need more header
    	guards).
    	free(NULL) has a fast-path special case in TSAN, so it doesn't
    	trigger signal delivery.
    	free(malloc(0)) would work (triggering the interceptors in malloc), but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 18:49:38 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskRemovalIntegrationTest.groovy

        def "throws exception when removing a task with #description"() {
            given:
            buildFile << """
                task foo(type: Zip) {}
                ${code}
    
                // need at least one task to execute anything
                task dummy
            """
    
            when:
            fails ("dummy")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/critical.go

    func critical(f *Func) {
    	// maps from phi arg ID to the new block created for that argument
    	blocks := f.Cache.allocBlockSlice(f.NumValues())
    	defer f.Cache.freeBlockSlice(blocks)
    	// need to iterate over f.Blocks without range, as we might
    	// need to split critical edges on newly constructed blocks
    	for j := 0; j < len(f.Blocks); j++ {
    		b := f.Blocks[j]
    		if len(b.Preds) <= 1 {
    			continue
    		}
    
    		var phi *Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/plugin/noderesources.go

    	var driverResources []*resourceapi.ResourceModel
    	c.mutex.RLock()
    	if active, ok := c.activePlugins[driverName]; ok {
    		// No need for a deep copy, the entire slice gets replaced on writes.
    		driverResources = active.resources
    	}
    	c.mutex.RUnlock()
    
    	// Resources that are not yet stored in any slice need to be published.
    	// Here we track the indices of any resources that are already stored.
    	storedResourceIndices := sets.New[int]()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/configure-swagger-ui.md

    ]
    ```
    
    These are **JavaScript** objects, not strings, so you can't pass them from Python code directly.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AggregateFuture.java

          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
          // We need fail fast, so we have to keep track of which future failed so we can propagate
          // the exception immediately
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top