Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 175 for BarTest (0.23 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/net/http/cookiejar/jar_test.go

    type query struct {
    	toURL string // the URL in the Cookies call
    	want  string // the expected list of cookies (order matters)
    }
    
    // run runs the jarTest.
    func (test jarTest) run(t *testing.T, jar *Jar) {
    	now := tNow
    
    	// Populate jar with cookies.
    	setCookies := make([]*http.Cookie, len(test.setCookies))
    	for i, cs := range test.setCookies {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K 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. 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)
  7. 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)
  8. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

    }
    
    /**
     * Returns a duration in the nearest whole-number units like "999 µs" or "  1 s ". This rounds 0.5
     * units away from 0 and 0.499 towards 0. The smallest unit this returns is "µs"; the largest unit
     * it returns is "s". For values in [-499..499] this returns "  0 µs".
     *
     * The returned string attempts to be column-aligned to 6 characters. For negative and large values
     * the returned string may be longer.
     */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top