Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for buffer_end (0.6 sec)

  1. src/encoding/xml/marshal.go

    	return depth == 0 && inquote == 0 && !incomment
    }
    
    // Flush flushes any buffered XML to the underlying writer.
    // See the [Encoder.EncodeToken] documentation for details about when it is necessary.
    func (enc *Encoder) Flush() error {
    	return enc.p.w.Flush()
    }
    
    // Close the Encoder, indicating that no more data will be written. It flushes
    // any buffered XML to the underlying writer and returns an error if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/net/net_fake.go

    	writeClosed     bool    // true if the writer of the queue has stopped writing; the reader sees either io.EOF or syscall.ECONNRESET when they have read all buffered packets
    	noLinger        bool    // if true, the reader sees ECONNRESET instead of EOF
    }
    
    // A packetQueue is a set of 1-buffered channels implementing a FIFO queue
    // of packets.
    type packetQueue struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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