Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for buffer_end (0.27 sec)

  1. pkg/controlplane/apiserver/options/options_test.go

    	"k8s.io/apiserver/pkg/admission"
    	apiserveroptions "k8s.io/apiserver/pkg/server/options"
    	"k8s.io/apiserver/pkg/storage/etcd3"
    	"k8s.io/apiserver/pkg/storage/storagebackend"
    	auditbuffered "k8s.io/apiserver/plugin/pkg/audit/buffered"
    	audittruncate "k8s.io/apiserver/plugin/pkg/audit/truncate"
    	cliflag "k8s.io/component-base/cli/flag"
    	"k8s.io/component-base/logs"
    	"k8s.io/component-base/metrics"
    	netutils "k8s.io/utils/net"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/image/gif/reader.go

    // implements io.ByteReader and buffers blocks into the decoder's "tmp" buffer.
    type blockReader struct {
    	d    *decoder
    	i, j uint8 // d.tmp[i:j] contains the buffered bytes
    	err  error
    }
    
    func (b *blockReader) fill() {
    	if b.err != nil {
    		return
    	}
    	b.j, b.err = readByte(b.d.r)
    	if b.j == 0 && b.err == nil {
    		b.err = io.EOF
    	}
    	if b.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/runtime/mwbbuf.go

    // buffer corruption.
    //
    // This must be non-preemptible because it uses the P's workbuf.
    //
    //go:nowritebarrierrec
    //go:systemstack
    func wbBufFlush1(pp *p) {
    	// Get the buffered pointers.
    	start := uintptr(unsafe.Pointer(&pp.wbBuf.buf[0]))
    	n := (pp.wbBuf.next - start) / unsafe.Sizeof(pp.wbBuf.buf[0])
    	ptrs := pp.wbBuf.buf[:n]
    
    	// Poison the buffer to make extra sure nothing is enqueued
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

      /**
       * Report and attempt to recover from a failure to communicate with a server. Returns true if
       * `e` is recoverable, or false if the failure is permanent. Requests with a body can only
       * be recovered if the body is buffered or if the failure occurred before the request has been
       * sent.
       */
      private fun recover(
        e: IOException,
        call: RealCall,
        userRequest: Request,
        requestSendStarted: Boolean,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go

    		assert.Equal(t, responseBody, string(testConnConstructor.mockConn.written), "extra data written to net.Conn")
    	})
    
    	// Partially written headers are buffered and decoded
    	t.Run("simple-byte-by-byte", func(t *testing.T) {
    		testConnConstructor := &mockConnInitializer{mockConn: &mockConn{}, initializeWriteConn: &mockConn{}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 02:21:50 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. cmd/kube-apiserver/app/options/options_test.go

    	"k8s.io/apiserver/pkg/admission"
    	apiserveroptions "k8s.io/apiserver/pkg/server/options"
    	"k8s.io/apiserver/pkg/storage/etcd3"
    	"k8s.io/apiserver/pkg/storage/storagebackend"
    	auditbuffered "k8s.io/apiserver/plugin/pkg/audit/buffered"
    	audittruncate "k8s.io/apiserver/plugin/pkg/audit/truncate"
    	cliflag "k8s.io/component-base/cli/flag"
    	"k8s.io/component-base/logs"
    	"k8s.io/component-base/metrics"
    	kapi "k8s.io/kubernetes/pkg/apis/core"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    	}
    	// local to remote, unbuffered
    	t.Run("unbuffered", func(t *testing.T) {
    		testHandler(t, handlerTest, false)
    	})
    	t.Run("buffered", func(t *testing.T) {
    		testHandler(t, handlerTest2, false)
    	})
    	t.Run("buffered", func(t *testing.T) {
    		testHandler(t, handlerTest2, true)
    	})
    }
    
    // testStreamDeadline will test if server
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. internal/dsync/drwmutex.go

    // does not exist in enough quorum nodes.
    func refreshLock(ctx context.Context, ds *Dsync, id, source string, quorum int) (bool, error) {
    	restClnts, _ := ds.GetLockers()
    
    	// Create buffered channel of size equal to total number of nodes.
    	ch := make(chan refreshResult, len(restClnts))
    	var wg sync.WaitGroup
    
    	args := LockArgs{
    		UID: id,
    	}
    
    	for index, c := range restClnts {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. src/compress/lzw/writer.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package lzw
    
    import (
    	"bufio"
    	"errors"
    	"fmt"
    	"io"
    )
    
    // A writer is a buffered, flushable writer.
    type writer interface {
    	io.ByteWriter
    	Flush() error
    }
    
    const (
    	// A code is a 12 bit value, stored as a uint32 when encoding to avoid
    	// type conversions when shifting bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. doc/go_mem.html

    </p>
    
    <p>
    This rule generalizes the previous rule to buffered channels.
    It allows a counting semaphore to be modeled by a buffered channel:
    the number of items in the channel corresponds to the number of active uses,
    the capacity of the channel corresponds to the maximum number of simultaneous uses,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top