Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 108 for Sizes (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/tagptr_64bit.go

    package runtime
    
    import (
    	"internal/goarch"
    	"internal/goos"
    	"unsafe"
    )
    
    const (
    	// addrBits is the number of bits needed to represent a virtual address.
    	//
    	// See heapAddrBits for a table of address space sizes on
    	// various architectures. 48 bits is enough for all
    	// architectures except s390x.
    	//
    	// On AMD64, virtual addresses are 48-bit (or 57-bit) numbers sign extended to 64.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:22:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

    import okio.Buffer
    
    /** An HTTP request that came into the mock web server. */
    @ExperimentalOkHttpApi
    class RecordedRequest(
      val requestLine: String,
      /** All headers. */
      val headers: Headers,
      /**
       * The sizes of the chunks of this request's body, or an empty list if the request's body
       * was empty or unchunked.
       */
      val chunkSizes: List<Int>,
      /** The total size of the body of this POST request (before truncation).*/
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

        "input-arg-shapes",
        llvm::cl::desc(
            "A string representation of input argument shapes for 'main' "
            "entry-point, separating tensors with ':', dimension with ',', and "
            "using '?' for unknown sizes. For example, 'input-arg-shapes=1,2::1,?' "
            "expresses argument shapes [1,2], [] and [1,?]"),
        llvm::cl::Optional, llvm::cl::init(""));
    
    // NOLINTNEXTLINE
    opt<std::string> exported_model_signatures(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top