- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for parseFrame (0.27 sec)
-
src/runtime/traceback_test.go
case strings.HasPrefix(line, "created by "): funcName := line[len("created by "):] cur.createdBy = parseFrame(funcName, "") case strings.HasSuffix(line, ")"): line = line[:len(line)-1] // Trim trailing ")" funcName, args, found := strings.Cut(line, "(") if !found { fatal("missing (") } frame := parseFrame(funcName, args) cur.frames = append(cur.frames, frame) case elidedRe.MatchString(line):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0) -
internal/event/name.go
var s string if err := json.Unmarshal(data, &s); err != nil { return err } eventName, err := ParseName(s) if err != nil { return err } *name = eventName return nil } // ParseName - parses string to Name. func ParseName(s string) (Name, error) { switch s { case "s3:BucketCreated:*": return BucketCreated, nil case "s3:BucketRemoved:*":
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 10.4K bytes - Viewed (0) -
src/crypto/x509/verify.go
// given name, of type nameType. The argument parsedName contains the parsed // form of name, suitable for passing to the match function. The total number // of comparisons is tracked in the given count and should not exceed the given // limit. func (c *Certificate) checkNameConstraints(count *int, maxConstraintComparisons int, nameType string, name string, parsedName any,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:39 UTC 2024 - 35.7K bytes - Viewed (0) -
src/text/template/parse/parse.go
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/trace/main.go
fi, err := tracef.Stat() if err != nil { logAndDie(fmt.Errorf("failed to stat trace file: %v", err)) } traceSize := fi.Size() // Handle requests for profiles. if *pprofFlag != "" { parsed, err := parseTrace(tracef, traceSize) if err != nil { logAndDie(err) } var f traceviewer.ProfileFunc switch *pprofFlag { case "net": f = pprofByGoroutine(computePprofIO(), parsed) case "sync":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
#include "tensorflow/core/util/device_name_utils.h" namespace mlir { namespace TF { namespace { using DeviceNameUtils = ::tensorflow::DeviceNameUtils; using ParsedName = ::tensorflow::DeviceNameUtils::ParsedName; constexpr const char *kHostAttr = "host"; constexpr const char *kDeviceAttr = "device"; constexpr const char *kTFDeviceAttr = "tf.device";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
// LINT.IfChange auto device_id = StringAttr::get(call->getContext(), "device"); auto caller_device = call->getAttrOfType<StringAttr>(device_id); if (!caller_device) return; DeviceNameUtils::ParsedName caller_parsed_device; if (!DeviceNameUtils::ParseFullName(caller_device.getValue().str(), &caller_parsed_device)) return; MLIRContext *context = call->getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
} pkg = p.getPkg(path, pkgname) if pkg == nil { p.errorf("package %s (path = %q) not found", name, path) } return } // Name = QualifiedName | "?" . func (p *parser) parseName() string { if p.tok == '?' { // Anonymous. p.next() return "" } // The package path is redundant for us. Don't try to parse it. _, name := p.parseUnquotedQualifiedName() return name }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
// Find and return a function record added by its name. virtual core::RefCountPtr<FunctionRecord> FindRecord( const string& name) const = 0; // Return the ParsedName of Host CPU device. virtual const DeviceNameUtils::ParsedName& HostCPUParsedName() const = 0; virtual const string& HostCPUName() const = 0; // Configure soft device placement policy. virtual void SetAllowSoftPlacement(bool enable) = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 06 08:34:00 UTC 2023 - 12.3K bytes - Viewed (0) -
src/crypto/x509/parser.go
} } return string(value), nil } return "", fmt.Errorf("unsupported string type: %v", tag) } // parseName parses a DER encoded Name as defined in RFC 5280. We may // want to export this function in the future for use in crypto/tls. func parseName(raw cryptobyte.String) (*pkix.RDNSequence, error) { if !raw.ReadASN1(&raw, cryptobyte_asn1.SEQUENCE) { return nil, errors.New("x509: invalid RDNSequence")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0)