- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 65 for chunkOf (0.15 sec)
-
src/vendor/golang.org/x/net/nettest/conntest.go
t.Errorf("unexpected Read error: %v", err) break } } if err := <-errCh; err != nil { t.Errorf("unexpected Write error: %v", err) } } // chunkedCopy copies from r to w in fixed-width chunks to avoid // causing a Write that exceeds the maximum packet size for packet-based // connections like "unixpacket". // We assume that the maximum packet size is at least 1024.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.2K bytes - Viewed (0) -
src/runtime/os_plan9.go
gp.sigcode1 = uintptr(atolwhex(addr)) if gp.sigcode1 < 0x1000 { panicmem() } if gp.paniconfault { panicmemAddr(gp.sigcode1) } if inUserArenaChunk(gp.sigcode1) { // We could check that the arena chunk is explicitly set to fault, // but the fact that we faulted on accessing it is enough to prove // that it is. print("accessed data from freed user arena ", hex(gp.sigcode1), "\n") } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
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/runtime/mranges.go
minOffAddr = offAddr{arenaBaseOffset} // maxOffAddr is the maximum address in the offset address // space. It corresponds to the highest virtual address representable // by the page alloc chunk and heap arena maps. maxOffAddr = offAddr{(((1 << heapAddrBits) - 1) + arenaBaseOffset) & uintptrMask} ) // offAddr represents an address in a contiguous view
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 14.5K 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/runtime/mgcsweep.go
// and place it on the ready list. Don't add it back to any sweep lists. systemstack(func() { // It's the arena code's responsibility to get the chunk on the quarantine // list by the time all references to the chunk are gone. if s.list != &mheap_.userArena.quarantineList { throw("user arena span is on the wrong list") } lock(&mheap_.lock) mheap_.userArena.quarantineList.remove(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
} def content = file.bytes if (chunkedTransfer) { response.setHeader("Transfer-Encoding", "chunked") } else { response.setContentLength((contentLength ?: content.length) as int) } response.setContentType(contentType ?: new MimeTypes().getMimeByExtension(file.name).toString())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
src/image/jpeg/reader_test.go
if err != nil { return nil, err } defer f.Close() return Decode(f) } type eofReader struct { data []byte // deliver from Read without EOF dataEOF []byte // then deliver from Read with EOF on last chunk lenAtEOF int } func (r *eofReader) Read(b []byte) (n int, err error) { if len(r.data) > 0 { n = copy(b, r.data) r.data = r.data[n:] } else { n = copy(b, r.dataEOF)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 00:46:29 UTC 2024 - 24.4K bytes - Viewed (0)