- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 366 for chunkOf (0.23 sec)
-
src/image/png/reader_test.go
// These bytes come from https://go.dev/issue/54325 // // Per the PNG spec, a PLTE chunk contains 3 (not 4) bytes per palette // entry: RGB (not RGBA). The alpha value comes from the optional tRNS // chunk. Here, the PLTE chunk (0x50, 0x4c, 0x54, 0x45, etc) has 16 entries // (0x30 = 48 bytes) and the tRNS chunk (0x74, 0x52, 0x4e, 0x53, etc) has 1 // entry (0x01 = 1 byte) that sets the first palette entry's alpha to zero.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 24 12:12:12 UTC 2022 - 28.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder.go
return err } // YAMLDecoder reads chunks of objects and returns ErrShortBuffer if // the data is not sufficient. type YAMLDecoder struct { r io.ReadCloser scanner *bufio.Scanner remaining []byte } // NewDocumentDecoder decodes YAML documents from the provided // stream in chunks by converting each document (as defined by // the YAML spec) into its own chunk. io.ErrShortBuffer will be
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 19 21:24:36 UTC 2021 - 10.2K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
TF_ASSERT_OK(read_metadata.status()); } ChunkMetadata chunk_metadata = read_metadata.value(); std::vector<ChunkInfo> chunks_info = std::vector<ChunkInfo>( chunk_metadata.chunks().begin(), chunk_metadata.chunks().end()); FieldIndex field_one_field_tag; field_one_field_tag.set_field(1); FieldIndex repeated_field_field_tag; repeated_field_field_tag.set_field(2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0) -
src/net/http/cgi/host_test.go
} func chunk(s string) string { return fmt.Sprintf("%x\r\n%s\r\n", len(s), s) } // The CGI spec doesn't allow chunked requests. func TestCGIPostChunked(t *testing.T) { testenv.MustHaveExec(t) postReq := `POST /test.cgi?a=b HTTP/1.1 Host: example.com Content-Type: application/x-www-form-urlencoded Transfer-Encoding: chunked
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 18:29:59 UTC 2024 - 13.3K bytes - Viewed (0) -
src/runtime/mpagealloc_64bit.go
summaryLevels = 5 // Constants for testing. pageAlloc32Bit = 0 pageAlloc64Bit = 1 // Number of bits needed to represent all indices into the L1 of the // chunks map. // // See (*pageAlloc).chunks for more details. Update the documentation // there should this number change. pallocChunksL1Bits = 13 ) // levelBits is the number of bits in the radix for a given level in the super summary
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 03 11:00:10 UTC 2024 - 9.3K bytes - Viewed (0) -
src/internal/diff/diff.go
// and then printing diff chunks. // To avoid setup/teardown cases outside the loop, // tgs returns a leading {0,0} and trailing {len(x), len(y)} pair // in the sequence of matches. var ( done pair // printed up to x[:done.x] and y[:done.y] chunk pair // start lines of current chunk count pair // number of lines from each side in current chunk ctext []string // lines for current chunk )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 14:13:04 UTC 2023 - 7.5K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go
r [2]uint64 s [2]uint64 } type macGeneric struct { macState buffer [TagSize]byte offset int } // Write splits the incoming message into TagSize chunks, and passes them to // update. It buffers incomplete chunks. func (h *macGeneric) Write(p []byte) (int, error) { nn := len(p) if h.offset > 0 { n := copy(h.buffer[h.offset:], p) if h.offset+n < TagSize { h.offset += n return nn, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 9.6K bytes - Viewed (0) -
src/net/http/transfer.go
case *Request: rr.Body = t.Body rr.ContentLength = t.ContentLength if t.Chunked { rr.TransferEncoding = []string{"chunked"} } rr.Close = t.Close rr.Trailer = t.Trailer case *Response: rr.Body = t.Body rr.ContentLength = t.ContentLength if t.Chunked { rr.TransferEncoding = []string{"chunked"} } rr.Close = t.Close rr.Trailer = t.Trailer } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 22:14:00 UTC 2024 - 31.1K bytes - Viewed (0) -
src/internal/fuzz/mutators_byteslice.go
} return b } // byteSliceSwapBytes swaps two chunks of bytes in b. func byteSliceSwapBytes(m *mutator, b []byte) []byte { if len(b) <= 1 { return nil } src := m.rand(len(b)) dst := m.rand(len(b)) for dst == src { dst = m.rand(len(b)) } // Choose the random length as len(b) - max(src, dst) // so that we don't attempt to swap a chunk that extends // beyond the end of the slice max := dst
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 19 18:23:43 UTC 2021 - 7.7K bytes - Viewed (0) -
src/internal/bytealg/count_amd64.s
// Create mask to ignore overlap between previous 16 byte block // and the next. MOVQ $16,CX SUBQ BX, CX MOVQ $0xFFFF, R10 SARQ CL, R10 SALQ CL, R10 // Process the last 16-byte chunk. This chunk may overlap with the // chunks we've already searched so we need to mask part of it. MOVOU (AX), X1 PCMPEQB X0, X1 PMOVMSKB X1, DX // Apply mask ANDQ R10, DX POPCNTL DX, DX ADDQ DX, R12 end: MOVQ R12, (R8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 20:54:43 UTC 2023 - 4.7K bytes - Viewed (0)