Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for checkindex (0.17 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

       *
       * @since 20.0
       */
      public static final class ScaleAndIndex {
    
        private final int scale;
        private final int index;
    
        private ScaleAndIndex(int scale, int index) {
          checkIndex(index, scale);
          this.scale = scale;
          this.index = index;
        }
    
        /**
         * Computes the quantile value of the given dataset.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/Quantiles.java

       *
       * @since 20.0
       */
      public static final class ScaleAndIndex {
    
        private final int scale;
        private final int index;
    
        private ScaleAndIndex(int scale, int index) {
          checkIndex(index, scale);
          this.scale = scale;
          this.index = index;
        }
    
        /**
         * Computes the quantile value of the given dataset.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  3. src/runtime/mpagealloc.go

    		// Fast path: we're clearing a single bit, and we know exactly
    		// where it is, so mark it directly.
    		i := chunkIndex(base)
    		pi := chunkPageIndex(base)
    		p.chunkOf(i).free1(pi)
    		p.scav.index.free(i, pi, 1)
    	} else {
    		// Slow path: we're clearing more bits so we may need to iterate.
    		sc, ec := chunkIndex(base), chunkIndex(limit)
    		si, ei := chunkPageIndex(base), chunkPageIndex(limit)
    
    		if sc == ec {
    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/runtime/export_test.go

    }
    
    func (s *ScavengeIndex) Find(force bool) (ChunkIdx, uint) {
    	ci, off := s.i.find(force)
    	return ChunkIdx(ci), off
    }
    
    func (s *ScavengeIndex) AllocRange(base, limit uintptr) {
    	sc, ec := chunkIndex(base), chunkIndex(limit-1)
    	si, ei := chunkPageIndex(base), chunkPageIndex(limit-1)
    
    	if sc == ec {
    		// The range doesn't cross any chunk boundaries.
    		s.i.alloc(sc, ei+1-si)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top