Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for mib (0.03 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
    	var _p0 unsafe.Pointer
    	if len(mib) > 0 {
    		_p0 = unsafe.Pointer(&mib[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Response.kt

       *
       * It is an error to call this method after the body has been consumed.
       *
       * **Warning:** this method loads the requested bytes into memory. Most applications should set
       * a modest limit on `byteCount`, such as 1 MiB.
       */
      @Throws(IOException::class)
      fun peekBody(byteCount: Long): ResponseBody {
        val peeked = body.source().peek()
        val buffer = Buffer()
        peeked.request(byteCount)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. cluster/gce/gci/configure-kubeapiserver.sh

          params+=" --audit-log-maxbackup=0"
          # Lumberjack doesn't offer any way to disable size-based rotation. It also
          # has an in-memory counter that doesn't notice if you truncate the file.
          # 2000000000 (in MiB) is a large number that fits in 31 bits. If the log
          # grows at 10MiB/s (~30K QPS), it will rotate after ~6 years if apiserver
          # never restarts. Please manually restart apiserver before this time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      fun responseBodyFailHttp() {
        responseBodyFail(Protocol.HTTP_1_1)
      }
    
      private fun responseBodyFail(expectedProtocol: Protocol?) {
        // Use a 2 MiB body so the disconnect won't happen until the client has read some data.
        val responseBodySize = 2 * 1024 * 1024 // 2 MiB
        server.enqueue(
          MockResponse.Builder()
            .body(Buffer().write(ByteArray(responseBodySize)))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  5. src/internal/trace/internal/oldtrace/parser.go

    	if size == 0 {
    		return nil
    	}
    
    	// Stacks are plentiful but small. For our "Staticcheck on std" trace with
    	// 11e6 events, we have roughly 500,000 stacks, using 200 MiB of memory. To
    	// avoid making 500,000 small allocations we allocate backing arrays 1 MiB
    	// at a time.
    	out := p.stacksData
    	if uint64(len(out)) < size {
    		out = make([]uint64, 1024*128)
    	}
    	p.stacksData = out[size:]
    	return out[:size:size]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

         * the web socket! It's possible that we're writing faster than the peer can read.
         */
        private const val MAX_QUEUE_SIZE = 16L * 1024 * 1024 // 16 MiB.
    
        /**
         * The maximum amount of time after the client calls [close] to wait for a graceful shutdown. If
         * the server doesn't respond the web socket will be canceled.
         */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. src/runtime/string.go

    //
    // s must match the following regular expression:
    //
    //	^[0-9]+(([KMGT]i)?B)?$
    //
    // In other words, an integer byte count with an optional unit
    // suffix. Acceptable suffixes include one of
    // - KiB, MiB, GiB, TiB which represent binary IEC/ISO 80000 units, or
    // - B, which just represents bytes.
    //
    // Returns an int64 because that's what its callers want and receive,
    // but the result is always non-negative.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .build()
        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .throttleBody(1, 1, TimeUnit.SECONDS)
            .build(),
        )
        val data = ByteArray(2 * 1024 * 1024) // 2 MiB.
        val request1 =
          Request.Builder()
            .url(server.url("/"))
            .post(data.toRequestBody("text/plain".toMediaType()))
            .build()
        val call = client.newCall(request1)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    	zstdType   CompressionType = "ZSTD"
    	lz4Type    CompressionType = "LZ4"
    	s2Type     CompressionType = "S2"
    	snappyType CompressionType = "SNAPPY"
    )
    
    const (
    	maxRecordSize = 1 << 20 // 1 MiB
    )
    
    var parquetSupport bool
    
    func init() {
    	parquetSupport = env.Get("MINIO_API_SELECT_PARQUET", config.EnableOff) == config.EnableOn
    }
    
    var bufPool = sync.Pool{
    	New: func() interface{} {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          if (!success) break
          messageCount++
          val queueSize = webSocket.queueSize()
          assertThat(queueSize).isBetween(0L, messageCount * message.size)
          // Expect to fail before enqueueing 32 MiB.
          assertThat(messageCount).isLessThan(32L)
        }
    
        // Confirm all sent messages were received, followed by a client-initiated close.
        val server = serverListener.assertOpen()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top