Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for chunkOf (0.24 sec)

  1. src/runtime/mgcscavenge.go

    // memory available to scavenge.
    type scavengeIndex struct {
    	// chunks is a scavChunkData-per-chunk structure that indicates the presence of pages
    	// available for scavenging. Updates to the index are serialized by the pageAlloc lock.
    	//
    	// It tracks chunk occupancy and a generation counter per chunk. If a chunk's occupancy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. src/runtime/malloc.go

    //
    //go:nosplit
    func inPersistentAlloc(p uintptr) bool {
    	chunk := atomic.Loaduintptr((*uintptr)(unsafe.Pointer(&persistentChunks)))
    	for chunk != 0 {
    		if p >= chunk && p < chunk+persistentChunkSize {
    			return true
    		}
    		chunk = *(*uintptr)(unsafe.Pointer(chunk))
    	}
    	return false
    }
    
    // linearAlloc is a simple linear allocator that pre-reserves a region
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/go/build/build.go

    	srcdir = filepath.ToSlash(srcdir)
    
    	chunks := strings.Split(str, "${SRCDIR}")
    	if len(chunks) < 2 {
    		return str, safeCgoName(str)
    	}
    	ok := true
    	for _, chunk := range chunks {
    		ok = ok && (chunk == "" || safeCgoName(chunk))
    	}
    	ok = ok && (srcdir == "" || safeCgoName(srcdir))
    	res := strings.Join(chunks, srcdir)
    	return res, ok && res != ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/runtime/mheap.go

    		ha := h.arenas[ai.l1()][ai.l2()]
    
    		// Get a chunk of the bitmap to work on.
    		arenaPage := uint(pageIdx % pagesPerArena)
    		inUse := ha.pageInUse[arenaPage/8:]
    		marked := ha.pageMarks[arenaPage/8:]
    		if uintptr(len(inUse)) > n/8 {
    			inUse = inUse[:n/8]
    			marked = marked[:n/8]
    		}
    
    		// Scan this bitmap chunk for spans that are in-use
    		// but have no marked objects on them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  5. cluster/gce/windows/k8s-node-setup.psm1

      buffer_queue_full_action block
      # Set the chunk limit conservatively to avoid exceeding the recommended
      # chunk size of 5MB per write request.
      buffer_chunk_limit 512k
      # Cap the combined memory usage of this buffer and the one below to
      # 512KiB/chunk * (6 + 2) chunks = 4 MiB
      buffer_queue_limit 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  6. src/net/http/request.go

    	// Deprecated: ErrUnexpectedTrailer is no longer returned by
    	// anything in the net/http package. Callers should not
    	// compare errors against this variable.
    	ErrUnexpectedTrailer = &ProtocolError{"trailer header without chunked transfer encoding"}
    
    	// ErrMissingBoundary is returned by Request.MultipartReader when the
    	// request's Content-Type does not include a "boundary" parameter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    // calculateSignedChunkLength - calculates the length of chunk metadata
    func calculateSignedChunkLength(chunkDataSize int64) int64 {
    	return int64(len(fmt.Sprintf("%x", chunkDataSize))) +
    		17 + // ";chunk-signature="
    		64 + // e.g. "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2"
    		2 + // CRLF
    		chunkDataSize +
    		2 // CRLF
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  8. src/crypto/tls/tls_test.go

    	clientConfig.MaxVersion = version
    
    	buf := make([]byte, bufsize)
    	chunks := int(math.Ceil(float64(totalBytes) / float64(len(buf))))
    	for i := 0; i < N; i++ {
    		conn, err := Dial("tcp", ln.Addr().String(), clientConfig)
    		if err != nil {
    			b.Fatal(err)
    		}
    		for j := 0; j < chunks; j++ {
    			_, err := conn.Write(buf)
    			if err != nil {
    				b.Fatal(err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	"k8s.io/component-base/tracing"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/clock"
    	"k8s.io/utils/ptr"
    )
    
    var (
    	emptyFunc = func(bool) {}
    )
    
    const (
    	// storageWatchListPageSize is the cacher's request chunk size of
    	// initial and resync watch lists to storage.
    	storageWatchListPageSize = int64(10000)
    	// defaultBookmarkFrequency defines how frequently watch bookmarks should be send
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. src/cmd/go/go_test.go

    		if isAlpineLinux() || runtime.Compiler == "gccgo" {
    			canRace = false
    		}
    	}
    
    	if n, limited := base.NetLimit(); limited && n > 0 {
    		// Split the network limit into chunks, so that each parallel script can
    		// have one chunk. We want to run as many parallel scripts as possible, but
    		// also want to give each script as high a limit as possible.
    		// We arbitrarily split by sqrt(n) to try to balance those two goals.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top