Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,049 for leaders (0.29 sec)

  1. src/net/http/header.go

    // [CanonicalHeaderKey].
    func (h Header) Del(key string) {
    	textproto.MIMEHeader(h).Del(key)
    }
    
    // Write writes a header in wire format.
    func (h Header) Write(w io.Writer) error {
    	return h.write(w, nil)
    }
    
    func (h Header) write(w io.Writer, trace *httptrace.ClientTrace) error {
    	return h.writeSubset(w, nil, trace)
    }
    
    // Clone returns a copy of h or nil if h is nil.
    func (h Header) Clone() Header {
    	if h == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. internal/hash/reader.go

    func (r *Reader) AddChecksumNoTrailer(headers http.Header, ignoreValue bool) error {
    	cs, err := GetContentChecksum(headers)
    	if err != nil {
    		return ErrInvalidChecksum
    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    
    // AddNonTrailingChecksum will add a checksum to the reader.
    // The checksum cannot be trailing.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. src/net/textproto/reader.go

    // the size of responses.
    func NewReader(r *bufio.Reader) *Reader {
    	return &Reader{R: r}
    }
    
    // ReadLine reads a single line from r,
    // eliding the final \n or \r\n from the returned string.
    func (r *Reader) ReadLine() (string, error) {
    	line, err := r.readLineSlice(-1)
    	return string(line), err
    }
    
    // ReadLineBytes is like [Reader.ReadLine] but returns a []byte instead of a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/kotlin/src/headers/headers.txt

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/duplicate-header-match.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: duplicate-header-match
    spec:
      rules:
      - matches:
        - headers:
          - name: foo
            value: bar
          - name: foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 220 bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

                #define HEADER_NAME "hello.h"
                #define HEADER_(X, Y) X ## Y
                #define HEADER(X, Y) HEADER_(X, Y)
                #define PREFIX HEADER_
                #define SUFFIX NAME
                #include HEADER(PREFIX, SUFFIX) // replaced with HEADER_(HEADER_, NAME) then HEADER_NAME then "hello.h"
            """
    
            expect:
            resolve() == [header]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HeadersTest.kt

        val headers1 =
          Headers.Builder()
            .add("Connection", "close")
            .add("Transfer-Encoding", "chunked")
            .build()
        val headers2 =
          Headers.Builder()
            .add("Connection", "keep-alive")
            .add("Transfer-Encoding", "chunked")
            .build()
        assertThat(headers2).isNotEqualTo(headers1)
        assertThat(headers2.hashCode()).isNotEqualTo(headers1.hashCode().toLong())
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/testing/iotest/reader.go

    // Package iotest implements Readers and Writers useful mainly for testing.
    package iotest
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    )
    
    // OneByteReader returns a Reader that implements
    // each non-empty Read by reading one byte from r.
    func OneByteReader(r io.Reader) io.Reader { return &oneByteReader{r} }
    
    type oneByteReader struct {
    	r io.Reader
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-header-name.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: invalid-header-name
    spec:
      rules:
      - matches:
        - headers:
          - type: Exact
            name: magic/
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 203 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/src/headers/headers.txt

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - Viewed (0)
Back to top