Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for BarTest (0.14 sec)

  1. src/hash/adler32/adler32.go

    //	significant-byte first (network) order.
    package adler32
    
    import (
    	"errors"
    	"hash"
    	"internal/byteorder"
    )
    
    const (
    	// mod is the largest prime that is less than 65536.
    	mod = 65521
    	// nmax is the largest n such that
    	// 255 * n * (n+1) / 2 + (n+1) * (mod-1) <= 2^32-1.
    	// It is mentioned in RFC 1950 (search for "5552").
    	nmax = 5552
    )
    
    // The size of an Adler-32 checksum in bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/internal/poll/sendfile_linux.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package poll
    
    import "syscall"
    
    // maxSendfileSize is the largest chunk size we ask the kernel to copy
    // at a time.
    const maxSendfileSize int = 4 << 20
    
    // SendFile wraps the sendfile system call.
    func SendFile(dstFD *FD, src int, remain int64) (written int64, err error, handled bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/internal/poll/sendfile_bsd.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd
    
    package poll
    
    import "syscall"
    
    // maxSendfileSize is the largest chunk size we ask the kernel to copy
    // at a time.
    const maxSendfileSize int = 4 << 20
    
    // SendFile wraps the sendfile system call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/internal/poll/sendfile_solaris.go

    import "syscall"
    
    // Not strictly needed, but very helpful for debugging, see issue #10221.
    //
    //go:cgo_import_dynamic _ _ "libsendfile.so"
    //go:cgo_import_dynamic _ _ "libsocket.so"
    
    // maxSendfileSize is the largest chunk size we ask the kernel to copy
    // at a time.
    const maxSendfileSize int = 4 << 20
    
    // SendFile wraps the sendfile system call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/limits.go

    limitations under the License.
    */
    
    package cel
    
    import celconfig "k8s.io/apiserver/pkg/apis/cel"
    
    const (
    	// DefaultMaxRequestSizeBytes is the size of the largest request that will be accepted
    	DefaultMaxRequestSizeBytes = celconfig.MaxRequestSizeBytes
    
    	// MaxDurationSizeJSON
    	// OpenAPI duration strings follow RFC 3339, section 5.6 - see the comment on maxDatetimeSizeJSON
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/cmd/nm/nm.go

          for compatibility with other nm commands
      -size
          print symbol size in decimal between address and type
      -sort {address,name,none,size}
          sort output in the given order (default name)
          size orders from largest to smallest
      -type
          print symbol type after name
    `
    
    func usage() {
    	fmt.Fprint(os.Stderr, helpText)
    	os.Exit(2)
    }
    
    var (
    	sortOrder = flag.String("sort", "name", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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/cmd/compile/internal/syntax/pos.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syntax
    
    import "fmt"
    
    // PosMax is the largest line or column value that can be represented without loss.
    // Incoming values (arguments) larger than PosMax will be set to PosMax.
    //
    // Keep this consistent with maxLineCol in go/scanner.
    const PosMax = 1 << 30
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top