Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 204 for Bitmap (0.17 sec)

  1. src/reflect/export_test.go

    	argSize = abid.stackCallArgsSize
    	retOffset = abid.retOffset
    	frametype = toType(ft)
    
    	// Expand stack pointer bitmap into byte-map.
    	for i := uint32(0); i < abid.stackPtrs.n; i++ {
    		stack = append(stack, abid.stackPtrs.data[i/8]>>(i%8)&1)
    	}
    
    	// Expand register pointer bitmaps into byte-maps.
    	bool2byte := func(b bool) byte {
    		if b {
    			return 1
    		}
    		return 0
    	}
    	for i := 0; i < intArgRegs; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/reflect/abi.go

    	stackCallArgsSize, retOffset, spill uintptr
    
    	// stackPtrs is a bitmap that indicates whether
    	// each word in the ABI stack space (stack-assigned
    	// args + return values) is a pointer. Used
    	// as the heap pointer bitmap for stack space
    	// passed to reflectcall.
    	stackPtrs *bitVector
    
    	// inRegPtrs is a bitmap whose i'th bit indicates
    	// whether the i'th integer argument register contains
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/runtime/mpagealloc.go

    //
    // Pages are managed using a bitmap that is sharded into chunks.
    // In the bitmap, 1 means in-use, and 0 means free. The bitmap spans the
    // process's address space. Chunks are managed in a sparse-array-style structure
    // similar to mheap.arenas, since the bitmap may be large on some systems.
    //
    // The bitmap is efficiently searched by using a radix tree in combination
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/mime.map

    image/x-portable-anymap        pnm              #
    image/x-portable-bitmap        pbm              #
    image/x-portable-graymap       pgm              #
    image/x-portable-pixmap        ppm              #
    image/x-rgb                    rgb              # RGB Image File
    image/x-xbitmap                xbm              # X-bitmap Image File
    image/x-xpixmap                xpm              # X-pixmap Image File
    image/x-xwindowdump            xwd              #
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  5. test/fixedbugs/issue15747.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 15747: liveness analysis was marking heap-escaped params live too much,
    // and worse was using the wrong bitmap bits to do so.
    
    package p
    
    var global *[]byte
    
    type Q struct{}
    
    type T struct{ M string }
    
    var b bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    }
    
    // return current length of bitmap in bits.
    func (bm Bitmap) Len() int {
    	return len(bm) * 32
    }
    
    // return the number of bits set.
    func (bm Bitmap) Count() int {
    	s := 0
    	for _, x := range bm {
    		s += bits.OnesCount32(x)
    	}
    	return s
    }
    
    func MakeBitmap(n int) Bitmap {
    	return make(Bitmap, (n+31)/32)
    }
    
    // growBitmap insures that the specified bitmap has enough capacity,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. src/runtime/mpallocbits_test.go

    		i, n uint // bit range to popcnt over.
    		want uint // expected popcnt result on that range.
    	}
    	tests := map[string]struct {
    		init  []BitRange // bit ranges to set to 1 in the bitmap.
    		tests []test     // a set of popcnt tests to run over the bitmap.
    	}{
    		"None": {
    			tests: []test{
    				{0, 1, 0},
    				{5, 3, 0},
    				{2, 11, 0},
    				{PallocChunkPages/4 + 1, PallocChunkPages / 2, 0},
    				{0, PallocChunkPages, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 22:00:17 UTC 2020
    - 13.7K bytes
    - Viewed (0)
  8. src/runtime/mpagecache.go

    // a pageCachePages*pageSize chunk of memory with 0 or more free
    // pages in it.
    type pageCache struct {
    	base  uintptr // base address of the chunk
    	cache uint64  // 64-bit bitmap representing free pages (1 means free)
    	scav  uint64  // 64-bit bitmap representing scavenged pages (1 means scavenged)
    }
    
    // empty reports whether the page cache has no free pages.
    func (c *pageCache) empty() bool {
    	return c.cache == 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. src/internal/abi/type.go

    )
    
    // MaxPtrmaskBytes is the maximum length of a GC ptrmask bitmap,
    // which holds 1-bit entries describing where pointers are in a given type.
    // Above this length, the GC information is recorded as a GC program,
    // which can express repetition compactly. In either form, the
    // information is used by the runtime to initialize the heap bitmap,
    // and for large types (like 128 or more words), they are roughly the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. pkg/registry/core/service/portallocator/storage/storage_test.go

    	}
    
    	// Allocate a port inside the valid port range
    	if err := storage.Allocate(30100); err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to allocate the same port in the local bitmap
    	// The local bitmap stores the offset of the port
    	// offset = port - base (30100 - 30000 = 100)
    	ok, err := backing.Allocate(100)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top