Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,930 for need (0.05 sec)

  1. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go

    	} else {
    		need = subTreeIndex(lo, lo+k, need)
    		need = leafProofIndex(lo+k, hi, n, need)
    	}
    	return need
    }
    
    // leafProof constructs the proof that leaf n is contained in the subtree with leaves [lo, hi).
    // It returns any leftover hashes as well.
    // See https://tools.ietf.org/html/rfc6962#section-2.1.1
    func leafProof(lo, hi, n int64, hashes []Hash) (RecordProof, []Hash) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/cross_project_publications.adoc

    For compilation, we need the API dependencies of `B`, provided by the `apiElements` variant.
    For runtime, we need the runtime dependencies of `B`, provided by the `runtimeElements` variant.
    
    However, what if you need a _different_ artifact than the main one?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. test/escape_reflect.go

    	return v.Convert(stringTyp).String()
    }
    
    // Unfortunate: v doesn't need to leak, x (the interface storage) doesn't need to escape.
    func set1(v reflect.Value, x int) { // ERROR "leaking param: v$"
    	vx := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	v.Set(vx)
    }
    
    // Unfortunate: a can be stack allocated, x (the interface storage) doesn't need to escape.
    func set2(x int) int64 {
    	var a int // ERROR "moved to heap: a"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/abi.go

    		forEachWrapperABI(fn, makeABIWrapper)
    	}
    }
    
    func forEachWrapperABI(fn *ir.Func, cb func(fn *ir.Func, wrapperABI obj.ABI)) {
    	need := fn.ABIRefs &^ obj.ABISetOf(fn.ABI)
    	if need == 0 {
    		return
    	}
    
    	for wrapperABI := obj.ABI(0); wrapperABI < obj.ABICount; wrapperABI++ {
    		if !need.Get(wrapperABI) {
    			continue
    		}
    		cb(fn, wrapperABI)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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. android/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)
  10. docs/en/docs/how-to/sql-databases-peewee.md

    If you are developing an application with an older non-async framework, and can work with all its defaults, **it can be a great tool**.
    
    But if you need to change some of the defaults, support more than one predefined database, work with an async framework (like FastAPI), etc, you will need to add quite some complex extra code to override those defaults.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top