- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for substVar (0.7 sec)
-
src/internal/stringslite/strings.go
return bytealg.IndexByteString(s, c) } func Index(s, substr string) int { n := len(substr) switch { case n == 0: return 0 case n == 1: return IndexByte(s, substr[0]) case n == len(s): if substr == s { return 0 } return -1 case n > len(s): return -1 case n <= bytealg.MaxLen: // Use brute force when s and substr both are small if len(s) <= bytealg.MaxBruteForce {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 01:23:42 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-spi.h
#define EXPECT_FATAL_FAILURE(statement, substr) \ do { \ class GTestExpectFatalFailureHelper {\ public:\ static void Execute() { statement; }\ };\ ::testing::TestPartResultArray gtest_failures;\ ::testing::internal::SingleFailureChecker gtest_checker(\ >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ {\
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 9.7K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-spi.h
#define EXPECT_FATAL_FAILURE(statement, substr) \ do { \ class GTestExpectFatalFailureHelper {\ public:\ static void Execute() { statement; }\ };\ ::testing::TestPartResultArray gtest_failures;\ ::testing::internal::SingleFailureChecker gtest_checker(\ >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ {\
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc
"tensorflow/compiler/mlir/tf2xla/api/v2/testdata/"); } size_t CountSubstring(absl::string_view str, absl::string_view substr) { size_t count = 0; size_t idx = str.find(substr); while (idx != std::string::npos) { count++; idx = str.find(substr, idx + 1); } return count; } class TensorflowDialectToExecutorTest : public ::testing::Test { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 23:22:50 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc
if (absl::StartsWith(note_str, kErrorCodePrefix)) { error_code = note_str.substr(sizeof(kErrorCodePrefix) - 1); } error_message += "\n"; if (note_str.size() <= kMaxAcceptedNoteSize) { error_message += note_str; } else { error_message += note_str.substr(0, kMaxAcceptedNoteSize); error_message += "..."; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/documentation/docs/src/main/resources/footer.html
function getCurrentChapterFileName(givenUrl) { var currentChapterFileName = givenUrl.substr(givenUrl.lastIndexOf("/") + 1); if (currentChapterFileName === "index.html" || currentChapterFileName === "") { currentChapterFileName = givenUrl.substr(0, givenUrl.lastIndexOf("/")); currentChapterFileName = currentChapterFileName.substr(currentChapterFileName.lastIndexOf("/") + 1) + "/index.html"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 09:28:20 UTC 2024 - 8.6K 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) -
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
bool IsMangledAttributeName(absl::string_view str) { return absl::StartsWith(str, kAttributePrefix); } absl::string_view DemangleAttributeName(absl::string_view str) { DCHECK(IsMangledAttributeName(str)); return str.substr(std::strlen(kAttributePrefix)); } MangledKind GetMangledKind(absl::string_view str) { if (absl::StartsWith(str, kDataTypePrefix)) { return MangledKind::kDataType;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0)