Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for chunkOf (0.19 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. 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)
  4. 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)
  5. 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)
  6. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

            for (byte[] buf : listOfByteArrays) {
                addChunk(new StreamByteBufferChunk(buf));
            }
        }
    
        private void addChunk(StreamByteBufferChunk chunk) {
            chunks.add(chunk);
            totalBytesUnreadInList += chunk.bytesUnread();
        }
    
        static class StreamByteBufferChunk {
            private int pointer;
            private byte[] buffer;
            private int size;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. pilot/pkg/config/file/store.go

    			scope.Debugf("Failed to parse yamlText chunk: %v", yamlText)
    			errs = multierror.Append(errs, e)
    			break
    		}
    
    		chunk := bytes.TrimSpace(doc)
    		if len(chunk) == 0 {
    			continue
    		}
    		chunkResources, err := s.parseChunk(r, name, lineNum, chunk)
    		if err != nil {
    			var uerr *unknownSchemaError
    			if errors.As(err, &uerr) {
    				scope.Debugf("skipping unknown yaml chunk %s: %s", name, uerr.Error())
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/net/http/response_test.go

    			Header:           Header{},
    			Close:            false,
    			ContentLength:    -1,
    			TransferEncoding: []string{"chunked"},
    		},
    
    		"Body here\n",
    	},
    
    	// Chunked response in response to a HEAD request
    	{
    		"HTTP/1.1 200 OK\r\n" +
    			"Transfer-Encoding: chunked\r\n" +
    			"\r\n",
    
    		Response{
    			Status:           "200 OK",
    			StatusCode:       200,
    			Proto:            "HTTP/1.1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. tensorflow/cc/saved_model/fingerprinting_utils_test.cc

        TF_ASSERT_OK(read_metadata.status());
      }
      ChunkMetadata chunk_metadata = read_metadata.value();
    
      std::vector<ChunkInfo> chunks_info = std::vector<ChunkInfo>(
          chunk_metadata.chunks().begin(), chunk_metadata.chunks().end());
    
      FieldIndex field_one_field_tag;
      field_one_field_tag.set_field(1);
      FieldIndex repeated_field_field_tag;
      repeated_field_field_tag.set_field(2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. src/net/http/cgi/host_test.go

    }
    
    func chunk(s string) string {
    	return fmt.Sprintf("%x\r\n%s\r\n", len(s), s)
    }
    
    // The CGI spec doesn't allow chunked requests.
    func TestCGIPostChunked(t *testing.T) {
    	testenv.MustHaveExec(t)
    	postReq := `POST /test.cgi?a=b HTTP/1.1
    Host: example.com
    Content-Type: application/x-www-form-urlencoded
    Transfer-Encoding: chunked
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top