Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 983 for poop (0.11 sec)

  1. pilot/pkg/status/resourcelock.go

    // WorkerQueue implements an expandable goroutine pool which executes at most one concurrent routine per target
    // resource.  Multiple calls to Push() will not schedule multiple executions per target resource, but will ensure that
    // the single execution uses the latest value.
    type WorkerQueue interface {
    	// Push a task.
    	Push(target Resource, controller *Controller, context any)
    	// Run the loop until a signal on the context
    	Run(ctx context.Context)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. releasenotes/notes/dns-localhost-loop.yaml

    John Howard <******@****.***> 1612556881 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 05 20:28:01 UTC 2021
    - 246 bytes
    - Viewed (0)
  3. src/sync/pool_test.go

    		t.Fatalf("got %v; want 3", v)
    	}
    }
    
    // Test that Pool does not hold pointers to previously cached resources.
    func TestPoolGC(t *testing.T) {
    	testPool(t, true)
    }
    
    // Test that Pool releases resources on GC.
    func TestPoolRelease(t *testing.T) {
    	testPool(t, false)
    }
    
    func testPool(t *testing.T, drain bool) {
    	var p Pool
    	const N = 100
    loop:
    	for try := 0; try < 3; try++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/main/assemblies/files/fess

    #    -v            print fess version, then exit
    #    -D prop       set JAVA system property
    #    -X prop       set non-standard JAVA system property
    #   --prop=val
    #   --prop val     set fess property (i.e.  -Des.<prop>=<val>)
    
    CDPATH=""
    SCRIPT="$0"
    
    # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
    while [ -h "$SCRIPT" ] ; do
      ls=`ls -ld "$SCRIPT"`
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. src/internal/poll/splice_linux.go

    // splicePipePool caches pipes to avoid high-frequency construction and destruction of pipe buffers.
    // The garbage collector will free all pipes in the sync.Pool periodically, thus we need to set up
    // a finalizer for each pipe to close its file descriptors before the actual GC.
    var splicePipePool = sync.Pool{New: newPoolPipe}
    
    func newPoolPipe() any {
    	// Discard the error which occurred during the creation of pipe buffer,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/resource/scale_int.go

    limitations under the License.
    */
    
    package resource
    
    import (
    	"math"
    	"math/big"
    	"sync"
    )
    
    var (
    	// A sync pool to reduce allocation.
    	intPool  sync.Pool
    	maxInt64 = big.NewInt(math.MaxInt64)
    )
    
    func init() {
    	intPool.New = func() interface{} {
    		return &big.Int{}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 20:41:44 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  7. test/chan/sieve2.go

    	composites := make(chan int, 50)
    
    	// The feedback loop.
    	primes := make(chan int, 10)
    	primes <- 3
    
    	// Merge channels of multiples of 'primes' into 'composites'.
    	go func() {
    		var h PeekChHeap
    		min := 15
    		for {
    			m := multiples(<-primes)
    			head := <-m
    			for min < head {
    				composites <- min
    				minchan := heap.Pop(&h).(*PeekCh)
    				min = minchan.head
    				minchan.head = <-minchan.ch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 3.9K bytes
    - Viewed (0)
  8. pkg/registry/core/service/allocator/bitmap.go

    	r.lock.Lock()
    	defer r.lock.Unlock()
    	return r.max - r.count
    }
    
    // Snapshot saves the current state of the pool.
    func (r *AllocationBitmap) Snapshot() (string, []byte) {
    	r.lock.Lock()
    	defer r.lock.Unlock()
    
    	return r.rangeSpec, r.allocated.Bytes()
    }
    
    // Restore restores the pool to the previously captured state.
    func (r *AllocationBitmap) Restore(rangeSpec string, data []byte) error {
    	r.lock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc

    std::array<int, 4> GetPadOpPaddingValues(const TorchAvgPoolData& pool) {
      int pad_bottom = pool.ph;
      int pad_right = pool.pw;
    
      if (pool.ceil_mode) {
        const int remaining_bottom = pool.h_in - ((pool.h_out - 1) * pool.sh);
        const int ceil_pad_bottom = pool.kh - remaining_bottom;
        pad_bottom = ceil_pad_bottom - pool.ph;
    
        const int remaining_right = pool.w_in - ((pool.w_out - 1) * pool.sw);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/hash/crc32/crc32_s390x.s

    //             buffer is on a doubleword boundary.
    //      R4:    Length of the buffer, must be 64 bytes or greater.
    //
    // Register usage:
    //
    //      R5:     CRC-32 constant pool base pointer.
    //      V0:     Initial CRC value and intermediate constants and results.
    //      V1..V4: Data for CRC computation.
    //      V5..V8: Next data chunks that are fetched from the input buffer.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 20 00:49:17 UTC 2021
    - 7.6K bytes
    - Viewed (0)
Back to top