Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 329 for chunkOf (0.15 sec)

  1. src/internal/coverage/calloc/batchcounteralloc.go

    // allocation.
    
    type BatchCounterAlloc struct {
    	pool []uint32
    }
    
    func (ca *BatchCounterAlloc) AllocateCounters(n int) []uint32 {
    	const chunk = 8192
    	if n > cap(ca.pool) {
    		siz := chunk
    		if n > chunk {
    			siz = n
    		}
    		ca.pool = make([]uint32, siz)
    	}
    	rv := ca.pool[:n]
    	ca.pool = ca.pool[n:]
    	return rv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:47:16 UTC 2022
    - 754 bytes
    - Viewed (0)
  2. src/runtime/memclr_mipsx.s

    	MOVWHI	R0, 0(R1)	// MOVWHI will write zeros up to next word boundary
    	SUBU	R3, R2
    	ADDU	R3, R1
    
    setup:
    	AND	$31, R2, R6
    	AND	$3, R2, R5
    	SUBU	R6, R4, R6	// end pointer for 32-byte chunks
    	SUBU	R5, R4, R5	// end pointer for 4-byte chunks
    
    large:
    	BEQ	R1, R6, words
    	MOVW	R0, 0(R1)
    	MOVW	R0, 4(R1)
    	MOVW	R0, 8(R1)
    	MOVW	R0, 12(R1)
    	MOVW	R0, 16(R1)
    	MOVW	R0, 20(R1)
    	MOVW	R0, 24(R1)
    	MOVW	R0, 28(R1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/internal/notsha256/sha256.go

    func (d *digest) Write(p []byte) (nn int, err error) {
    	nn = len(p)
    	d.len += uint64(nn)
    	if d.nx > 0 {
    		n := copy(d.x[d.nx:], p)
    		d.nx += n
    		if d.nx == chunk {
    			block(d, d.x[:])
    			d.nx = 0
    		}
    		p = p[n:]
    	}
    	if len(p) >= chunk {
    		n := len(p) &^ (chunk - 1)
    		block(d, p[:n])
    		p = p[n:]
    	}
    	if len(p) > 0 {
    		d.nx = copy(d.x[:], p)
    	}
    	return
    }
    
    func (d *digest) Sum(in []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  4. src/net/http/httputil/dump.go

    		host := req.Host
    		if host == "" && req.URL != nil {
    			host = req.URL.Host
    		}
    		if host != "" {
    			fmt.Fprintf(&b, "Host: %s\r\n", host)
    		}
    	}
    
    	chunked := len(req.TransferEncoding) > 0 && req.TransferEncoding[0] == "chunked"
    	if len(req.TransferEncoding) > 0 {
    		fmt.Fprintf(&b, "Transfer-Encoding: %s\r\n", strings.Join(req.TransferEncoding, ","))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/runtime/mpallocbits.go

    // whether or not a given page is scavenged in a single
    // structure. It's effectively a pallocBits with
    // additional functionality.
    //
    // Update the comment on (*pageAlloc).chunks should this
    // structure change.
    type pallocData struct {
    	pallocBits
    	scavenged pageBits
    }
    
    // allocRange sets bits [i, i+n) in the bitmap to 1 and
    // updates the scavenged bits appropriately.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/readwriter.go

    func (w *normWriter) Write(data []byte) (n int, err error) {
    	// Process data in pieces to keep w.buf size bounded.
    	const chunk = 4000
    
    	for len(data) > 0 {
    		// Normalize into w.buf.
    		m := len(data)
    		if m > chunk {
    			m = chunk
    		}
    		w.rb.src = inputBytes(data[:m])
    		w.rb.nsrc = m
    		w.buf = doAppend(&w.rb, w.buf, 0)
    		data = data[m:]
    		n += m
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun chunkedUpload_byteByByte() {
        doUpload(TransferKind.CHUNKED, WriteKind.BYTE_BY_BYTE)
      }
    
      @Test
      fun chunkedUpload_smallBuffers() {
        doUpload(TransferKind.CHUNKED, WriteKind.SMALL_BUFFERS)
      }
    
      @Test
      fun chunkedUpload_largeBuffers() {
        doUpload(TransferKind.CHUNKED, WriteKind.LARGE_BUFFERS)
      }
    
      @Test
      fun fixedLengthUpload_byteByByte() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  8. cmd/handler-utils.go

    			// to a custom value for example: "aws-chunked,gzip".
    			metadata[strings.ToLower(xhttp.ContentEncoding)] = contentEncoding
    		} else {
    			// Trimmed content encoding is empty when the header
    			// value is set to "aws-chunked" only.
    
    			// Make sure to delete the content-encoding parameter
    			// for a streaming signature which is set to value
    			// for example: "aws-chunked"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

                "in": "query",
                "name": "limit",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
  10. src/runtime/cpuprof.go

    			abi.FuncPCABIInternal(_System) + sys.PCQuantum,
    		}
    		p.log.write(nil, 0, hdr[:], lostStk[:])
    		p.lostAtomic = 0
    	}
    
    }
    
    // CPUProfile panics.
    // It formerly provided raw access to chunks of
    // a pprof-format profile generated by the runtime.
    // The details of generating that format have changed,
    // so this functionality has been removed.
    //
    // Deprecated: Use the [runtime/pprof] package,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top