Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for chunkOf (0.13 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. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      private inner class NonCompletingRequestBody : RequestBody() {
        private val chunk: ByteArray? = ByteArray(1024 * 1024)
        var ioe: IOException? = null
    
        override fun contentType(): MediaType? {
          return "text/plain".toMediaType()
        }
    
        override fun contentLength(): Long {
          return chunk!!.size * 8L
        }
    
        override fun writeTo(sink: BufferedSink) {
          try {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    			bucketName      string
    			objName         string
    			uploadID        string
    			expectedErrType error
    		}{bucket, "\\", uploadID, InvalidUploadID{}})
    	}
    
    	// Iterating over creatPartCases to generate multipart chunks.
    	for i, testCase := range abortTestCases {
    		err = obj.AbortMultipartUpload(context.Background(), testCase.bucketName, testCase.objName, testCase.uploadID, opts)
    		if testCase.expectedErrType == nil && err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    	"continue":             "The continue option should be set when retrieving more...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
Back to top