Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Resets (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/wait/loop_test.go

    	}
    }
    
    type timerWrapper struct {
    	timer   clock.Timer
    	resets  []time.Duration
    	onReset func(d time.Duration)
    }
    
    func (w *timerWrapper) C() <-chan time.Time { return w.timer.C() }
    func (w *timerWrapper) Stop() bool          { return w.timer.Stop() }
    func (w *timerWrapper) Reset(d time.Duration) bool {
    	w.resets = append(w.resets, d)
    	b := w.timer.Reset(d)
    	if w.onReset != nil {
    		w.onReset(d)
    	}
    	return b
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 02:48:08 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/block.go

    		b.AddControl(c)
    	}
    }
    
    // Reset sets the block to the provided kind and clears all the blocks control
    // and auxiliary values. Other properties of the block, such as its successors,
    // predecessors and values are left unmodified.
    func (b *Block) Reset(kind BlockKind) {
    	b.Kind = kind
    	b.ResetControls()
    	b.Aux = nil
    	b.AuxInt = 0
    }
    
    // resetWithControl resets b and adds control v.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    }
    
    // flush appends the normalized segment to out and resets rb.
    func (rb *reorderBuffer) flush(out []byte) []byte {
    	for i := 0; i < rb.nrune; i++ {
    		start := rb.rune[i].pos
    		end := start + rb.rune[i].size
    		out = append(out, rb.byte[start:end]...)
    	}
    	rb.reset()
    	return out
    }
    
    // flushCopy copies the normalized segment to buf and resets rb.
    // It returns the number of bytes written to buf.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java

                    if (isUnchanged) {
                        LOGGER.info("Cached resource {} is up-to-date (lastModified: {}).", location, cached.getExternalLastModified());
                        // Update the cache entry in the index: this resets the age of the cached entry to zero
                        cachedExternalResourceIndex.store(location.toString(), cached.getCachedFile(), cached.getExternalResourceMetaData());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/text/unicode/norm/composition.go

    }
    
    // flush appends the normalized segment to out and resets rb.
    func (rb *reorderBuffer) flush(out []byte) []byte {
    	for i := 0; i < rb.nrune; i++ {
    		start := rb.rune[i].pos
    		end := start + rb.rune[i].size
    		out = append(out, rb.byte[start:end]...)
    	}
    	rb.reset()
    	return out
    }
    
    // flushCopy copies the normalized segment to buf and resets rb.
    // It returns the number of bytes written to buf.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

            });
        }
    
        /**
         * Executes the requested build, asserting that the build succeeds. Resets the configuration of this executer.
         *
         * @return The result.
         */
        ExecutionResult run();
    
        /**
         * Executes the requested build, asserting that the build fails. Resets the configuration of this executer.
         *
         * @return The result.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go

    	etcdBookmarkCounts.WithLabelValues(resource).Inc()
    }
    
    // RecordDecodeError sets the storage_decode_errors metrics.
    func RecordDecodeError(resource string) {
    	decodeErrorCounts.WithLabelValues(resource).Inc()
    }
    
    // Reset resets the etcd_request_duration_seconds metric.
    func Reset() {
    	etcdRequestLatency.Reset()
    }
    
    // sinceInSeconds gets the time since the specified start in seconds.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    	}
    }
    
    // SetGetPreferredAllocFunc sets allocFunc of the device plugin
    func (m *Stub) SetGetPreferredAllocFunc(f stubGetPreferredAllocFunc) {
    	m.getPreferredAllocFunc = f
    }
    
    // SetAllocFunc sets allocFunc of the device plugin
    func (m *Stub) SetAllocFunc(f stubAllocFunc) {
    	m.allocFunc = f
    }
    
    // SetRegisterControlFunc sets RegisterControlFunc of the device plugin
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. cmd/http-stats.go

    }
    
    func (st *HTTPStats) addRequestsInQueue(i int32) {
    	atomic.AddInt32(&st.s3RequestsInQueue, i)
    }
    
    func (st *HTTPStats) incS3RequestsIncoming() {
    	// Golang automatically resets to zero if this overflows
    	atomic.AddUint64(&st.s3RequestsIncoming, 1)
    }
    
    // Converts http stats into struct to be sent back to the client.
    func (st *HTTPStats) toServerHTTPStats(toLowerKeys bool) ServerHTTPStats {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/compress/flate/inflate.go

    }
    
    // Resetter resets a ReadCloser returned by [NewReader] or [NewReaderDict]
    // to switch to a new underlying [Reader]. This permits reusing a ReadCloser
    // instead of allocating a new one.
    type Resetter interface {
    	// Reset discards any buffered data and resets the Resetter as if it was
    	// newly initialized with the given reader.
    	Reset(r io.Reader, dict []byte) error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top