Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 366 for chunkOf (0.23 sec)

  1. src/crypto/sha1/sha1.go

    const BlockSize = 64
    
    const (
    	chunk = 64
    	init0 = 0x67452301
    	init1 = 0xEFCDAB89
    	init2 = 0x98BADCFE
    	init3 = 0x10325476
    	init4 = 0xC3D2E1F0
    )
    
    // digest represents the partial evaluation of a checksum.
    type digest struct {
    	h   [5]uint32
    	x   [chunk]byte
    	nx  int
    	len uint64
    }
    
    const (
    	magic         = "sha\x01"
    	marshaledSize = len(magic) + 5*4 + chunk + 8
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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. cluster/addons/fluentd-gcp/fluentd-gcp-configmap-old.yaml

          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 1M
          # Cap the combined memory usage of this buffer and the one below to
          # 1MiB/chunk * (6 + 2) chunks = 8 MiB
          buffer_queue_limit 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 26 07:09:07 UTC 2018
    - 16.3K bytes
    - Viewed (0)
  6. 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)
  7. src/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: Fri Apr 26 19:27:51 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml

          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: Mon Nov 26 07:09:07 UTC 2018
    - 18.3K bytes
    - Viewed (0)
Back to top