Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 702 for inexact (0.17 sec)

  1. src/vendor/golang.org/x/crypto/internal/alias/alias.go

    }
    
    // InexactOverlap reports whether x and y share memory at any non-corresponding
    // index. The memory beyond the slice length is ignored. Note that x and y can
    // have different lengths and still not have any inexact overlap.
    //
    // InexactOverlap can be used to implement the requirements of the crypto/cipher
    // AEAD, Block, BlockMode and Stream interfaces.
    func InexactOverlap(x, y []byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/internal/alias/alias_purego.go

    }
    
    // InexactOverlap reports whether x and y share memory at any non-corresponding
    // index. The memory beyond the slice length is ignored. Note that x and y can
    // have different lengths and still not have any inexact overlap.
    //
    // InexactOverlap can be used to implement the requirements of the crypto/cipher
    // AEAD, Block, BlockMode and Stream interfaces.
    func InexactOverlap(x, y []byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		// so node is the result.  Is it exact?
    
    		// (It's tempting to put this condition before the
    		// child loop, but it gives the wrong result in the
    		// case where a node (e.g. ExprStmt) and its sole
    		// child have equal intervals.)
    		if start == nodePos && end == nodeEnd {
    			return true // exact match
    		}
    
    		return false // inexact: overlaps multiple children
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/unify.go

    	// if there is an interface, the other type must implement the
    	// interface.
    	exact
    )
    
    func (m unifyMode) String() string {
    	switch m {
    	case 0:
    		return "inexact"
    	case assign:
    		return "assign"
    	case exact:
    		return "exact"
    	case assign | exact:
    		return "assign, exact"
    	}
    	return fmt.Sprintf("mode %d", m)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/go/types/unify.go

    	// if there is an interface, the other type must implement the
    	// interface.
    	exact
    )
    
    func (m unifyMode) String() string {
    	switch m {
    	case 0:
    		return "inexact"
    	case assign:
    		return "assign"
    	case exact:
    		return "exact"
    	case assign | exact:
    		return "assign, exact"
    	}
    	return fmt.Sprintf("mode %d", m)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. src/math/expm1.go

    //           to Qi*2**i, and replace z by (x**2)/2.
    //      (B). To achieve maximum accuracy, we compute expm1(x) by
    //        (i)   if x < -56*ln2, return -1.0, (raise inexact if x!=inf)
    //        (ii)  if k=0, return r-E
    //        (iii) if k=-1, return 0.5*(r-E)-0.5
    //        (iv)  if k=1 if r < -0.25, return 2*((r+0.5)- E)
    //                     else          return  1.0+2.0*(r-E);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. src/math/lgamma.go

    	if x < 0.25 {
    		return -Sin(Pi * x)
    	}
    
    	// argument reduction
    	z := Floor(x)
    	var n int
    	if z != x { // inexact
    		x = Mod(x, 2)
    		n = int(x * 4)
    	} else {
    		if x >= Two53 { // x must be even
    			x = 0
    			n = 0
    		} else {
    			if x < Two52 {
    				z = x + Two52 // exact
    			}
    			n = int(1 & Float64bits(z))
    			x = float64(n)
    			n <<= 2
    		}
    	}
    	switch n {
    	case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    func (q *Quantity) RoundUp(scale Scale) bool {
    	if q.d.Dec != nil {
    		q.s = ""
    		d, exact := q.d.AsScale(scale)
    		q.d = d
    		return exact
    	}
    	// avoid clearing the string value if we have already calculated it
    	if q.i.scale >= scale {
    		return true
    	}
    	q.s = ""
    	i, exact := q.i.AsScale(scale)
    	q.i = i
    	return exact
    }
    
    // Add adds the provide y quantity to the current value. If the current value is zero,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. src/math/big/float.go

    		if x.neg {
    			var z float64
    			return -z, Exact
    		}
    		return 0.0, Exact
    
    	case inf:
    		if x.neg {
    			return math.Inf(-1), Exact
    		}
    		return math.Inf(+1), Exact
    	}
    
    	panic("unreachable")
    }
    
    // Int returns the result of truncating x towards zero;
    // or nil if x is an infinity.
    // The result is [Exact] if x.IsInt(); otherwise it is [Below]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  10. src/net/http/server.go

    //
    // Before wildcards were introduced, it was clear that an exact match meant
    // that the pattern and path were the same string. The only other possibility
    // was that a trailing-slash pattern, like "/", matched a path longer than
    // it, like "/a".
    //
    // With wildcards, we define an inexact match as any one where a multi wildcard
    // matches a non-empty string. All other matches are exact.
    // For example, these are all exact matches:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top