- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,717 for chunck (0.28 sec)
-
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) -
tensorflow/cc/saved_model/fingerprinting_utils.cc
// chunked_field_tags are an exact match with field_tags. Hash referenced // chunk. TF_ASSIGN_OR_RETURN( std::string chunk, ReadChunk(reader, chunks_info[chunked_message.chunk_index()])); field_checksum = FingerprintCat64(field_checksum, Fingerprint64(chunk)); } else if (matches == field_tags.size()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 20.2K bytes - Viewed (0) -
src/internal/poll/sendfile_bsd.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build darwin || dragonfly || freebsd package poll import "syscall" // maxSendfileSize is the largest chunk size we ask the kernel to copy // at a time. const maxSendfileSize int = 4 << 20 // SendFile wraps the sendfile system call. func SendFile(dstFD *FD, src int, pos, remain int64) (written int64, err error, handled bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/test/util/yml/apply.go
func ApplyNamespace(yamlText, ns string) (string, error) { chunks := SplitString(yamlText) toJoin := make([]string, 0, len(chunks)) for _, chunk := range chunks { chunk, err := applyNamespace(chunk, ns) if err != nil { return "", err } toJoin = append(toJoin, chunk) } result := JoinString(toJoin...) return result, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 17 07:02:38 UTC 2023 - 3.8K bytes - Viewed (0) -
src/internal/bytealg/count_arm64.s
BLO tail ANDS $0x1f, R0, R9 BEQ chunk // Work with not 32-byte aligned head BIC $0x1f, R0, R3 ADD $0x20, R3 PCALIGN $16 head_loop: MOVBU.P 1(R0), R5 CMP R5, R1 CINC EQ, R11, R11 SUB $1, R2, R2 CMP R0, R3 BNE head_loop // Work with 32-byte aligned chunks chunk: BIC $0x1f, R2, R9 // The first chunk can also be the last CBZ R9, tail // R3 = end of 32-byte chunks
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 17:00:27 UTC 2023 - 2K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// lineTooLong is generated as chunk header is bigger than 4KiB. var errLineTooLong = errors.New("header line too long") // malformed encoding is generated when chunk header is wrongly formed. var errMalformedEncoding = errors.New("malformed chunked encoding") // chunk is considered too big if its bigger than > 16MiB. var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
// scavengeIndex is a structure for efficiently managing which pageAlloc chunks have // 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) -
src/runtime/mgcscavenge_test.go
0xb02b9effcf137016, 0x3975a076a9fbff18, 0x0f8c88ec3b81506e, 0x60f14d80ef2fa0e6, } for _, test := range tests { check(test, m) } for i := 0; i < 1000; i++ { // Try a pseudo-random numbers. check(rand.Uint64(), m) if m > 1 { // For m != 1, let's construct a slightly more interesting // random test. Generate a bitmap which is either 0 or
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java
* when it fails. All this method does is provide a better, consistent, error message. * * This should be used whenever there is a chance the cast could fail. If in doubt, use this. * * @param outputType The type to cast the input to * @param object The object to be cast (must not be {@code null}) * @param <O> The type to be cast to
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/promise/promise_test.go
later := time.Now() bval := &later if wr.Set(bval) { t.Error("second Set() returned true") } goGetAndExpect(t, wr, gots, aval) cancel() time.Sleep(time.Second) // give it a chance to misbehave goGetAndExpect(t, wr, gots, aval) } func TestWriteOnceCancel(t *testing.T) { oldTime := time.Now() cval := &oldTime ctx, cancel := context.WithCancel(context.Background())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 19:19:31 UTC 2023 - 3K bytes - Viewed (0)