Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 116 for bounded (4.76 sec)

  1. src/cmd/compile/internal/types2/predicates.go

    // use anywhere, but it may report a false negative if the type set has not been
    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    	if tpar, _ := Unalias(t).(*TypeParam); tpar != nil && tpar.bound != nil {
    		iface, _ := safeUnderlying(tpar.bound).(*Interface)
    		return iface != nil && iface.tset != nil && iface.tset.IsEmpty()
    	}
    	return false
    }
    
    // isGeneric reports whether a type is a generic, uninstantiated type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/go/types/predicates.go

    // use anywhere, but it may report a false negative if the type set has not been
    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    	if tpar, _ := Unalias(t).(*TypeParam); tpar != nil && tpar.bound != nil {
    		iface, _ := safeUnderlying(tpar.bound).(*Interface)
    		return iface != nil && iface.tset != nil && iface.tset.IsEmpty()
    	}
    	return false
    }
    
    // isGeneric reports whether a type is a generic, uninstantiated type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/runtime/sema.go

    	// be read outside the lock, but is only written to with lock held.
    	//
    	// Both wait & notify can wrap around, and such cases will be correctly
    	// handled as long as their "unwrapped" difference is bounded by 2^31.
    	// For this not to be the case, we'd need to have 2^31+ goroutines
    	// blocked on the same condvar, which is currently not possible.
    	notify uint32
    
    	// List of parked waiters.
    	lock mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/go/types/check.go

    	// However, it is only processing functions (which
    	// are processed in a delayed fashion) that may
    	// add more actions (such as nested functions), so
    	// this is a sufficiently bounded process.
    	for i := top; i < len(check.delayed); i++ {
    		a := &check.delayed[i]
    		if check.conf._Trace {
    			if a.desc != nil {
    				check.trace(a.desc.pos.Pos(), "-- "+a.desc.format, a.desc.args...)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/text/template/parse/node.go

    	for _, c := range p.Cmds {
    		n.append(c.Copy().(*CommandNode))
    	}
    	return n
    }
    
    func (p *PipeNode) Copy() Node {
    	return p.CopyPipe()
    }
    
    // ActionNode holds an action (something bounded by delimiters).
    // Control actions have their own nodes; ActionNode represents simple
    // ones such as field evaluations and parenthesized pipelines.
    type ActionNode struct {
    	NodeType
    	Pos
    	tr   *Tree
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check.go

    	// However, it is only processing functions (which
    	// are processed in a delayed fashion) that may
    	// add more actions (such as nested functions), so
    	// this is a sufficiently bounded process.
    	for i := top; i < len(check.delayed); i++ {
    		a := &check.delayed[i]
    		if check.conf.Trace {
    			if a.desc != nil {
    				check.trace(a.desc.pos.Pos(), "-- "+a.desc.format, a.desc.args...)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * the queue exceeds that value, the queue automatically removes its greatest element according to
     * its comparator (which might be the element that was just added). This is different from
     * conventional bounded queues, which either block or reject new elements when full.
     *
     * <p>This implementation is based on the <a
     * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    	// because there will be a policy mapping stored on drives whose
    	// filename is this parentUser: therefore, it needs to have only valid
    	// filename characters and needs to have bounded length.
    	{
    		h := sha256.New()
    		h.Write([]byte("openid:" + subFromToken + ":" + issFromToken))
    		bs := h.Sum(nil)
    		cred.ParentUser = base64.RawURLEncoding.EncodeToString(bs)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * the queue exceeds that value, the queue automatically removes its greatest element according to
     * its comparator (which might be the element that was just added). This is different from
     * conventional bounded queues, which either block or reject new elements when full.
     *
     * <p>This implementation is based on the <a
     * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (1)
  10. src/cmd/compile/internal/walk/switch.go

    				newCases = append(newCases, &ir.CaseClause{
    					List: []ir.Node{ir.NewInt(base.Pos, int64(i))},
    					Body: []ir.Node{c.jmp},
    				})
    			}
    			// TODO: add len(newCases) case, mark switch as bounded
    			sw2 := ir.NewSwitchStmt(base.Pos, caseVar, newCases)
    			sw.Compiled.Append(typecheck.Stmt(sw2))
    			interfaceCases = interfaceCases[:0]
    		}
    
    		if anyGoto != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top