- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 947 for Parses (0.33 sec)
-
src/text/template/parse/parse.go
case *WithNode: default: panic("unknown node: " + n.String()) } return false } // parse is the top-level parser for a template, essentially the same // as itemList except it also parses {{define}} actions. // It runs to EOF. func (t *Tree) parse() { t.Root = t.newList(t.peek().pos) for t.peek().typ != itemEOF { if t.peek().typ == itemLeftDelim { delim := t.next()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 21.3K bytes - Viewed (0) -
src/cmd/internal/pgo/deserialize.go
// Empty file. return false, nil } else if err != nil { return false, fmt.Errorf("error reading profile header: %w", err) } return string(hdr) == serializationHeader, nil } // FromSerialized parses a profile from serialization output of Profile.WriteTo. func FromSerialized(r io.Reader) (*Profile, error) { d := emptyProfile() scanner := bufio.NewScanner(r) scanner.Split(bufio.ScanLines) if !scanner.Scan() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 2.7K bytes - Viewed (0) -
src/syscall/dirent.go
case 4: return uint64(byteorder.LeUint32(b)) case 8: return uint64(byteorder.LeUint64(b)) default: panic("syscall: readInt with unsupported size") } } // ParseDirent parses up to max directory entries in buf, // appending the names to names. It returns the number of // bytes consumed from buf, the number of entries added // to names, and the new names slice.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:13:24 UTC 2024 - 2.4K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
) // ExpirationDays is a type alias to unmarshal Days in Expiration type ExpirationDays int // UnmarshalXML parses number of days from Expiration and validates if // greater than zero func (eDays *ExpirationDays) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error { var numDays int
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 6.6K bytes - Viewed (0) -
src/internal/trace/testtrace/expectation.go
return fmt.Errorf("unexpected error while reading the trace: want something matching %q, got %s", e.errorMatcher, err.Error()) } return nil } // ParseExpectation parses the serialized form of an Expectation. func ParseExpectation(data []byte) (*Expectation, error) { exp := new(Expectation) s := bufio.NewScanner(bytes.NewReader(data)) if s.Scan() { c := strings.SplitN(s.Text(), " ", 2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.3K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.go
// See the License for the specific language governing permissions and // limitations under the License. // This is a sample chained plugin that supports multiple CNI versions. It // parses prevResult according to the cniVersion package plugin import ( "fmt" "github.com/containernetworking/plugins/pkg/ns" "istio.io/istio/pkg/log" "istio.io/istio/tools/istio-iptables/pkg/cmd"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 17:36:41 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/compile/internal/types/goversion.go
if langWant.major > defVers.major || (langWant.major == defVers.major && langWant.minor > defVers.minor) { log.Fatalf("invalid value %q for -lang: max known version is %q", base.Flag.Lang, def) } } } // parseLang parses a -lang option into a langVer. func parseLang(s string) (lang, error) { if s == "go1" { // cmd/go's new spelling of "go1.0" (#65528) s = "go1.0" } matches := goVersionRE.FindStringSubmatch(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 21:36:02 UTC 2024 - 2.4K bytes - Viewed (0) -
src/syscall/sockcmsg_unix.go
} // SocketControlMessage represents a socket control message. type SocketControlMessage struct { Header Cmsghdr Data []byte } // ParseSocketControlMessage parses b as an array of socket control // messages. func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) { var msgs []SocketControlMessage i := 0 for i+CmsgLen(0) <= len(b) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/trace/raw/reader.go
// license that can be found in the LICENSE file. package raw import ( "bufio" "encoding/binary" "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 }
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/cmd/vendor/golang.org/x/text/language/language.go
// Make is a convenience wrapper for Parse that omits the error. // In case of an error, a sensible default is returned. func Make(s string) Tag { return Default.Make(s) } // Make is a convenience wrapper for c.Parse that omits the error. // In case of an error, a sensible default is returned. func (c CanonType) Make(s string) Tag { t, _ := c.Parse(s) return t }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 18.9K bytes - Viewed (0)