Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 382 for Sizes (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/serviceaccount/openidmetadata.go

    	switch pk := publicKey.(type) {
    	case *rsa.PublicKey:
    		// IMPORTANT: If this function is updated to support additional key sizes,
    		// signerFromRSAPrivateKey in serviceaccount/jwt.go must also be
    		// updated to support the same key sizes. Today we only support RS256.
    		return jose.RS256, nil
    	case *ecdsa.PublicKey:
    		switch pk.Curve {
    		case elliptic.P256():
    			return jose.ES256, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 12 00:23:31 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  6. docs/distributed/DESIGN.md

    of drives available, let's say for example if there are 32 servers and 32 drives which is a total of 1024 drives. In this scenario 16 becomes the erasure set size. This is decided based on the greatest common divisor (GCD) of acceptable erasure set sizes ranging from *4 to 16*.
    
    - *If total drives has many common divisors the algorithm chooses the minimum amounts of erasure sets possible for a erasure set size of any N*.  In the example with 1024 drives - 4, 8, 16 are GCD factors. With 16 drives...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. tensorflow/c/kernels/ops/bitcast.cc

      if (input_type_size == 0 || output_type_size == 0) {
        std::ostringstream err;
        err << "Cannot bitcast type " << input_type << " to " << output_type
            << " because one of the type sizes is zero";
        TF_SetStatus(status, TF_INVALID_ARGUMENT, err.str().c_str());
        return;
      }
    
      TF_SetStatus(status, TF_OK, "");
      if (input_type_size < output_type_size) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. cmd/routers.go

    	// prefix.
    	setBrowserRedirectMiddleware,
    	// Adds 'crossdomain.xml' policy middleware to serve legacy flash clients.
    	setCrossDomainPolicyMiddleware,
    	// Limits all body and header sizes to a maximum fixed limit
    	setRequestLimitMiddleware,
    	// Validate all the incoming requests.
    	setRequestValidityMiddleware,
    	// Add upload forwarding middleware for site replication
    	setUploadForwardingMiddleware,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/crypto/dsa/dsa.go

    func GenerateParameters(params *Parameters, rand io.Reader, sizes ParameterSizes) error {
    	// This function doesn't follow FIPS 186-3 exactly in that it doesn't
    	// use a verification seed to generate the primes. The verification
    	// seed doesn't appear to be exported or used by other code and
    	// omitting it makes the code cleaner.
    
    	var L, N int
    	switch sizes {
    	case L1024N160:
    		L = 1024
    		N = 160
    	case L2048N224:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. src/internal/fuzz/encoding_test.go

    			if got != want {
    				t.Errorf("unexpected marshaled value\ngot:\n%s\nwant:\n%s", got, want)
    			}
    		})
    	}
    }
    
    // BenchmarkMarshalCorpusFile measures the time it takes to serialize byte
    // slices of various sizes to a corpus file. The slice contains a repeating
    // sequence of bytes 0-255 to mix escaped and non-escaped characters.
    func BenchmarkMarshalCorpusFile(b *testing.B) {
    	buf := make([]byte, 1024*1024)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top