Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,260 for chunck (0.11 sec)

  1. src/runtime/mfixalloc.go

    		if f.zero {
    			memclrNoHeapPointers(v, f.size)
    		}
    		return v
    	}
    	if uintptr(f.nchunk) < f.size {
    		f.chunk = uintptr(persistentalloc(uintptr(f.nalloc), 0, f.stat))
    		f.nchunk = f.nalloc
    	}
    
    	v := unsafe.Pointer(f.chunk)
    	if f.first != nil {
    		f.first(f.arg, v)
    	}
    	f.chunk = f.chunk + f.size
    	f.nchunk -= uint32(f.size)
    	f.inuse += f.size
    	return v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. 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)
  3. src/path/match.go

    // getEsc gets a possibly-escaped character from chunk, for a character class.
    func getEsc(chunk string) (r rune, nchunk string, err error) {
    	if len(chunk) == 0 || chunk[0] == '-' || chunk[0] == ']' {
    		err = ErrBadPattern
    		return
    	}
    	if chunk[0] == '\\' {
    		chunk = chunk[1:]
    		if len(chunk) == 0 {
    			err = ErrBadPattern
    			return
    		}
    	}
    	r, n := utf8.DecodeRuneInString(chunk)
    	if r == utf8.RuneError && n == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. src/runtime/memclr_ppc64x.s

    zero512setup:  // setup for dcbz loop
    	CMP  R4, $512   // check if at least 512
    	BLT  remain
    	SRD  $9, R4, R8 // loop count for 512 chunks
    	MOVD R8, CTR    // set up counter
    	MOVD $128, R9   // index regs for 128 bytes
    	MOVD $256, R10
    	MOVD $384, R11
    	PCALIGN $16
    zero512:
    	DCBZ (R3+R0)        // clear first chunk
    	DCBZ (R3+R9)        // clear second chunk
    	DCBZ (R3+R10)       // clear third chunk
    	DCBZ (R3+R11)       // clear fourth chunk
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 17:08:59 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. pkg/auth/authorizer/abac/abac_test.go

    		// Chuck can read events, since anyone can.
    		{User: uChuck, Verb: "get", Resource: "events", NS: "ns1", ExpectDecision: authorizer.DecisionAllow},
    		{User: uChuck, Verb: "get", Resource: "events", NS: "", ExpectDecision: authorizer.DecisionAllow},
    		// Chuck can't do other things.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * Computes a hash code based on the data that have been provided to this hasher. This is called
       * after all chunks are handled with {@link #process} and any leftover bytes that did not make a
       * complete chunk are handled with {@link #processRemaining}.
       */
      protected abstract HashCode makeHash();
    
      // Process pent-up data in chunks
      private void munchIfFull() {
        if (buffer.remaining() < 8) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  7. src/go/types/check.go

    // The provided files must all belong to the same package.
    func (check *Checker) initFiles(files []*ast.File) {
    	// start with a clean slate (check.Files may be called multiple times)
    	check.files = nil
    	check.imports = nil
    	check.dotImportMap = nil
    
    	check.firstErr = nil
    	check.methods = nil
    	check.untyped = nil
    	check.delayed = nil
    	check.objPath = nil
    	check.cleaners = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        ByteSource source = out.asByteSource();
        int chunk1 = Math.min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertNull(file);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/check.go

    // The provided files must all belong to the same package.
    func (check *Checker) initFiles(files []*syntax.File) {
    	// start with a clean slate (check.Files may be called multiple times)
    	check.files = nil
    	check.imports = nil
    	check.dotImportMap = nil
    
    	check.firstErr = nil
    	check.methods = nil
    	check.untyped = nil
    	check.delayed = nil
    	check.objPath = nil
    	check.cleaners = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. tests/util/leak/check.go

    	for _, g := range leaked {
    		errString.WriteString(fmt.Sprintf("Leaked goroutine: %v\n", g.stack))
    	}
    	return errors.New(errString.String())
    }
    
    // Check adds a check to a test to ensure there are no leaked goroutines
    // To use, simply call leak.Check(t) at the start of a test; Do not call it in defer.
    // It is recommended to call this as the first step, as Cleanup is called in LIFO order; this ensures any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top