- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 228 for recursion (0.16 sec)
-
src/index/suffixarray/suffixarray_test.go
// We use this pattern: // 1 255 1 254 1 253 1 ... 1 2 1 255 2 254 2 253 2 252 2 ... // This gives approximately 2¹⁵ distinct LMS-substrings. // We need to repeat at least one substring, though, // or else the recursion can be bypassed entirely. x := make([]byte, 100000, 100001) lo := byte(1) hi := byte(255) for i := range x { if i%2 == 0 { x[i] = lo } else { x[i] = hi hi--
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0) -
src/log/slog/doc.go
details. A LogValue method may return a Value that itself implements [LogValuer]. The [Value.Resolve] method handles these cases carefully, avoiding infinite loops and unbounded recursion. Handler authors and others may wish to use [Value.Resolve] instead of calling LogValue directly. # Wrapping output methods The logger functions use reflection over the call stack to find the file name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 14:35:48 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/jit/flags.cc
bool SetterForXlaAutoJitFlag(const string& value) { int32_t opt_level; // We need to use the mark_for_compilation_flags directly here instead of // going via GetMarkForCompilationPassFlags() to avoid infinite recursion. The // latter will try to setup and parse flags, which would bring us back to this // setter. if (absl::SimpleAtoi(value, &opt_level)) { mark_for_compilation_flags->xla_auto_jit_flag
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 24.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
static final NonPublicConstantIgnored INSTANCE = new NonPublicConstantIgnored(); private NonPublicConstantIgnored() {} } public static class NonStaticFieldIgnored { // This should cause infinite recursion. But it shouldn't be used anyway. public final NonStaticFieldIgnored instance = new NonStaticFieldIgnored(); private NonStaticFieldIgnored() {} }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.7K bytes - Viewed (0) -
src/fmt/print.go
reordered bool // goodArgNum records whether the most recent reordering directive was valid. goodArgNum bool // panicking is set by catchPanic to avoid infinite panic, recover, panic, ... recursion. panicking bool // erroring is set when printing an error string to guard against calling handleMethods. erroring bool // wrapErrs is set when the format string may contain a %w verb. wrapErrs bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
src/math/big/nat_test.go
t := stats.TotalAlloc f() runtime.ReadMemStats(&stats) return stats.TotalAlloc - t } // TestMulUnbalanced tests that multiplying numbers of different lengths // does not cause deep recursion and in turn allocate too much memory. // Test case for issue 3807. func TestMulUnbalanced(t *testing.T) { defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1)) x := rndNat(50000) y := rndNat(40)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h
return TypeParameterizedTest<Fixture, TestSel, typename Types::Tail> ::Register(prefix, case_name, test_names, index + 1); } }; // The base case for the compile time recursion. template <GTEST_TEMPLATE_ Fixture, class TestSel> class TypeParameterizedTest<Fixture, TestSel, Types0> { public: static bool Register(const char* /*prefix*/, const char* /*case_name*/,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 43.1K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h
return TypeParameterizedTest<Fixture, TestSel, typename Types::Tail> ::Register(prefix, case_name, test_names, index + 1); } }; // The base case for the compile time recursion. template <GTEST_TEMPLATE_ Fixture, class TestSel> class TypeParameterizedTest<Fixture, TestSel, Types0> { public: static bool Register(const char* /*prefix*/, const char* /*case_name*/,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 43.1K bytes - Viewed (0) -
pkg/model/proxy.go
return (*meshconfig.ProxyConfig)(m.ProxyConfig) } return def } func (m *BootstrapNodeMetadata) UnmarshalJSON(data []byte) error { // Create a new type from the target type to avoid recursion. type BootstrapNodeMetadata2 BootstrapNodeMetadata t2 := &BootstrapNodeMetadata2{} if err := json.Unmarshal(data, t2); err != nil { return err } var raw map[string]any
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 17:18:17 UTC 2024 - 18.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir
func.return %0 : tensor<0xf32> } } // ----- // Test immutable detection propagates across function calls, with recursion. module { // CHECK-LABEL: @f() func.func @f() -> tensor<0xf32> { // CHECK-NOT: "tf.VarHandleOp"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 23.6K bytes - Viewed (0)