Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for KiB (0.04 sec)

  1. docs/changelogs/changelog_4x.md

        compressing outbound web socket messages. Configure this with 0L to always compress outbound
        messages and `Long.MAX_VALUE` to never compress outbound messages. The default is 1024L which
        compresses messages of size 1 KiB and larger. (Inbound messages are compressed or not based on
        the web socket server's configuration.)
     *  New: Defer constructing `Inflater` and `Deflater` instances until they are needed. This saves
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. src/internal/poll/fd_wasip1.go

    	// calls to direntReclen, etc... and ends up causing an early EOF before all
    	// directory entries were consumed. ReadDirent is called with a large enough
    	// buffer (8 KiB) that at least one entry should always fit, tho this seems
    	// a bit brittle but cannot be addressed without a large change of the
    	// algorithm in the os.(*File).readdir method.
    	return n - len(b), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/trace/main.go

    }
    
    type byteCount int64
    
    func (b byteCount) String() string {
    	var suffix string
    	var divisor int64
    	switch {
    	case b < 1<<10:
    		suffix = "B"
    		divisor = 1
    	case b < 1<<20:
    		suffix = "KiB"
    		divisor = 1 << 10
    	case b < 1<<30:
    		suffix = "MiB"
    		divisor = 1 << 20
    	case b < 1<<40:
    		suffix = "GiB"
    		divisor = 1 << 30
    	}
    	if divisor == 1 {
    		return fmt.Sprintf("%d %s", b, suffix)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/gc.go

    	// returned to the OS.
    
    	const (
    		// The total amount of memory we're willing to allocate.
    		allocTotal = 32 << 20
    
    		// The page cache could hide 64 8-KiB pages from the scavenger today.
    		maxPageCache = (8 << 10) * 64
    	)
    
    	// How big the allocations are needs to depend on the page size.
    	// If the page size is too big and the allocations are too small,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  5. src/runtime/mgcscavenge.go

    func printScavTrace(releasedBg, releasedEager uintptr, forced bool) {
    	assertLockHeld(&scavenger.lock)
    
    	printlock()
    	print("scav ",
    		releasedBg>>10, " KiB work (bg), ",
    		releasedEager>>10, " KiB work (eager), ",
    		gcController.heapReleased.load()>>10, " KiB now, ",
    		(gcController.heapInUse.load()*100)/heapRetained(), "% util",
    	)
    	if forced {
    		print(" (forced)")
    	} else if scavenger.printControllerReset {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  6. src/runtime/string_test.go

    		{"1Ki", 0, false},
    		{"05Ki", 0, false},
    		{"10Mi", 0, false},
    		{"100Gi", 0, false},
    		{"99Ti", 0, false},
    		{"22iB", 0, false},
    		{"B", 0, false},
    		{"iB", 0, false},
    		{"KiB", 0, false},
    		{"MiB", 0, false},
    		{"GiB", 0, false},
    		{"TiB", 0, false},
    		{"-120KiB", 0, false},
    		{"-891MiB", 0, false},
    		{"-704GiB", 0, false},
    		{"-42TiB", 0, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  7. src/runtime/mspanset.go

    	// The head and the tail are only 32 bits wide, which means we
    	// can only support up to 2^32 pushes before a reset. If every
    	// span in the heap were stored in this set, and each span were
    	// the minimum size (1 runtime page, 8 KiB), then roughly the
    	// smallest heap which would be unrepresentable is 32 TiB in size.
    	index atomicHeadTailIndex
    }
    
    const (
    	spanSetBlockEntries = 512 // 4KB on 64-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/mgcpacer_test.go

    	}
    }
    
    type gcExecTest struct {
    	name string
    
    	gcPercent    int
    	memoryLimit  int64
    	globalsBytes uint64
    	nCores       int
    
    	allocRate     float64Stream // > 0, KiB / cpu-ms
    	scanRate      float64Stream // > 0, KiB / cpu-ms
    	growthRate    float64Stream // > 0
    	scannableFrac float64Stream // Clamped to [0, 1]
    	stackBytes    float64Stream // Multiple of 2048.
    	length        int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. src/runtime/mpagealloc.go

    	// heapAddrBits supported by the runtime.
    	//
    	// heapAddrBits | L1 Bits | L2 Bits | L2 Entry Size
    	// ------------------------------------------------
    	// 32           | 0       | 10      | 128 KiB
    	// 33 (iOS)     | 0       | 11      | 256 KiB
    	// 48           | 13      | 13      | 1 MiB
    	//
    	// There's no reason to use the L1 part of chunks on 32-bit, the
    	// address space is small so the L2 is small. For platforms with a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top