- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 73 for substVar (0.67 sec)
-
tensorflow/cc/framework/cc_op_gen_util.cc
result = dot_h_fname.substr(pos + sizeof("/bin/") - 1); } else { pos = dot_h_fname.find("/genfiles/"); if (pos != string::npos) { result = dot_h_fname.substr(pos + sizeof("/genfiles/") - 1); } } if (result.size() > sizeof("external/") && result.compare(0, sizeof("external/") - 1, "external/") == 0) { result = result.substr(sizeof("external/") - 1); pos = result.find('/');
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.cc
value_string = "<error computing value>"; } if (value_string.length() > 100) { // The default NumPy-style output can be distractingly long in error // messages. value_string = absl::StrCat(value_string.substr(0, 100), " [...]"); } Status s; const char* device_name = DeviceName(&s); if (!s.ok()) { device_name = "<error fetching device name>"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 2.1K bytes - Viewed (0) -
src/net/http/main_test.go
").noteClientGone(": "a closenotifier sender", } var stacks string for i := 0; i < 2500; i++ { bad = "" stacks = strings.Join(interestingGoroutines(), "\n\n") for substr, what := range badSubstring { if strings.Contains(stacks, substr) { bad = what } } if bad == "" { leakReported = false return } // Bad stuff found, but goroutines might just still be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:46 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/parse_text_proto.cc
}; } // namespace Status ConsumePrefix(absl::string_view str, absl::string_view prefix, absl::string_view* output) { if (absl::StartsWith(str, prefix)) { *output = str.substr(prefix.size()); return absl::OkStatus(); } return errors::NotFound("No prefix \"", prefix, "\" in \"", str, "\""); } Status ParseTextProto(absl::string_view text_proto,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
Date(a,b,d),f=new Date,g=f.getFullYear()-e.getFullYear();e.setFullYear(e.getFullYear()+g),e>f&&(g--,e.setFullYear(e.getFullYear()-1));var h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.addValidator({name:"time",va...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0) -
pkg/test/util/structpath/instance.go
}) } func (i *Instance) ContainSubstring(substr, path string) *Instance { return i.appendConstraint(func() error { value, err := i.execute(path) if err != nil { return err } if found := strings.Contains(value, substr); !found { return fmt.Errorf("substring %v did not match: %v", substr, value) } return nil }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 9.4K bytes - Viewed (0) -
src/syscall/mksyscall.pl
$sysname =~ s/([a-z])([A-Z])/${1}_$2/g; # turn FooBar into Foo_Bar $sysname =~ y/a-z/A-Z/; if($libc) { $sysname =~ y/A-Z/a-z/; $sysname = substr $sysname, 4; $funcname = "libc_$sysname"; } } if($libc) { if($funcname eq "") { $sysname = substr $sysname, 4; $sysname =~ y/A-Z/a-z/; $funcname = "libc_$sysname"; } $sysname = "abi.FuncPCABI0(${funcname}_trampoline)"; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:02 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc
int idx_arrow = einsum_equation.find("->"); StringRef calc_eq = einsum_equation.substr(0, idx_arrow); StringRef out_eq = einsum_equation.substr(idx_arrow + 2); int idx_comma = calc_eq.find(','); StringRef lhs_eq = calc_eq.substr(0, idx_comma); StringRef rhs_eq = calc_eq.substr(idx_comma + 1); std::string target_eq; if (is_lhs) { target_eq = lhs_eq;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 47.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
} // Parse equation. int idx_arrow = equation.find("->"); StringRef calc_eq = equation.substr(0, idx_arrow); StringRef out_eq = equation.substr(idx_arrow + 2); int idx_comma = calc_eq.find(','); StringRef lhs_eq = calc_eq.substr(0, idx_comma); StringRef rhs_eq = calc_eq.substr(idx_comma + 1); if (absl::StrContains(rhs_eq, ",")) return false; int lhs_out_idx_start = out_eq.size();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
data_types_str, "'")); } inside_subtype = false; } if (inside_subtype) continue; if (c == ',') { dtypes.push_back( std::string(data_types_str.substr(cur_pos, i - cur_pos))); cur_pos = i + 1; } } if (inside_subtype) { return errors::FailedPrecondition( absl::StrCat("Syntax error: expected a ')' in input data types '",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0)