- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 56 for substVar (0.17 sec)
-
src/strings/strings_test.go
} func TestContains(t *testing.T) { for _, ct := range ContainsTests { if Contains(ct.str, ct.substr) != ct.expected { t.Errorf("Contains(%s, %s) = %v, want %v", ct.str, ct.substr, !ct.expected, ct.expected) } } } var ContainsAnyTests = []struct { str, substr string expected bool }{ {"", "", false}, {"", "a", false}, {"", "abc", false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 53K bytes - Viewed (0) -
src/cmd/cover/html.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 08 14:33:36 UTC 2022 - 6.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh
$2 !~ /^(BPF_TIMEVAL)$/ && $2 ~ /^(BPF|DLT)_/ || $2 !~ "WMESGLEN" && $2 ~ /^W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", $2, $2)} $2 ~ /^__WCOREFLAG$/ {next} $2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)} {next} ' | sort echo ')' ) >_const.go # Pull out the error names for later. errors=$( echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 5.9K bytes - Viewed (2) -
tensorflow/compiler/mlir/lite/converter_gen.cc
// Emit a loop to check all operands. os << formatv(" for (Value v : top.getODS{0}{1}s({2})) {{\n", // Capitalize the first letter to match the function name valueKind.substr(0, 1).upper(), valueKind.substr(1), static_value.index()); os << " (void)v;\n" << " if (!(" << tgfmt(pred.getCondition(), &fctx.withSelf("v.getType()")) << ")) {\n"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
if (!op.getCustomCode().starts_with(kFlexOpNamePrefix)) { return failure(); } llvm::StringRef tf_op_name = op.getCustomCode().substr(kFlexOpNamePrefix.size()); const std::string tf_op_full_name = llvm::Twine("tf.", tf_op_name).str(); // Create the TF op OperationState op_state(op.getLoc(), tf_op_full_name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
TF_SetStatus(status, TF_INVALID_ARGUMENT, "GCS path doesn't contain a bucket name."); return; } *bucket = fname.substr(scheme_end + 1, bucket_end - scheme_end - 1); *object = fname.substr(bucket_end + 1); if (object->empty() && !object_empty_ok) { TF_SetStatus(status, TF_INVALID_ARGUMENT, "GCS path doesn't contain an object name."); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 06:55:53 UTC 2023 - 46.9K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir_test.go
}) } } func TestTmpfsMountOptions(t *testing.T) { subQuantity := resource.MustParse("123Ki") doesStringArrayContainSubstring := func(strSlice []string, substr string) bool { for _, s := range strSlice { if strings.Contains(s, substr) { return true } } return false } testCases := map[string]struct { tmpfsNoswapSupported bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 30.7K bytes - Viewed (0) -
src/internal/trace/traceviewer/mmu.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:53 UTC 2023 - 13K bytes - Viewed (0) -
src/syscall/mkerrors.sh
$2 !~ /^(BPF_TIMEVAL)$/ && $2 ~ /^(BPF|DLT)_/ || $2 !~ "WMESGLEN" && $2 ~ /^W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", $2, $2)} $2 ~ /^__WCOREFLAG$/ {next} $2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)} {next} ' | sort echo ')' ) >_const.go # Pull out the error names for later. errors=$( echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 21:22:22 UTC 2022 - 10.7K bytes - Viewed (0) -
src/internal/trace/traceviewer/http.go
} function onModelLoaded() { viewer.model = model; viewer.viewTitle = "trace"; if (!model || model.bounds.isEmpty) return; var sel = window.location.hash.substr(1); if (sel === '') return; var parts = sel.split(':'); var range = new (tr.b.Range || tr.b.math.Range)(); range.addValue(parseFloat(parts[0])); range.addValue(parseFloat(parts[1]));
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:53 UTC 2023 - 12.6K bytes - Viewed (0)