- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 120 for chunkOf (0.19 sec)
-
src/runtime/testdata/testprog/gc.go
// and to reduce the chance that the background scavenger gets scheduled. defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1)) // Allocate allocTotal bytes of memory in allocChunk byte chunks. // Alternate between whether the chunk will be held live or will be // condemned to GC to create holes in the heap. saved := make([][]byte, allocs/2+1) condemned := make([][]byte, allocs/2) for i := 0; i < allocs; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 12.1K bytes - Viewed (0) -
src/net/http/cgi/host.go
} } return } func (h *Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request) { if len(req.TransferEncoding) > 0 && req.TransferEncoding[0] == "chunked" { rw.WriteHeader(http.StatusBadRequest) rw.Write([]byte("Chunked request bodies are not supported by CGI.")) return } root := strings.TrimRight(h.Root, "/") pathInfo := strings.TrimPrefix(req.URL.Path, root) port := "80"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 10.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go
TimeoutFactory TimeoutFactory ServerShuttingDownCh <-chan struct{} metricsScope string } // HandleHTTP serves a series of encoded events via HTTP with Transfer-Encoding: chunked. // or over a websocket connection. func (s *WatchServer) HandleHTTP(w http.ResponseWriter, req *http.Request) { defer func() { if s.MemoryAllocator != nil { runtime.AllocatorPool.Put(s.MemoryAllocator) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 16:37:25 UTC 2023 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
in: hex("a27f626865636c6c6fff017f616864656c6c6fff02"), // {(_ "he", "llo"): 1, (_ "h", "ello"): 2} into: struct { Hello int `json:"hello"` }{}, assertOnError: assertIdenticalError(&cbor.DupMapKeyError{Key: string("hello"), Index: 1}), }, { name: "reject two identical indefinite-length text string keys split into chunks differently into map",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h
private: // Quantize an DenseFPElementsAttr by the quantization parameters. DenseElementsAttr convert(DenseFPElementsAttr attr); // Get a uniform converter for the index-th chunk along the quantizationDim. // All the elements in this chunk is quantized by the returned converter. UniformQuantizedValueConverter getPerChunkConverter(int index) const { return UniformQuantizedValueConverter(scales_[index], zero_points_[index],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 9.8K bytes - Viewed (0) -
src/runtime/mpagecache_test.go
} // Empty. runTest(t, 0, 0, 0) // Full. runTest(t, 0, ^uint64(0), ^uint64(0)) // Random. for i := 0; i < 100; i++ { // Generate random valid base within a chunk. base := uint(rand.Intn(PallocChunkPages/64)) * 64 // Generate random cache. cache := rand.Uint64() scav := rand.Uint64() & cache // Run the test. runTest(t, base, cache, scav) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 06 19:16:48 UTC 2021 - 10.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go
return w } // NewFrameReader implements stream framing for this serializer func (jsonFramer) NewFrameReader(r io.ReadCloser) io.ReadCloser { // we need to extract the JSON chunks of data to pass to Decode() return framer.NewJSONFramedReader(r) } // YAMLFramer is the default JSON framing behavior, with newlines delimiting individual objects. var YAMLFramer = yamlFramer{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 25 16:08:07 UTC 2022 - 12K bytes - Viewed (0) -
src/vendor/golang.org/x/text/transform/transform.go
buf := [2 * initialBufSize]byte{} dst := buf[:initialBufSize:initialBufSize] src := buf[initialBufSize : 2*initialBufSize] // The input string s is transformed in multiple chunks (starting with a // chunk size of initialBufSize). nDst and nSrc are per-chunk (or // per-Transform-call) indexes, pDst and pSrc are overall indexes. nDst, nSrc := 0, 0 pDst, pSrc := 0, 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 21 22:10:00 UTC 2020 - 21.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/transform/transform.go
buf := [2 * initialBufSize]byte{} dst := buf[:initialBufSize:initialBufSize] src := buf[initialBufSize : 2*initialBufSize] // The input string s is transformed in multiple chunks (starting with a // chunk size of initialBufSize). nDst and nSrc are per-chunk (or // per-Transform-call) indexes, pDst and pSrc are overall indexes. nDst, nSrc := 0, 0 pDst, pSrc := 0, 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 21.7K bytes - Viewed (0) -
src/hash/crc32/crc32_ppc64le.s
BNE start MOVW R3,ret+40(FP) // return crc RET start: NOR R3,R3,R7 // ^crc MOVWZ R7,R7 // 32 bits CMP R6,$16 MOVD R6,CTR BLT short SRAD $3,R6,R8 // 8 byte chunks MOVD R8,CTR loop: MOVWZ 0(R5),R8 // 0-3 bytes of p ?Endian? MOVWZ 4(R5),R9 // 4-7 bytes of p MOVD R4,R10 // &tab[0] XOR R7,R8,R7 // crc ^= byte[0:3] RLDICL $40,R9,$56,R17 // p[7]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 12:09:50 UTC 2024 - 13.1K bytes - Viewed (0)