- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 456 for Bender (0.18 sec)
-
internal/crypto/header_test.go
if Requested(test.Header) != got { // Test if result matches. t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got) } got = got && SSEC.IsRequested(test.Header) if got != test.Expected { t.Errorf("SSE-C: Test %d: Wanted %v but got %v", i, test.Expected, got) } } } var kmsIsRequestedTests = []struct { Header http.Header Expected bool }{
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Jul 13 14:52:15 GMT 2022 - 21.4K bytes - Viewed (0) -
docs/em/docs/tutorial/header-params.md
๐ ๐ช ๐ฌ ๐ ๐ข ๐ ๐ ๐ ๐ฌ `Query`, `Path` & `Cookie` ๐ข. ## ๐ `Header` ๐ฅ ๐ `Header`: === "๐ 3๏ธโฃ.6๏ธโฃ & ๐" ```Python hl_lines="3" {!> ../../../docs_src/header_params/tutorial001.py!} ``` === "๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ & ๐" ```Python hl_lines="1" {!> ../../../docs_src/header_params/tutorial001_py310.py!} ``` ## ๐ฃ `Header` ๐ข โคด๏ธ ๐ฃ ๐ ๐ข โ๏ธ ๐ ๐ โฎ๏ธ `Path`, `Query` & `Cookie`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 3.2K bytes - Viewed (0) -
internal/s3select/simdj/reader.go
} // NewElementReader - creates new JSON reader using readCloser. func NewElementReader(ch chan simdjson.Object, err *error, args *json.ReaderArgs) *Reader { return &Reader{ args: args, decoded: ch, err: err, readCloser: nil, } } // safeCloser will wrap a Reader as a ReadCloser. // It is safe to call Close while the reader is being used. type safeCloser struct { closed uint32
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue May 30 17:02:22 GMT 2023 - 4.9K bytes - Viewed (0) -
internal/etag/reader.go
// // // Now, we need an io.Reader that can access // // the ETag computed over the content. // reader := etag.Wrap(encryptedContent, content) func Wrap(wrapped, content io.Reader) io.Reader { if t, ok := content.(Tagger); ok { return wrapReader{ Reader: wrapped, Tagger: t, } } return wrapReader{ Reader: wrapped, } } // A Reader wraps an io.Reader and computes the
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 4.8K bytes - Viewed (0) -
src/archive/tar/reader.go
"strconv" "strings" "time" ) // Reader provides sequential access to the contents of a tar archive. // Reader.Next advances to the next file in the archive (including the first), // and then Reader can be treated as an io.Reader to access the file's data. type Reader struct { r io.Reader pad int64 // Amount of padding (ignored) after current file entry curr fileReader // Reader for current file entry
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0) -
src/bytes/reader.go
m, err := w.Write(b) if m > len(b) { panic("bytes.Reader.WriteTo: invalid Write count") } r.i += int64(m) n = int64(m) if m != len(b) && err == nil { err = io.ErrShortWrite } return } // Reset resets the [Reader.Reader] to be reading from b. func (r *Reader) Reset(b []byte) { *r = Reader{b, 0, -1} } // NewReader returns a new [Reader.Reader] reading from b.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 3.9K bytes - Viewed (0) -
internal/crypto/header.go
var SSECopy = ssecCopy{} type ssecCopy struct{} // IsRequested returns true if the HTTP headers contains // at least one SSE-C copy header. Regular SSE-C headers // are ignored. func (ssecCopy) IsRequested(h http.Header) bool { if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm]; ok { return true } if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerKey]; ok { return true
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 2.9K bytes - Viewed (0) -
src/README.vendor
standard library in the src/vendor and src/cmd/vendor directories. There are two modules, std and cmd, defined in src/go.mod and src/cmd/go.mod. When a package outside std or cmd is imported by a package inside std or cmd, the import path is interpreted as if it had a "vendor/" prefix. For example, within "crypto/tls", an import of "golang.org/x/crypto/cryptobyte" resolves to "vendor/golang.org/x/crypto/cryptobyte". When a package with the
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 02 02:20:05 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import okio.ByteString import okio.ByteString.Companion.encodeUtf8 /** HTTP header: the name is an ASCII string, but the value can be UTF-8. */ data class Header( /** Name in case-insensitive ASCII encoding. */ @JvmField val name: ByteString,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
src/archive/zip/reader_test.go
return messWith("crc32-not-streamed.zip", func(b []byte) { // Corrupt foo.txt's final crc32 byte, in both // the file header and TOC. (0x7e -> 0x7f) b[0x11]++ b[0x9d]++ // TODO(bradfitz): add a new test that only corrupts // one of these values, and verify that that's also an // error. Currently, the reader code doesn't verify the // fileheader and TOC's crc32 match if they're both
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0)