Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for parseFrame (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    constexpr char kTPUReplicatedHost[] = "TPU_REPLICATED_HOST";
    constexpr char kBadIntArrayElementMsg[] =
        "bad '{0}' attribute at index {1}, not an int";
    
    using ParsedDevice = DeviceNameUtils::ParsedName;
    using ParsedDevices = llvm::ArrayRef<DeviceNameUtils::ParsedName>;
    
    namespace {
    // Find matching devices in `devices` based on pattern `spec`.
    llvm::SmallVector<ParsedDevice, 8> FindMatchingDevices(
        ParsedDevices devices, const ParsedDevice& spec) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

      for (mlir::NamedAttribute attr : attrs) {
        if (attr.getName().strref().contains(
                mlir::tfg::TFGraphDialect::getDeviceAttrKey())) {
          tensorflow::DeviceNameUtils::ParsedName parsed_name;
          if (!tensorflow::DeviceNameUtils::ParseFullName(
                  mlir::cast<mlir::StringAttr>(attr.getValue()).getValue().str(),
                  &parsed_name))
            return mlir::failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top