Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for chunkOf (0.43 sec)

  1. src/runtime/mpagealloc.go

    	if sc == ec {
    		// The range doesn't cross any chunk boundaries.
    		chunk := p.chunkOf(sc)
    		scav += chunk.scavenged.popcntRange(si, ei+1-si)
    		chunk.allocRange(si, ei+1-si)
    		p.scav.index.alloc(sc, ei+1-si)
    	} else {
    		// The range crosses at least one chunk boundary.
    		chunk := p.chunkOf(sc)
    		scav += chunk.scavenged.popcntRange(si, pallocChunkPages-si)
    		chunk.allocRange(si, pallocChunkPages-si)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    	testSysStat.add(-int64(p.summaryMappedReady))
    
    	// Free the mapped space for chunks.
    	for i := range p.chunks {
    		if x := p.chunks[i]; x != nil {
    			p.chunks[i] = nil
    			// This memory comes from sysAlloc and will always be page-aligned.
    			sysFree(unsafe.Pointer(x), unsafe.Sizeof(*p.chunks[0]), testSysStat)
    		}
    	}
    }
    
    // BaseChunkIdx is a convenient chunkIdx value which works on both
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. src/runtime/mpagealloc_test.go

    		// first chunk do not exhaust the heap and the second chunk's summary is not in the
    		// page immediately adjacent to the first chunk's summary's page.
    		// Allocating into this first chunk to exhaustion and then into the second
    		// chunk may then trigger a check in the allocator which erroneously looks at
    		// unmapped summary memory and crashes.
    
    		// Figure out how many chunks are in a physical page, then align BaseChunkIdx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 32.6K bytes
    - Viewed (0)
  4. docs/security/README.md

    ##### Figure 1 - Secure Channel construction
    
    ```
    plaintext   := chunk_0          ||       chunk_1          ||       chunk_2          ||       ...
                     |                         |                         |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      private val Response.isChunked: Boolean
        get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
    
      private val Request.isChunked: Boolean
        get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
    
      /**
       * Received trailers. Null unless the response body uses chunked transfer-encoding and includes
       * trailers. Undefined until the end of the response body.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/fingerprinting_utils.cc

        return absl::FailedPreconditionError(
            absl::StrCat("Couldn't read ChunkMetadata from chunked proto.\n",
                         read_metadata.status().ToString()));
      }
      ChunkMetadata chunk_metadata = read_metadata.value();
    
      std::vector<ChunkInfo> chunks_info = std::vector<ChunkInfo>(
          chunk_metadata.chunks().begin(), chunk_metadata.chunks().end());
    
      FingerprintDef fingerprint_def;
      SavedModel saved_model;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. 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)
  8. src/compress/flate/inflate.go

    			for off := reverse; off < len(h.chunks); off += 1 << uint(n) {
    				// We should never need to overwrite
    				// an existing chunk. Also, 0 is
    				// never a valid chunk, because the
    				// lower 4 "count" bits should be
    				// between 1 and 15.
    				if sanity && h.chunks[off] != 0 {
    					panic("impossible: overwriting existing chunk")
    				}
    				h.chunks[off] = chunk
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. src/net/http/requestwrite_test.go

    			"User-Agent: Go-http-client/1.1\r\n" +
    			"Transfer-Encoding: chunked\r\n\r\n" +
    			chunk("abcdef") + chunk(""),
    
    		WantProxy: "GET http://www.google.com/search HTTP/1.1\r\n" +
    			"Host: www.google.com\r\n" +
    			"User-Agent: Go-http-client/1.1\r\n" +
    			"Transfer-Encoding: chunked\r\n\r\n" +
    			chunk("abcdef") + chunk(""),
    	},
    	// HTTP/1.1 POST => chunked coding; body; empty trailer
    	2: {
    		Req: Request{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
  10. src/runtime/arena.go

    //
    // In summary, there are 2 resources: arenas, and arena chunks. They exist in the
    // following lifecycle:
    //
    // (1) A new arena is created via newArena.
    // (2) Chunks are allocated to hold memory allocated into the arena with new or slice.
    //    (a) Chunks are first allocated from the reuse list of partially-used chunks.
    //    (b) If there are no such chunks, then chunks on the ready list are taken.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top