- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 81 for chunkOf (0.13 sec)
-
src/cmd/link/internal/ld/data.go
writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, ctxt.Textp, addr, size, pad) } const blockSize = 1 << 20 // 1MB chunks written at a time. // writeBlocks writes a specified chunk of symbols to the output buffer. It // breaks the write up into ≥blockSize chunks to write them out, and schedules // as many goroutines as necessary to accomplish this task. This call then
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (1) -
src/os/os_windows_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
src/time/format_test.go
// the exact detection of format chunk boundaries in the // helper function nextStdChunk (here called as NextStdChunk). // This test checks nextStdChunk's behavior directly, // instead of needing to test it only indirectly through Parse/Format. // markChunks returns format with each detected // 'format chunk' parenthesized. // For example showChunks("2006-01-02") == "(2006)-(01)-(02)".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
src/net/http/request_test.go
// Body: clientReq := *req clientReq.Body = nil var out strings.Builder if err := clientReq.Write(&out); err != nil { t.Fatal(err) } if strings.Contains(out.String(), "chunked") { t.Error("wrote chunked request; want no body") } back, err := ReadRequest(bufio.NewReader(strings.NewReader(out.String()))) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
// Code generated by mkbuiltin.go. DO NOT EDIT. package typecheck import ( "cmd/compile/internal/types" "cmd/internal/src" ) // Not inlining this function removes a significant chunk of init code. // //go:noinline func newSig(params, results []*types.Field) *types.Type { return types.NewSignature(nil, params, results) } func params(tlist ...*types.Type) []*types.Field { flist := make([]*types.Field, len(tlist))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
src/crypto/tls/tls_test.go
clientConfig.MaxVersion = version buf := make([]byte, bufsize) chunks := int(math.Ceil(float64(totalBytes) / float64(len(buf)))) for i := 0; i < N; i++ { conn, err := Dial("tcp", ln.Addr().String(), clientConfig) if err != nil { b.Fatal(err) } for j := 0; j < chunks; j++ { _, err := conn.Write(buf) if err != nil { b.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
"k8s.io/component-base/tracing" "k8s.io/klog/v2" "k8s.io/utils/clock" "k8s.io/utils/ptr" ) var ( emptyFunc = func(bool) {} ) const ( // storageWatchListPageSize is the cacher's request chunk size of // initial and resync watch lists to storage. storageWatchListPageSize = int64(10000) // defaultBookmarkFrequency defines how frequently watch bookmarks should be send
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
pkg/kubelet/server/server.go
return } fw := flushwriter.Wrap(response.ResponseWriter) response.Header().Set("Transfer-Encoding", "chunked") if err := s.host.GetKubeletContainerLogs(ctx, kubecontainer.GetPodFullName(pod), containerName, logOptions, fw, fw); err != nil { response.WriteError(http.StatusBadRequest, err) return } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0) -
src/net/net.go
} func releaseThread() { <-threadLimit } // buffersWriter is the interface implemented by Conns that support a // "writev"-like batch write optimization. // writeBuffers should fully consume and write all chunks from the // provided Buffers, else it should report a non-nil error. type buffersWriter interface { writeBuffers(*Buffers) (int64, error) } // Buffers contains zero or more runs of bytes to write. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 26.8K bytes - Viewed (0) -
src/net/http/fs.go
ctypes, haveType := w.Header()["Content-Type"] var ctype string if !haveType { ctype = mime.TypeByExtension(filepath.Ext(name)) if ctype == "" { // read a chunk to decide between utf-8 text and binary var buf [sniffLen]byte n, _ := io.ReadFull(content, buf[:]) ctype = DetectContentType(buf[:n]) _, err := content.Seek(0, io.SeekStart) // rewind to output whole file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 17:06:47 UTC 2024 - 31.1K bytes - Viewed (0)