- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 189 for buffer_end (0.26 sec)
-
pkg/kubelet/pod_container_deletor.go
package kubelet import ( "context" "sort" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/klog/v2" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" ) const ( // The limit on the number of buffered container deletion requests // This number is a bit arbitrary and may be adjusted in the future. containerDeletorBufferLimit = 50 ) type containerStatusbyCreatedList []*kubecontainer.Status
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 05 13:02:13 UTC 2022 - 4K bytes - Viewed (0) -
src/bufio/bufio_test.go
t.Error("expected flush error, got nil") } if _, err := wr.ReadFrom(strings.NewReader("test2")); err == nil { t.Fatal("expected error, got nil") } if buffered := wr.Buffered(); buffered != wantBuffered { t.Fatalf("Buffered = %v; want %v", buffered, wantBuffered) } } func BenchmarkReaderCopyOptimal(b *testing.B) { // Optimal case is where the underlying reader implements io.WriterTo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:56:01 UTC 2023 - 51.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 5.2K bytes - Viewed (0) -
src/mime/quotedprintable/writer.go
} w.line[w.i] = '=' w.line[w.i+1] = upperhex[b>>4] w.line[w.i+2] = upperhex[b&0x0f] w.i += 3 return nil } const upperhex = "0123456789ABCDEF" // checkLastByte encodes the last buffered byte if it is a space or a tab. func (w *Writer) checkLastByte() error { if w.i == 0 { return nil } b := w.line[w.i-1] if isWhitespace(b) { w.i-- if err := w.encode(b); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy
stream.close() } then: 1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested } } def "read bytes continues to return buffered content when stream is closed"() { def dispatch = Mock(OutputEventListener) def stream = new StdInStream(dispatch) def text = "some text" def bytes = text.bytes when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/scheduler/metrics/metric_recorder.go
labelValues: []string{pluginName, extensionPoint, status}, value: value, } select { case r.bufferCh <- newMetric: default: } } // run flushes buffered metrics into Prometheus every second. func (r *MetricAsyncRecorder) run() { for { select { case <-r.stopCh: close(r.IsStoppedCh) return default: } r.FlushMetrics()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 16 07:27:08 UTC 2023 - 4.4K bytes - Viewed (0) -
src/time/sleep.go
// (Code may of course still want to call Stop to stop the timer for other reasons.) // // Before Go 1.23, the channel associated with a Timer was // asynchronous (buffered, capacity 1), which meant that // stale time values could be received even after [Timer.Stop] // or [Timer.Reset] returned. // As of Go 1.23, the channel is synchronous (unbuffered, capacity 0),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/lease_manager.go
config.MaxObjectCount = defaultLeaseMaxObjectCount } return newLeaseManager(client, config.ReuseDurationSeconds, 0.05, config.MaxObjectCount) } // newLeaseManager creates a new lease manager with the number of buffered // leases, lease reuse duration in seconds and percentage. The percentage // value x means x*100%.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 15 13:53:06 UTC 2021 - 4.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/watch/mux.go
// until all events have been distributed through the outbound channels. Note // that since they can be buffered, this means that the watchers might not // have received the data yet as it can remain sitting in the buffered // channel. It will block until the broadcaster stop request is actually executed func (m *Broadcaster) Shutdown() { m.blockQueue(func() { close(m.stopped)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 16 15:26:36 UTC 2022 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java
} catch (KryoException e) { throw maybeEndOfStream(e); } } /** * Returns the total number of bytes consumed by this decoder. Some additional bytes may also be buffered by this decoder but have not been consumed. */ public long getReadPosition() { return input.total() + extraSkipped; } @Override public void close() throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.2K bytes - Viewed (0)