Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for popPod (0.06 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    // source can change over time - i.e. for watchCache circular
    // buffer. When the circular buffer is full and an event needs
    // to be popped off, watchCache::startIndex is incremented. In
    // this case, an interval tracking that popped event is valid
    // only if it has already been copied to its internal buffer.
    // However, for efficiency we perform that lazily and we mark
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. src/go/ast/commentmap.go

    	s.pop(n.Pos())
    	*s = append((*s), n)
    }
    
    // pop pops all nodes that appear lexically before pos
    // (i.e., whose lexical extent has ended before or at pos).
    // It returns the last node popped.
    func (s *nodeStack) pop(pos token.Pos) (top Node) {
    	i := len(*s)
    	for i > 0 && (*s)[i-1].End() <= pos {
    		top = (*s)[i-1]
    		i--
    	}
    	*s = (*s)[0:i]
    	return top
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top