Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for mib (0.02 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

      }
    
      @ParameterizedTest
      @ArgumentsSource(CancelModelParamProvider::class)
      fun cancelReadingResponseBody(mode: Pair<CancelMode, ConnectionType>) {
        setUp(mode)
        val responseBodySize = 8 * 1024 * 1024 // 8 MiB.
        server.enqueue(
          MockResponse.Builder()
            .body(
              Buffer()
                .write(ByteArray(responseBodySize)),
            )
            .throttleBody(64 * 1024, 125, MILLISECONDS) // 500 Kbps
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/runtime/os_openbsd_syscall2.go

    	if old != nil {
    		*old = r
    	}
    }
    
    func pipe2(flags int32) (r, w int32, errno int32)
    
    //go:noescape
    func setitimer(mode int32, new, old *itimerval)
    
    //go:noescape
    func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
    
    // mmap calls the mmap system call. It is implemented in assembly.
    // We only pass the lower 32 bits of file offset to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

          )
        interruptLater(500)
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
      @Test
      fun interruptReadingResponseBody() {
        val responseBodySize = 8 * 1024 * 1024 // 8 MiB.
        server.enqueue(
          MockResponse()
            .setBody(Buffer().write(ByteArray(responseBodySize)))
            .throttleBody((64 * 1024).toLong(), 125, TimeUnit.MILLISECONDS),
        ) // 500 Kbps
        server.start()
    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. docs/minio-limits.md

    | Part size range                                                                 | 5 MiB to 5 TiB. Last part can be 0 B to 5 TiB                                   |
    | Maximum number of parts returned per list parts request                         | 10000                                                                           |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/syscall/syscall_openbsd_libc.go

    }
    
    //sys	readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_read
    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_lseek
    //sys	getcwd(buf []byte) (n int, err error)
    //sys	sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error)
    //sysnb fork() (pid int, err error)
    //sysnb execve(path *byte, argv **byte, envp **byte) (err error)
    //sysnb exit(res int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

          set(i, other[i])
        }
      }
    
      companion object {
        /**
         * From the HTTP/2 specs, the default initial window size for all streams is 64 KiB. (Chrome 25
         * uses 10 MiB).
         */
        const val DEFAULT_INITIAL_WINDOW_SIZE = 65535
    
        /** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */
        const val HEADER_TABLE_SIZE = 1
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/runtime/debug/garbage.go

    // setting. GOMEMLIMIT is a numeric value in bytes with an optional
    // unit suffix. The supported suffixes include B, KiB, MiB, GiB, and
    // TiB. These suffixes represent quantities of bytes as defined by
    // the IEC 80000-13 standard. That is, they are based on powers of
    // two: KiB means 2^10 bytes, MiB means 2^20 bytes, and so on.
    //
    // SetMemoryLimit returns the previously set memory limit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    //
    //	<chunk-size-as-hex> + ";chunk-signature=" + <signature-as-hex> + "\r\n" + <payload> + "\r\n"
    //
    // First, we read the chunk size but fail if it is larger
    // than 16 MiB. We must not accept arbitrary large chunks.
    // One 16 MiB is a reasonable max limit.
    //
    // Then we read the signature and payload data. We compute the SHA256 checksum
    // of the payload and verify that it matches the expected signature value.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. src/runtime/sys_darwin.go

    	KeepAlive(new)
    	KeepAlive(old)
    }
    func setitimer_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func sysctl(mib *uint32, miblen uint32, oldp *byte, oldlenp *uintptr, newp *byte, newlen uintptr) int32 {
    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(sysctl_trampoline)), unsafe.Pointer(&mib))
    	KeepAlive(mib)
    	KeepAlive(oldp)
    	KeepAlive(oldlenp)
    	KeepAlive(newp)
    	return ret
    }
    func sysctl_trampoline()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. cmd/untar.go

    	case formatGzip:
    		gz, err := gzip.NewReader(bf)
    		if err != nil {
    			return err
    		}
    		defer gz.Close()
    		r = gz
    	case formatS2:
    		r = s2.NewReader(bf)
    	case formatZstd:
    		// Limit to 16 MiB per stream.
    		dec, err := zstd.NewReader(bf, zstd.WithDecoderMaxWindow(16<<20))
    		if err != nil {
    			return err
    		}
    		defer dec.Close()
    		r = dec
    	case formatBZ2:
    		ctx, cancel := context.WithCancel(ctx)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top