Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for freeindex (0.15 sec)

  1. src/runtime/malloc.go

    	if theBit < 64 {
    		result := s.freeindex + uint16(theBit)
    		if result < s.nelems {
    			freeidx := result + 1
    			if freeidx%64 == 0 && freeidx != s.nelems {
    				return 0
    			}
    			s.allocCache >>= uint(theBit + 1)
    			s.freeindex = freeidx
    			s.allocCount++
    			return gclinkptr(uintptr(result)*s.elemsize + s.base())
    		}
    	}
    	return 0
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    // or after s.freeindex.
    // There are hardware instructions that can be used to make this
    // faster if profiling warrants it.
    func (s *mspan) nextFreeIndex() uint16 {
    	sfreeindex := s.freeindex
    	snelems := s.nelems
    	if sfreeindex == snelems {
    		return sfreeindex
    	}
    	if sfreeindex > snelems {
    		throw("s.freeindex > s.nelems")
    	}
    
    	aCache := s.allocCache
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    	// freeindex is the slot index between 0 and nelems at which to begin scanning
    	// for the next free object in this span.
    	// Each allocation scans allocBits starting at freeindex until it encounters a 0
    	// indicating a free object. freeindex is then adjusted so that subsequent scans begin
    	// just past the newly discovered free object.
    	//
    	// If freeindex == nelem, this span has no free objects.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      private ImmutableSortedMap<K, V> getSubMap(int fromIndex, int toIndex) {
        if (fromIndex == 0 && toIndex == size()) {
          return this;
        } else if (fromIndex == toIndex) {
          return emptyMap(comparator());
        } else {
          return new ImmutableSortedMap<>(
              keySet.getSubSet(fromIndex, toIndex), valueList.subList(fromIndex, toIndex));
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug.go

    				if v == ev {
    					return
    				}
    			}
    		}
    		values = append(values, v)
    		f.NamedValues[sl] = values
    	}
    
    	newValues := []*Value{}
    
    	abiRegIndexToRegister := func(reg abi.RegIndex) int8 {
    		i := f.ABISelf.FloatIndexFor(reg)
    		if i >= 0 { // float PR
    			return f.Config.floatParamRegs[i]
    		} else {
    			return f.Config.intParamRegs[reg]
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    			}
    			dcinfo.Major = di.Major
    			dcinfo.Minor = di.Minor
    			dcinfo.Total = di.Total
    			dcinfo.Free = di.Free
    			dcinfo.Used = di.Used
    			dcinfo.UsedInodes = di.Files - di.Ffree
    			dcinfo.FreeInodes = di.Ffree
    			dcinfo.FSType = di.FSType
    			diskID, err := s.GetDiskID()
    			// Healing is 'true' when
    			// - if we found an unformatted disk (no 'format.json')
    			// - if we found healing tracker 'healing.bin'
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    		if metaV < 2 && ver.header.Type == DeleteType {
    			// load (and convert) version.
    			version, err := x.getIdx(i)
    			if err == nil {
    				// Only reindex if set.
    				_, ok1 := version.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationTimestamp]
    				_, ok2 := version.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp]
    				if ok1 || ok2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top