Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,260 for chunck (0.49 sec)

  1. 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)
  2. src/vendor/golang.org/x/text/unicode/norm/readwriter.go

    func (w *normWriter) Write(data []byte) (n int, err error) {
    	// Process data in pieces to keep w.buf size bounded.
    	const chunk = 4000
    
    	for len(data) > 0 {
    		// Normalize into w.buf.
    		m := len(data)
    		if m > chunk {
    			m = chunk
    		}
    		w.rb.src = inputBytes(data[:m])
    		w.rb.nsrc = m
    		w.buf = doAppend(&w.rb, w.buf, 0)
    		data = data[m:]
    		n += m
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/plugins/customPlugin/tests/java-gradle-plugin-check.sample.conf

    commands: [{
        execution-subdirectory: java-gradle-plugin
        executable: gradle
        args: check
    },{
        execution-subdirectory: java-gradle-plugin
        executable: gradle
        args: publish
    },{
        execution-subdirectory: consumer
        executable: gradle
        args: "hello -PproducerName=java-gradle-plugin -q"
        expected-output-file: hello.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 349 bytes
    - Viewed (0)
  4. src/path/filepath/match.go

    	return s, true, nil
    }
    
    // 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] == '\\' && runtime.GOOS != "windows" {
    		chunk = chunk[1:]
    		if len(chunk) == 0 {
    			err = ErrBadPattern
    			return
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/arena.go

    // arena chunks. That is, they can never be used for the general heap. Each chunk
    // is also represented by a single mspan, and is modeled as a single large heap
    // allocation. It must be, because each chunk contains ordinary Go values that may
    // point into the heap, so it must be scanned just like any other object. Any
    // pointer into a chunk will therefore always cause the whole chunk to be scanned
    // while its corresponding arena is still live.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  7. src/runtime/malloc_test.go

    	}
    	const N = 16
    	var v [N]unsafe.Pointer
    	for i := range v {
    		v[i] = unsafe.Pointer(new(byte))
    	}
    
    	chunks := make(map[uintptr]bool, N)
    	for _, p := range v {
    		chunks[uintptr(p)&^7] = true
    	}
    
    	if len(chunks) == N {
    		t.Fatal("no bytes allocated within the same 8-byte chunk")
    	}
    }
    
    type obj12 struct {
    	a uint64
    	b uint32
    }
    
    func TestTinyAllocIssue37262(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	}
    	return nil
    }
    
    // diskHealthCheckOK will check if the provided error is nil
    // and update disk status if good.
    // For convenience a bool is returned to indicate any error state
    // that is not io.EOF.
    func diskHealthCheckOK(ctx context.Context, err error) bool {
    	// Check if context has a disk health check.
    	tracker, ok := ctx.Value(healthDiskCtxKey{}).(*healthDiskCtxValue)
    	if !ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/build.go

    	srcdir = filepath.ToSlash(srcdir)
    
    	chunks := strings.Split(str, "${SRCDIR}")
    	if len(chunks) < 2 {
    		return str, safeCgoName(str)
    	}
    	ok := true
    	for _, chunk := range chunks {
    		ok = ok && (chunk == "" || safeCgoName(chunk))
    	}
    	ok = ok && (srcdir == "" || safeCgoName(srcdir))
    	res := strings.Join(chunks, srcdir)
    	return res, ok && res != ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  10. src/hash/crc32/crc32_s390x.s

    	VGFMAG  CONST_R4R3, V1, V4, V1
    
    	// Check whether to continue with 64-bit folding
    	CMP R4, $16
    	BLT final_fold
    
    fold_16bytes_loop:
    	VL      0(R3), V2               // Load next data chunk
    	VPERM   V2, V2, CONST_PERM_LE2BE, V2
    
    	VGFMAG  CONST_R4R3, V1, V2, V1  // Fold next data chunk
    
    	// Adjust buffer pointer and size for folding next data chunk
    	ADD     $16, R3
    	ADD     $-16, R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 20 00:49:17 UTC 2021
    - 7.6K bytes
    - Viewed (0)
Back to top