Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 173 for BarTest (0.16 sec)

  1. src/strconv/atoc.go

    // and include err.Num = s.
    //
    // If s is not syntactically well-formed, ParseComplex returns err.Err = ErrSyntax.
    //
    // If s is syntactically well-formed but either component is more than 1/2 ULP
    // away from the largest floating point number of the given component's size,
    // ParseComplex returns err.Err = ErrRange and c = ±Inf for the respective component.
    func ParseComplex(s string, bitSize int) (complex128, error) {
    	size := 64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    // It is not guaranteed to return the largest such n.
    func (f Form) QuickSpan(b []byte) int {
    	n, _ := formTable[f].quickSpan(inputBytes(b), 0, len(b), true)
    	return n
    }
    
    // Span implements transform.SpanningTransformer. It returns a boundary n such
    // that b[0:n] == f(b[0:n]). It is not guaranteed to return the largest such n.
    func (f Form) Span(b []byte, atEOF bool) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/helper/helpers.go

    	return resource.ParseQuantity(pageSize)
    }
    
    // HugePageUnitSizeFromByteSize returns hugepage size has the format.
    // `size` must be guaranteed to divisible into the largest units that can be expressed.
    // <size><unit-prefix>B (1024 = "1KB", 1048576 = "1MB", etc).
    func HugePageUnitSizeFromByteSize(size int64) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/metrics/metrics.go

    		// the lowest bucket was based around the 180ns/op figure for BenchmarkAccess,
    		// plus some additional leeway to account for the apiserver doing other things
    		// the largest bucket was chosen based on the fact that benchmarks indicate the
    		// same Xeon running a CEL expression close to the estimated cost limit takes
    		// around 760ms, so that bucket should only ever have the slowest CEL expressions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/runtime/defs_freebsd.go

    #include <sys/cpuset.h>
    #include <sys/param.h>
    #include <sys/vdso.h>
    */
    import "C"
    
    // Local consts.
    const (
    	_NBBY            = C.NBBY            // Number of bits in a byte.
    	_CTL_MAXNAME     = C.CTL_MAXNAME     // Largest number of components supported.
    	_CPU_LEVEL_WHICH = C.CPU_LEVEL_WHICH // Actual mask/id for which.
    	_CPU_WHICH_PID   = C.CPU_WHICH_PID   // Specifies a process id.
    )
    
    const (
    	EINTR     = C.EINTR
    	EFAULT    = C.EFAULT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/errors.go

    var tooLargeResourceVersionCauseMsg = "Too large resource version"
    
    // NewTooLargeResourceVersionError returns a timeout error with the given retrySeconds for a request for
    // a minimum resource version that is larger than the largest currently available resource version for a requested resource.
    func NewTooLargeResourceVersionError(minimumResourceVersion, currentRevision uint64, retrySeconds int) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:39:10 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. src/html/template/transition.go

    		k = i + 1
    	}
    }
    
    // tError is the context transition function for the error state.
    func tError(c context, s []byte) (context, int) {
    	return c, len(s)
    }
    
    // eatAttrName returns the largest j such that s[i:j] is an attribute name.
    // It returns an error if s[i:] does not look like it begins with an
    // attribute name, such as encountering a quote mark without a preceding
    // equals sign.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/go/types/gcsizes.go

    			//
    			// This logic is equivalent to the logic in
    			// cmd/compile/internal/types/size.go:calcStructOffset
    			return 8
    		}
    
    		// spec: "For a variable x of struct type: unsafe.Alignof(x)
    		// is the largest of the values unsafe.Alignof(x.f) for each
    		// field f of x, but at least 1."
    		max := int64(1)
    		for _, f := range t.fields {
    			if a := s.Alignof(f.typ); a > max {
    				max = a
    			}
    		}
    		return max
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. cmd/erasure-common.go

    					continue
    				}
    				quorum++
    				if toAdd.Modtime.After(gotFile.Modtime) || len(gotFile.Data) < len(toAdd.Data) {
    					// Pick latest, or largest to avoid possible truncated entries.
    					continue
    				}
    				toAdd = gotFile
    			}
    		}
    		if quorum < readQuorum {
    			toAdd.Exists = false
    			toAdd.Error = errErasureReadQuorum.Error()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/compress/flate/deflate.go

    	minMatchLength  = 4       // The smallest match length that the compressor actually emits
    	maxMatchLength  = 258     // The largest match length
    	baseMatchOffset = 1       // The smallest match offset
    	maxMatchOffset  = 1 << 15 // The largest match offset
    
    	// The maximum number of tokens we put into a single flate block, just to
    	// stop things from getting too large.
    	maxFlateBlockTokens = 1 << 14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top