Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 204 for Bitmap (0.14 sec)

  1. src/runtime/mheap.go

    	spans [pagesPerArena]*mspan
    
    	// pageInUse is a bitmap that indicates which spans are in
    	// state mSpanInUse. This bitmap is indexed by page number,
    	// but only the bit corresponding to the first page in each
    	// span is used.
    	//
    	// Reads and writes are atomic.
    	pageInUse [pagesPerArena / 8]uint8
    
    	// pageMarks is a bitmap that indicates which spans have any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/ipam/cidrset/cidr_set.go

    	nextCandidate int
    	// used is a bitmap used to track the CIDRs allocated
    	used big.Int
    	// label is used to identify the metrics
    	label string
    }
    
    const (
    	// The subnet mask size cannot be greater than 16 more than the cluster mask size
    	// TODO: https://github.com/kubernetes/kubernetes/issues/44918
    	// clusterSubnetMaxDiff limited to 16 due to the uncompressed bitmap
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/pcln.go

    	ldr.SetAttrReachable(state.findfunctab, true)
    	ldr.SetAttrLocal(state.findfunctab, true)
    }
    
    // findContainerSyms returns a bitmap, indexed by symbol number, where there's
    // a 1 for every container symbol.
    func (ctxt *Link) findContainerSyms() loader.Bitmap {
    	ldr := ctxt.loader
    	container := loader.MakeBitmap(ldr.NSym())
    	// Find container symbols and mark them as such.
    	for _, s := range ctxt.Textp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typebits/typebits.go

    // license that can be found in the LICENSE file.
    
    package typebits
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/bitvec"
    	"cmd/compile/internal/types"
    )
    
    // NOTE: The bitmap for a specific type t could be cached in t after
    // the first run and then simply copied into bv at the correct offset
    // on future calls with the same type t.
    func Set(t *types.Type, off int64, bv bitvec.BitVec) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/heapdump.go

    		}
    		n := nptr/8 + 1
    		p := sysAlloc(n, &memstats.other_sys)
    		if p == nil {
    			throw("heapdump: out of memory")
    		}
    		tmpbuf = (*[1 << 30]byte)(p)[:n]
    	}
    	// Convert heap bitmap to pointer bitmap.
    	clear(tmpbuf[:nptr/8+1])
    	s := spanOf(p)
    	tp := s.typePointersOf(p, size)
    	for {
    		var addr uintptr
    		if tp, addr = tp.next(p + size); addr == 0 {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. pkg/controller/nodeipam/node_ipam_controller.go

    	cidrAllocator ipam.CIDRAllocator
    }
    
    // NewNodeIpamController returns a new node IP Address Management controller to
    // sync instances from cloudprovider.
    // This method returns an error if it is unable to initialize the CIDR bitmap with
    // podCIDRs it has already allocated to nodes. Since we don't allow podCIDR changes
    // currently, this should be handled as a fatal error.
    func NewNodeIpamController(
    	ctx context.Context,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/device_util.h

     private:
      int id_;
    
      explicit DeviceId(int id) : id_(id) {}
    
      int id() const { return id_; }
    
      friend class DeviceInfoCache;
      friend class DeviceSet;
    };
    
    // A set of DeviceIds, represented as a bitmap.
    class DeviceSet {
     public:
      void Insert(DeviceId device_id);
      void UnionWith(const DeviceSet& other);
      bool IsEmpty() const;
    
      // Calls `func` on each DeviceId in the set.  Stops iterating early if `func`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/go/doc/comment/parse.go

    		return true
    	}
    	return false
    }
    
    // isHost reports whether c is a byte that can appear in a URL host,
    // like www.example.com or user@[::1]:8080
    func isHost(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    	// so that the byte c can be tested with a shift and an and.
    	// If c > 128, then 1<<c and 1<<(c-64) will both be zero,
    	// and this function will return false.
    	const mask = 0 |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  9. src/runtime/mgcsweep.go

    			} else {
    				mheap_.freeSpan(s)
    			}
    			if s.largeType != nil && s.largeType.TFlag&abi.TFlagUnrolledBitmap != 0 {
    				// The unrolled GCProg bitmap is allocated separately.
    				// Free the space for the unrolled bitmap.
    				systemstack(func() {
    					s := spanOf(uintptr(unsafe.Pointer(s.largeType)))
    					mheap_.freeManual(s, spanAllocPtrScalarBits)
    				})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. src/runtime/gcinfo_test.go

    		// the size of the type, up to the size of the size class. This space
    		// is safe for the GC to scan since it's zero, and GCBits checks to
    		// make sure that's true. But we need to handle the fact that the bitmap
    		// may be larger than we expect.
    		return
    	}
    	t.Errorf("bad GC program for %v:\nwant %+v\ngot  %+v", name, mask0, mask)
    }
    
    func trimDead(mask []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top