Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 366 for chunkOf (0.12 sec)

  1. src/hash/crc32/crc32_s390x.s

    	BLT final_fold
    
    fold_16bytes_loop:
    	VL      0(R3), V2               // Load next data chunk
    	VPERM   V2, V2, CONST_PERM_LE2BE, V2
    
    	VGFMAG  CONST_R4R3, V1, V2, V1  // Fold next data chunk
    
    	// Adjust buffer pointer and size for folding next data chunk
    	ADD     $16, R3
    	ADD     $-16, R4
    
    	// Process remaining data chunks
    	CMP     R4 ,$16
    	BGE     fold_16bytes_loop
    
    final_fold:
    	VLEIB   $7, $0x40, V9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 20 00:49:17 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/file/store.go

    			scope.Debugf("Failed to parse yamlText chunk: %v", yamlText)
    			errs = multierror.Append(errs, e)
    			break
    		}
    
    		chunk := bytes.TrimSpace(doc)
    		if len(chunk) == 0 {
    			continue
    		}
    		chunkResources, err := s.parseChunk(r, name, lineNum, chunk)
    		if err != nil {
    			var uerr *unknownSchemaError
    			if errors.As(err, &uerr) {
    				scope.Debugf("skipping unknown yaml chunk %s: %s", name, uerr.Error())
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/image/png/reader.go

    	if len(p) == 0 {
    		return 0, nil
    	}
    	for d.idatLength == 0 {
    		// We have exhausted an IDAT chunk. Verify the checksum of that chunk.
    		if err := d.verifyChecksum(); err != nil {
    			return 0, err
    		}
    		// Read the length and chunk type of the next chunk, and check that
    		// it is an IDAT chunk.
    		if _, err := io.ReadFull(d.r, d.tmp[:8]); err != nil {
    			return 0, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/net/http/httputil/dump_test.go

    			"Host: www.google.com\r\n" +
    			"Transfer-Encoding: chunked\r\n\r\n" +
    			chunk("abcdef") + chunk(""),
    	},
    
    	// Verify that DumpRequest preserves the HTTP version number, doesn't add a Host,
    	// and doesn't add a User-Agent.
    	{
    		Req: &http.Request{
    			Method:     "GET",
    			URL:        mustParseURL("/foo"),
    			ProtoMajor: 1,
    			ProtoMinor: 0,
    			Header: http.Header{
    				"X-Foo": []string{"X-Bar"},
    			},
    		},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:34:07 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  5. src/internal/bytealg/count_s390x.s

    	VREPIB $1, V_MASK // V_MASK = [16]byte{1, 1, ..., 1, 1}
    	VZERO  V_CNT      // initial uint128 count of 0
    
    vxloop:
    	// Load input bytes in 16-byte chunks.
    	VL (R_PTR), V_VAL
    
    	// Compare each byte in input chunk against byte to be counted.
    	// Each byte element will be set to either 0 (no match) or 1 (match).
    	VCEQB V_CHAR, V_VAL, V_VAL // each byte will be either 0xff or 0x00
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 15 21:04:43 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  6. src/internal/bytealg/indexbyte_amd64.s

    	JB	sseloop
    
    	// Search the last 16-byte chunk. This chunk may overlap with the
    	// chunks we've already searched, but that's ok.
    	MOVQ	AX, DI
    	MOVOU	(AX), X1
    	PCMPEQB	X0, X1
    	PMOVMSKB X1, DX
    	BSFL	DX, DX
    	JNZ	ssesuccess
    
    failure:
    	MOVQ $-1, (R8)
    	RET
    
    // We've found a chunk containing the byte.
    // The chunk was loaded from DI.
    // The index of the matching byte in the chunk is DX.
    // The start of the data is SI.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 19:06:01 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. cmd/streaming-v4-unsigned.go

    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    )
    
    // newUnsignedV4ChunkedReader returns a new s3UnsignedChunkedReader that translates the data read from r
    // out of HTTP "chunked" format before returning it.
    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    func newUnsignedV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	if trailer {
    		// Discard anything unsigned.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. src/net/http/response_test.go

    			Header:           Header{},
    			Close:            false,
    			ContentLength:    -1,
    			TransferEncoding: []string{"chunked"},
    		},
    
    		"Body here\n",
    	},
    
    	// Chunked response in response to a HEAD request
    	{
    		"HTTP/1.1 200 OK\r\n" +
    			"Transfer-Encoding: chunked\r\n" +
    			"\r\n",
    
    		Response{
    			Status:           "200 OK",
    			StatusCode:       200,
    			Proto:            "HTTP/1.1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. src/runtime/mpagealloc_32bit.go

    		mappedReady = scavIndexSize
    	} else {
    		// Set up the scavenge index.
    		s.chunks = scavengeIndexArray[:]
    	}
    	s.min.Store(1) // The 0th chunk is never going to be mapped for the heap.
    	s.max.Store(uintptr(len(s.chunks)))
    	return
    }
    
    // sysGrow is a no-op on 32-bit platforms.
    func (s *scavengeIndex) sysGrow(base, limit uintptr, sysStat *sysMemStat) uintptr {
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/runtime/map_benchmark_test.go

    			idx = 0
    		}
    	}
    }
    
    type chunk [17]byte
    
    func BenchmarkHashBytesSpeed(b *testing.B) {
    	// a bunch of chunks, each with a different alignment mod 16
    	var chunks [size]chunk
    	// initialize each to a different value
    	for i := 0; i < size; i++ {
    		chunks[i][0] = byte(i)
    	}
    	// put into a map
    	m := make(map[chunk]int, size)
    	for i, c := range chunks {
    		m[c] = i
    	}
    	idx := 0
    	b.ResetTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top