- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,615 for Parses (0.18 sec)
-
src/vendor/golang.org/x/net/route/address.go
} _, a, err := parseKernelLinkAddr(syscall.AF_LINK, b[4:]) if err != nil { return nil, err } a.(*LinkAddr).Index = int(nativeEndian.Uint16(b[2:4])) return a, nil } // parseKernelLinkAddr parses b as a link-layer address in // conventional BSD kernel form. func parseKernelLinkAddr(_ int, b []byte) (int, Addr, error) { // The encoding looks like the following: // +----------------------------+
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.9K 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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h
public: static StringRef getDialectNamespace() { return "tf_executor"; } explicit TensorFlowExecutorDialect(MLIRContext *context); // Parses a type registered to this dialect. Type parseType(DialectAsmParser &parser) const override; // Prints a type registered to this dialect. void printType(Type type, DialectAsmPrinter &os) const override; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 07:17:01 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testing.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements testing support. package syntax import ( "io" "regexp" ) // CommentsDo parses the given source and calls the provided handler for each // comment or error. If the text provided to handler starts with a '/' it is // the comment text; otherwise it is the error message.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:53:18 UTC 2023 - 2.1K 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/internal/quoted/quoted.go
buf = append(buf, '"') default: return "", fmt.Errorf("argument %q contains both single and double quotes and cannot be quoted", arg) } } return string(buf), nil } // A Flag parses a list of string arguments encoded with Join. // It is useful for flags like cmd/link's -extldflags. type Flag []string var _ flag.Value = (*Flag)(nil) func (f *Flag) Set(v string) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 21:04:06 UTC 2022 - 2.8K 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/cmd/go/internal/vcweb/auth.go
// authHandler serves requests only if the Basic Auth data sent with the request // matches the contents of a ".access" file in the requested directory. // // For each request, the handler looks for a file named ".access" and parses it // as a JSON-serialized accessToken. If the credentials from the request match // the accessToken, the file is served normally; otherwise, it is rejected with // the StatusCode and Message provided by the token.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 17:47:26 UTC 2023 - 2.7K 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)