Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 120 for chunkOf (0.1 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertThat(out.toByteArray()).isEqualTo(expected);
      }
    
    
      public void testCopyFileChannel() throws IOException {
        final int chunkSize = 14407; // Random prime, unlikely to match any internal chunk size
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        WritableByteChannel outChannel = Channels.newChannel(out);
    
        File testFile = createTempFile();
        byte[] dummyData = newPreFilledByteArray(chunkSize);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/internal/poll/fd_windows.go

    	// discovered by experimenting with syscall.WriteConsole.
    	const maxWrite = 16000
    	for len(runes) > 0 {
    		m := len(runes)
    		if m > maxWrite {
    			m = maxWrite
    		}
    		chunk := runes[:m]
    		runes = runes[m:]
    		uint16s := utf16.Encode(chunk)
    		for len(uint16s) > 0 {
    			var written uint32
    			err := syscall.WriteConsole(fd.Sysfd, &uint16s[0], uint32(len(uint16s)), &written, nil)
    			if err != nil {
    				return 0, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    type Evaluator interface {
    	// Evaluate takes an operation and checks to see if quota constraints are satisfied.  It returns an error if they are not.
    	// The default implementation processes related operations in chunks when possible.
    	Evaluate(a admission.Attributes) error
    }
    
    type quotaEvaluator struct {
    	quotaAccessor QuotaAccessor
    	// lockAcquisitionFunc acquires any required locks and returns a cleanup method to defer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Splitter.java

       * {@link Splitter}.
       *
       * @since 10.0
       */
      public static final class MapSplitter {
        private static final String INVALID_ENTRY_MESSAGE = "Chunk [%s] is not a valid entry";
        private final Splitter outerSplitter;
        private final Splitter entrySplitter;
    
        private MapSplitter(Splitter outerSplitter, Splitter entrySplitter) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Splitter.java

       * {@link Splitter}.
       *
       * @since 10.0
       */
      public static final class MapSplitter {
        private static final String INVALID_ENTRY_MESSAGE = "Chunk [%s] is not a valid entry";
        private final Splitter outerSplitter;
        private final Splitter entrySplitter;
    
        private MapSplitter(Splitter outerSplitter, Splitter entrySplitter) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top