- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 729 for Parses (0.13 sec)
-
src/cmd/vendor/golang.org/x/build/relnote/relnote.go
"strings" md "rsc.io/markdown" ) // NewParser returns a properly configured Markdown parser. func NewParser() *md.Parser { var p md.Parser p.HeadingIDs = true return &p } // CheckFragment reports problems in a release-note fragment. func CheckFragment(data string) error { doc := NewParser().Parse(data) // Check that the content of the document contains either a TODO or at least one sentence. txt := ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.7K bytes - Viewed (0) -
src/compress/bzip2/bzip2.go
bz2 := new(reader) bz2.br = newBitReader(r) return bz2 } const bzip2FileMagic = 0x425a // "BZ" const bzip2BlockMagic = 0x314159265359 const bzip2FinalMagic = 0x177245385090 // setup parses the bzip2 header. func (bz2 *reader) setup(needMagic bool) error { br := &bz2.br if needMagic { magic := br.ReadBits(16) if magic != bzip2FileMagic { return StructuralError("bad magic value") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 13K bytes - Viewed (0) -
src/net/udpsock.go
// // If the host in the address parameter is not a literal IP address or // the port is not a literal port number, ResolveUDPAddr resolves the // address to an address of UDP end point. // Otherwise, it parses the address as a pair of literal IP address // and port number. // The address parameter can use a host name, but this is not // recommended, because it will return at most one of the host name's // IP addresses. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 16:58:25 UTC 2023 - 11.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_server_journal.go
sinceTime, err = time.Parse(time.RFC3339, sinceTimeValue) if err != nil { allErrs = append(allErrs, field.Invalid(field.NewPath("sinceTime"), sinceTimeValue, "invalid time format")) } else { nlq.SinceTime = &sinceTime } } var untilTime time.Time untilTimeValue := query.Get("untilTime") if len(untilTimeValue) > 0 { untilTime, err = time.Parse(time.RFC3339, untilTimeValue)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 18:56:28 UTC 2023 - 13.5K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
"cmd/internal/objabi" "cmd/internal/src" ) // Input is the main input: a stack of readers and some macro definitions. // It also handles #include processing (by pushing onto the input stack) // and parses and instantiates macro definitions. type Input struct { Stack includes []string beginningOfLine bool ifdefStack []bool macros map[string]*Macro
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 12.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
return nopos, err.Error() } } // absDiff returns the absolute difference between x and y. func absDiff(x, y uint) uint { if x < y { return y - x } return x - y } // parseFlags parses flags from the first line of the given source if the line // starts with "//" (line comment) followed by "-" (possibly with spaces // between). Otherwise the line is ignored. func parseFlags(src []byte, flags *flag.FlagSet) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
src/internal/profile/profile.go
SystemName string Filename string StartLine int64 nameX int64 systemNameX int64 filenameX int64 } // Parse parses a profile and checks for its validity. The input must be an // encoded pprof protobuf, which may optionally be gzip-compressed. func Parse(r io.Reader) (*Profile, error) { orig, err := io.ReadAll(r) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 17:57:40 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns.go
klog.V(4).InfoS("Check limits for resolv.conf failed", "eventlog", log) return } } // parseResolvConf reads a resolv.conf file from the given reader, and parses // it into nameservers, searches and options, possibly returning an error. func parseResolvConf(reader io.Reader) (nameservers []string, searches []string, options []string, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 04 11:37:10 UTC 2023 - 16.1K bytes - Viewed (0) -
src/flag/flag.go
} return nil } // Parsed reports whether f.Parse has been called. func (f *FlagSet) Parsed() bool { return f.parsed } // Parse parses the command-line flags from [os.Args][1:]. Must be called // after all flags are defined and before flags are accessed by the program. func Parse() { // Ignore errors; CommandLine is set for ExitOnError. CommandLine.Parse(os.Args[1:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 39.7K bytes - Viewed (0) -
src/go/types/check_test.go
) var fset = token.NewFileSet() func parseFiles(t *testing.T, filenames []string, srcs [][]byte, mode parser.Mode) ([]*ast.File, []error) { var files []*ast.File var errlist []error for i, filename := range filenames { file, err := parser.ParseFile(fset, filename, srcs[i], mode) if file == nil { t.Fatalf("%s: %s", filename, err) } files = append(files, file) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0)