Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,476 for leader (0.04 seconds)

  1. internal/http/request-recorder.go

    package http
    
    import (
    	"bytes"
    	"io"
    )
    
    // RequestRecorder - records the
    // of a given io.Reader
    type RequestRecorder struct {
    	// Data source to record
    	io.Reader
    	// Response body should be logged
    	LogBody bool
    
    	// internal recording buffer
    	buf bytes.Buffer
    	// total bytes read including header size
    	bytesRead int
    }
    
    // Close is a no operation closer
    func (r *RequestRecorder) Close() error {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 12 21:37:19 GMT 2023
    - 1.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        body.writeTo(bodyContent)
    
        val reader = MultipartReader(bodyContent, "boundary")
    
        val quickPart = reader.nextPart()!!
        assertThat(quickPart.headers).isEqualTo(
          headersOf(
            "Content-Type",
            "text/plain; charset=utf-8",
          ),
        )
        assertThat(quickPart.body.readUtf8()).isEqualTo("Quick")
    
        val brownPart = reader.nextPart()!!
        assertThat(brownPart.headers).isEqualTo(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.21.md

    ### Feature
    
    - Add flag --lease-max-object-size and metric etcd_lease_object_counts for kube-apiserver to config and observe max objects attached to a single etcd lease. ([#97480](https://github.com/kubernetes/kubernetes/pull/97480), [@lingsamuel](https://github.com/lingsamuel)) [SIG API Machinery, Instrumentation and Scalability]
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Click Count (0)
  4. fastapi/security/api_key.py

    
    class APIKeyHeader(APIKeyBase):
        """
        API key authentication using a header.
    
        This defines the name of the header that should be provided in the request with
        the API key and integrates that into the OpenAPI documentation. It extracts
        the key value sent in the header automatically and provides it as the dependency
        result. But it doesn't define how to send that key to the client.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  5. fastapi/security/http.py

        The HTTP authorization header value is split by the first space.
    
        The first part is the `scheme`, the second part is the `credentials`.
    
        For example, in an HTTP Bearer token scheme, the client will send a header
        like:
    
        ```
        Authorization: Bearer deadbeef12346
        ```
    
        In this case:
    
        * `scheme` will have the value `"Bearer"`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  6. internal/grid/grid_types_msgp_test.go

    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    package grid
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *testRequest) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. src/archive/tar/common.go

    // For forward compatibility, users that retrieve a Header from Reader.Next,
    // mutate it in some ways, and then pass it back to Writer.WriteHeader
    // should do so by creating a new Header and copying the fields
    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    	// The zero value is automatically promoted to either TypeReg or TypeDir
    	// depending on the presence of a trailing slash in Name.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

            super(invokerRequest, true, upgradeOptions);
        }
    
        public Map<String, Goal> goals;
    
        public List<AttributedString> header;
        public AttributedStyle style;
        public LineReader reader;
    
        // Indentation control for nested logging
        private int indentLevel = 0;
        private String indentString = Indentation.DEFAULT;
    
        public void addInHeader(String text) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

     */
    class Http2Reader(
      /** Creates a frame reader with max header table size of 4096. */
      private val source: BufferedSource,
      private val client: Boolean,
    ) : Closeable {
      private val continuation: ContinuationSource = ContinuationSource(this.source)
      private val hpackReader: Hpack.Reader =
        Hpack.Reader(
          source = continuation,
          headerTableSizeSetting = 4096,
        )
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 19.8K bytes
    - Click Count (0)
  10. docs/debugging/inspect/export.go

    			}
    			type version struct {
    				Idx      int
    				Header   json.RawMessage
    				Metadata json.RawMessage
    			}
    			versions := make([]version, nVers)
    			e = decodeVersions(v, nVers, func(idx int, hdr, meta []byte) error {
    				var header xlMetaV2VersionHeaderV2
    				if _, e := header.UnmarshalMsg(hdr); e != nil {
    					return e
    				}
    				b, e := header.MarshalJSON()
    				if e != nil {
    					return e
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (1)
Back to Top