Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for BarTest (0.15 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/cmd/compile/internal/ssa/magic_test.go

    			}
    			m := umagic(n, int64(c)).m
    			s := umagic(n, int64(c)).s
    
    			C := new(big.Int).SetUint64(c)
    			M := new(big.Int).SetUint64(m)
    			M.Add(M, TwoN)
    
    			// Find largest multiple of c.
    			Mul := new(big.Int).Div(Max, C)
    			Mul.Mul(Mul, C)
    			mul := Mul.Uint64()
    
    			// Try some input values, mostly around multiples of c.
    			for _, x := range [...]uint64{0, 1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 22:02:07 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

        /** Sender's maximum number of concurrent streams. */
        const val MAX_CONCURRENT_STREAMS = 4
    
        /** HTTP/2: Size in bytes of the largest frame payload the sender will accept. */
        const val MAX_FRAME_SIZE = 5
    
        /** HTTP/2: Advisory only. Size in bytes of the largest header list the sender will accept. */
        const val MAX_HEADER_LIST_SIZE = 6
    
        /** Window size in bytes. */
        const val INITIAL_WINDOW_SIZE = 7
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/cel/config.go

    	MaxRequestSizeBytes = int64(3 * 1024 * 1024)
    
    	// MaxEvaluatedMessageExpressionSizeBytes represents the largest-allowable string generated
    	// by a messageExpression field
    	MaxEvaluatedMessageExpressionSizeBytes = 5 * 1024
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:28:26 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/cmd/nm/doc.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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. 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)
  9. src/strconv/itoa.go

    		}
    
    	} else if isPowerOfTwo(base) {
    		// Use shifts and masks instead of / and %.
    		// Base is a power of 2 and 2 <= base <= len(digits) where len(digits) is 36.
    		// The largest power of 2 below or equal to 36 is 32, which is 1 << 5;
    		// i.e., the largest possible shift count is 5. By &-ind that value with
    		// the constant 7 we tell the compiler that the shift count is always
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. test/fixedbugs/bug260.go

    // Copyright 2010 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
    
    // Test that structures pack densely, according to the alignment of the largest field.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"strconv"
    )
    
    type T1 struct {
    	x uint8
    }
    type T2 struct {
    	x uint16
    }
    type T4 struct {
    	x uint32
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 1.3K bytes
    - Viewed (0)
Back to top