Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for parseName (1.14 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

      const std::string attrKey = "T";
      for (const Node* node : graph.nodes()) {
        if (node->type_string() == nodeType) {
          auto device_name = node->assigned_device_name();
          DeviceNameUtils::ParsedName device;
          if (DeviceNameUtils::ParseFullName(device_name, &device) &&
              device.has_job && device.job == jobType) {
            for (const auto& attr : node->attrs()) {
              auto attr_key = attr.first;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/net/mail/message.go

    						s := dow + day + " Jan " + year + " 15:04" + second + " " + zone
    						dateLayouts = append(dateLayouts, s)
    					}
    				}
    			}
    		}
    	}
    }
    
    // ParseDate parses an RFC 5322 date string.
    func ParseDate(date string) (time.Time, error) {
    	dateLayoutsBuildOnce.Do(buildDateLayouts)
    	// CR and LF must match and are tolerated anywhere in the date field.
    	date = strings.ReplaceAll(date, "\r\n", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.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/c/eager/parallel_device/parallel_device_lib.cc

      }
      result.emplace(std::move(per_device_outputs));
      return result;
    }
    
    std::vector<std::string> ParallelDevice::SummarizeDeviceNames() const {
      std::vector<DeviceNameUtils::ParsedName> parsed_components(
          underlying_devices_.size());
      for (int component_index = 0; component_index < underlying_devices_.size();
           ++component_index) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

        } else {
          device = alias.getDefiningOp()->getAttrOfType<StringAttr>(kDeviceAttr);
        }
    
        if (!device) return false;
        tensorflow::DeviceNameUtils::ParsedName parsed_device;
        if (!tensorflow::DeviceNameUtils::ParseFullName(device.getValue().str(),
                                                        &parsed_device)) {
          return false;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/encoding/xml/read_test.go

    	ID:      "http://codereview.appspot.com/",
    	Updated: ParseTime("2009-10-04T01:35:58+00:00"),
    	Author: Person{
    		Name:     "rietveld<>",
    		InnerXML: "<name>rietveld&lt;&gt;</name>",
    	},
    	Entry: []Entry{
    		{
    			Title: "rietveld: an attempt at pubsubhubbub\n",
    			Link: []Link{
    				{Rel: "alternate", Href: "http://codereview.appspot.com/126085"},
    			},
    			Updated: ParseTime("2009-10-04T01:35:58+00:00"),
    			Author: Person{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    			if curKey > key {
    				return end, end, end, true
    			}
    			start = end
    			sep = p
    		}
    	}
    }
    
    // ParseBase parses a 2- or 3-letter ISO 639 code.
    // It returns a ValueError if s is a well-formed but unknown language identifier
    // or another error if another error occurred.
    func ParseBase(s string) (l Language, err error) {
    	defer func() {
    		if recover() != nil {
    			l = 0
    			err = ErrSyntax
    		}
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    //       replica_device_ids: 3
    //       replica_device_ids: 7
    //     }
    //   }
    absl::StatusOr<TPUDeviceAssignment> GetTPUCompilationAndExecutionDevices(
        llvm::ArrayRef<DeviceNameUtils::ParsedName> devices, int num_replicas,
        int num_cores_per_replica, llvm::StringRef topology_attr,
        llvm::ArrayRef<int64_t> device_assignment_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/net/http/fs.go

    }
    
    func checkIfUnmodifiedSince(r *Request, modtime time.Time) condResult {
    	ius := r.Header.Get("If-Unmodified-Since")
    	if ius == "" || isZeroTime(modtime) {
    		return condNone
    	}
    	t, err := ParseTime(ius)
    	if err != nil {
    		return condNone
    	}
    
    	// The Last-Modified header truncates sub-second precision so
    	// the modtime needs to be truncated too.
    	modtime = modtime.Truncate(time.Second)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top