Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 273 for Sizes (0.04 sec)

  1. src/bytes/bytes_test.go

    		buf2[n-1] = '\x00'
    	}
    }
    
    func BenchmarkEqualBothUnaligned(b *testing.B) {
    	sizes := []int{64, 4 << 10}
    	if !isRaceBuilder {
    		sizes = append(sizes, []int{4 << 20, 64 << 20}...)
    	}
    	maxSize := 2 * (sizes[len(sizes)-1] + 8)
    	if len(bmbuf) < maxSize {
    		bmbuf = make([]byte, maxSize)
    	}
    
    	for _, n := range sizes {
    		for _, off := range []int{0, 1, 4, 7} {
    			buf1 := bmbuf[off : off+n]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/doc.go

    //
    // "v3.channel.k8s.io"
    //
    // The third version of the Websocket RemoteCommand subprotocol adds another channel
    // for terminal resizing events. This channel is prepended with the byte '3', and it
    // transmits two window sizes (encoding TerminalSize struct) with integers in the range
    // (0,65536].
    //
    // "v4.channel.k8s.io"
    //
    // The fourth version of the Websocket RemoteCommand subprotocol adds a channel for
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 18:37:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * {@link
     * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}),
     * this annotation specifies each of the different sizes for which a test suite should be built. (In
     * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus
     * a little different from those of other Collection-related features such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * {@link
     * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}),
     * this annotation specifies each of the different sizes for which a test suite should be built. (In
     * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus
     * a little different from those of other Collection-related features such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/go/types/builtins.go

    			return
    		}
    
    		types := []Type{T}
    		var sizes []int64 // constant integer arguments, if any
    		for _, arg := range argList[1:] {
    			typ, size := check.index(arg, -1) // ok to continue with typ == Typ[Invalid]
    			types = append(types, typ)
    			if size >= 0 {
    				sizes = append(sizes, size)
    			}
    		}
    		if len(sizes) == 2 && sizes[0] > sizes[1] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/encoding/gob/decoder.go

    // license that can be found in the LICENSE file.
    
    package gob
    
    import (
    	"bufio"
    	"errors"
    	"internal/saferio"
    	"io"
    	"reflect"
    	"sync"
    )
    
    // tooBig provides a sanity check for sizes; used in several places. Upper limit
    // of is 1GB on 32-bit systems, 8GB on 64-bit, allowing room to grow a little
    // without overflow.
    const tooBig = (1 << 30) << (^uint(0) >> 62)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/cycles5a.go

    type T13 /* ERROR "invalid recursive type T13" */ [len(b13)]int
    var b13 T13
    
    func g1() [unsafe.Sizeof(g1)]int
    func g2() [unsafe.Sizeof(x2)]int
    var x2 = g2
    
    // verify that we get the correct sizes for the functions above
    // (note: assert is statically evaluated in go/types test mode)
    func init() {
    	assert(unsafe.Sizeof(g1) == 8)
    	assert(unsafe.Sizeof(x2) == 8)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/builtins.go

    			return
    		}
    
    		types := []Type{T}
    		var sizes []int64 // constant integer arguments, if any
    		for _, arg := range argList[1:] {
    			typ, size := check.index(arg, -1) // ok to continue with typ == Typ[Invalid]
    			types = append(types, typ)
    			if size >= 0 {
    				sizes = append(sizes, size)
    			}
    		}
    		if len(sizes) == 2 && sizes[0] > sizes[1] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(getDefault()) {
            @Throws(SocketException::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/reflect/benchmark_test.go

    	}
    	sizes := [...]struct {
    		fv  Value
    		arg Value
    	}{
    		{ValueOf(func(a [128]byte) {}), byteArray(128)},
    		{ValueOf(func(a [256]byte) {}), byteArray(256)},
    		{ValueOf(func(a [1024]byte) {}), byteArray(1024)},
    		{ValueOf(func(a [4096]byte) {}), byteArray(4096)},
    		{ValueOf(func(a [65536]byte) {}), byteArray(65536)},
    	}
    	for _, size := range sizes {
    		bench := func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 19 17:09:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top