Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 75 for conservative (0.14 sec)

  1. src/go/types/decl.go

    	var mset objset
    
    	// spec: "If the base type is a struct type, the non-blank method
    	// and field names must be distinct."
    	base := asNamed(obj.typ) // shouldn't fail but be conservative
    	if base != nil {
    		assert(base.TypeArgs().Len() == 0) // collectMethods should not be called on an instantiated type
    
    		// See go.dev/issue/52529: we must delay the expansion of underlying here, as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/decl.go

    	var mset objset
    
    	// spec: "If the base type is a struct type, the non-blank method
    	// and field names must be distinct."
    	base := asNamed(obj.typ) // shouldn't fail but be conservative
    	if base != nil {
    		assert(base.TypeArgs().Len() == 0) // collectMethods should not be called on an instantiated type
    
    		// See go.dev/issue/52529: we must delay the expansion of underlying here, as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. src/runtime/asm_s390x.s

    	// Stores are already ordered on s390x, so this is just a
    	// compile barrier.
    	RET
    
    // This is called from .init_array and follows the platform, not Go, ABI.
    // We are overly conservative. We could only save the registers we use.
    // However, since this function is only called once per loaded module
    // performance is unimportant.
    TEXT runtime·addmoduledata(SB),NOSPLIT|NOFRAME,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. src/go/types/unify.go

    					// the more general interface. But if one of them is a defined
    					// type, it's not clear how to choose and whether we introduce
    					// an order dependency or not. Requiring the same method set
    					// is conservative.
    					if len(xi.typeSet().methods) != len(yi.typeSet().methods) {
    						return false
    					}
    				} else if xi != nil || yi != nil {
    					// One but not both of them are interfaces.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/unify.go

    					// the more general interface. But if one of them is a defined
    					// type, it's not clear how to choose and whether we introduce
    					// an order dependency or not. Requiring the same method set
    					// is conservative.
    					if len(xi.typeSet().methods) != len(yi.typeSet().methods) {
    						return false
    					}
    				} else if xi != nil || yi != nil {
    					// One but not both of them are interfaces.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    		//  3. GC occurs within F itself.  This has to be from preemption, and thus GC is conservative.
    		//     a. X is in a register -- then X is seen, and the spill slot is also scanned conservatively.
    		//     b. X is spilled -- the spill slot is initialized, and scanned conservatively
    		//     c. X is not live -- the spill slot is scanned conservatively, and it may contain X from an earlier spill.
    		//  4. GC within G, transitively called from F
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/math/big/nat.go

    func karatsuba(z, x, y nat) {
    	n := len(y)
    
    	// Switch to basic multiplication if numbers are odd or small.
    	// (n is always even if karatsubaThreshold is even, but be
    	// conservative)
    	if n&1 != 0 || n < karatsubaThreshold || n < 2 {
    		basicMul(z, x, y)
    		return
    	}
    	// n&1 == 0 && n >= karatsubaThreshold && n >= 2
    
    	// Karatsuba multiplication is based on the observation that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. src/go/printer/printer.go

    			p.commentOffset = p.posFor(list[0].Pos()).Offset
    			p.commentNewline = p.commentsHaveNewline(list)
    			return
    		}
    		// we should not reach here (correct ASTs don't have empty
    		// ast.CommentGroup nodes), but be conservative and try again
    	}
    	// no more comments
    	p.commentOffset = infinity
    }
    
    // commentBefore reports whether the current comment group occurs
    // before the next position in the source code and printing it does
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  9. src/runtime/stack.go

    	// is about to try to preempt gp. Read it just once and use that same
    	// value now and below.
    	stackguard0 := atomic.Loaduintptr(&gp.stackguard0)
    
    	// Be conservative about where we preempt.
    	// We are interested in preempting user Go code, not runtime code.
    	// If we're holding locks, mallocing, or preemption is disabled, don't
    	// preempt.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

          // only self-dependent conservatively, i.e., we do add dependencies
          // to/from unknown resource types. Currently, we don't have such cases and
          // there is no indication that we will need to support them in the future.
          LOG(WARNING) << "Self-dependent-only resource types are treated "
                          "conservatively for value-based side effects.";
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top