- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,085 for MReader (0.19 sec)
-
src/internal/trace/reader.go
} // NewReader creates a new trace reader. func NewReader(r io.Reader) (*Reader, error) { br := bufio.NewReader(r) v, err := version.ReadHeader(br) if err != nil { return nil, err } switch v { case version.Go111, version.Go119, version.Go121: tr, err := oldtrace.Parse(br, v) if err != nil { return nil, err } return &Reader{ go121Events: convertOldFormat(tr), }, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.7K bytes - Viewed (0) -
src/image/gif/reader.go
errTooMuch = errors.New("gif: too much image data") errBadPixel = errors.New("gif: invalid pixel value") ) // If the io.Reader does not also have ReadByte, then decode will introduce its own buffering. type reader interface { io.Reader io.ByteReader } // Masks etc. const ( // Fields. fColorTable = 1 << 7 fInterlace = 1 << 6 fColorTableBitsMask = 7
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:15:54 UTC 2024 - 17.5K 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
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) -
src/encoding/csv/reader.go
} // A Reader reads records from a CSV-encoded file. // // As returned by [NewReader], a Reader expects input conforming to RFC 4180. // The exported fields can be changed to customize the details before the // first call to [Reader.Read] or [Reader.ReadAll]. // // The Reader converts all \r\n sequences in its input to plain \n,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:32:28 UTC 2024 - 14.2K bytes - Viewed (0) -
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) -
src/internal/trace/raw/reader.go
"fmt" "io" "internal/trace/event" "internal/trace/version" ) // Reader parses trace bytes with only very basic validation // into an event stream. type Reader struct { r *bufio.Reader v version.Version specs []event.Spec } // NewReader creates a new reader for the trace wire format. func NewReader(r io.Reader) (*Reader, error) { br := bufio.NewReader(r) v, err := version.ReadHeader(br)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.2K bytes - Viewed (0) -
src/go/doc/reader.go
// AST reader // reader accumulates documentation for a single package. // It modifies the AST: Comments (declaration documentation) // that have been collected by the reader are set to nil // in the respective AST nodes so that they are not printed // twice (once when printing the documentation and once when // printing the corresponding AST node). type reader struct { mode Mode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0) -
docs/de/docs/tutorial/header-params.md
# Header-Parameter So wie `Query`-, `Path`-, und `Cookie`-Parameter können Sie auch <abbr title='Header – Kopfzeilen, Header, Header-Felder: Schlüssel-Wert-Metadaten, die vom Client beim Request, und vom Server bei der Response gesendet werden'>Header</abbr>-Parameter definieren. ## `Header` importieren Importieren Sie zuerst `Header`: === "Python 3.10+" ```Python hl_lines="3" {!> ../../../docs_src/header_params/tutorial001_an_py310.py!}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:00:50 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/header-params.md
{!> ../../../docs_src/header_params/tutorial001.py!} ``` !!! note "技术细节" `Header` 是 `Path`、`Query`、`Cookie` 的**兄弟类**,都继承自共用的 `Param` 类。 注意,从 `fastapi` 导入的 `Query`、`Path`、`Header` 等对象,实际上是返回特殊类的函数。 !!! info "说明" 必须使用 `Header` 声明 header 参数,否则该参数会被解释为查询参数。 ## 自动转换 `Header` 比 `Path`、`Query` 和 `Cookie` 提供了更多功能。 大部分标准请求头用**连字符**分隔,即**减号**(`-`)。
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 22:42:51 UTC 2024 - 5.4K bytes - Viewed (0)