- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for correctness (0.25 sec)
-
src/regexp/syntax/parse.go
// // Complex subexpressions (e.g. involving quantifiers) // are not safe to factor because that collapses their // distinct paths through the automaton, which affects // correctness in some cases. start = 0 out = sub[:0] var first *Regexp for i := 0; i <= len(sub); i++ { // Invariant: the Regexps that were in sub[0:start] have been
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 13:59:01 UTC 2024 - 52.1K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
// We keep our own cycles_graph_node_id_ to mirror what GraphCycles does. // Clearing out data structures in `other` is just a memory saving // optimization and not needed for correctness. cluster_size_ += other->cluster_size_; effective_cluster_size_ += other->effective_cluster_size_; has_functional_control_flow_ |= other->has_functional_control_flow_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
# else # define GTEST_HAS_CLONE 0 # endif // GTEST_OS_LINUX && !defined(__ia64__) #endif // GTEST_HAS_CLONE // Determines whether to support stream redirection. This is used to test // output correctness and to implement death tests. #ifndef GTEST_HAS_STREAM_REDIRECTION // By default, we assume that stream redirection is supported on all // platforms except known mobile ones. # if GTEST_OS_WINDOWS_MOBILE || GTEST_OS_SYMBIAN
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 67.2K bytes - Viewed (0) -
src/net/http/client_test.go
req, _ = NewRequest("POST", us, nil) client.Do(req) // Note: doesn't hit network matchReturnedCookies(t, expectedCookies, tr.req.Cookies()) } // Just enough correctness for our redirect tests. Uses the URL.Host as the // scope of all cookies. type TestJar struct { m sync.Mutex perURL map[string][]*Cookie } func (j *TestJar) SetCookies(u *url.URL, cookies []*Cookie) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
# else # define GTEST_HAS_CLONE 0 # endif // GTEST_OS_LINUX && !defined(__ia64__) #endif // GTEST_HAS_CLONE // Determines whether to support stream redirection. This is used to test // output correctness and to implement death tests. #ifndef GTEST_HAS_STREAM_REDIRECTION // By default, we assume that stream redirection is supported on all // platforms except known mobile ones. # if GTEST_OS_WINDOWS_MOBILE || GTEST_OS_SYMBIAN
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 67.2K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier.go
// there is never more than that many arguments for a single line. // Note that even if we go over 64, it will still be correct - it // is just for efficiency, not correctness. args := make([]string, 64) for _, set := range ipsetWithIptablesChain { if _, find := proxier.ipsetList[set.name]; find && !proxier.ipsetList[set.name].isEmpty() { args = append(args[:0], "-A", set.from)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 77.7K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
routeHost := host.Name(rawRouteHost) ourListener := host.Name(r.Hostname) if len(ourListener) > 0 && !ourListener.IsWildCarded() { // Short circuit: this logic only applies to wildcards // Not required for correctness, just an optimization return true } if len(ourListener) > 0 && !routeHost.Matches(ourListener) { return false } for checkListener := range r.BannedHostnames { // We have 3 hostnames here:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
func::FuncOp new_func = CreateFnWithSignature(module, symbol_table, inputs, outputs, name); // This preserves the order of the ops that was in the original parent // function. This is critical for preserving correctness in the presence of // resource variables and stateful functions. std::vector<Operation*> topological_order; for (Operation& op : parent_func.getOps()) if (ops.contains(&op)) topological_order.push_back(&op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
src/math/all_test.go
} if q := float64(SmallestNonzeroFloat64 / 2); q != 0 { t.Errorf("float64(SmallestNonzeroFloat64 / 2) = %g, want 0", q) } } var indirectSqrt = Sqrt // TestFloat32Sqrt checks the correctness of the float32 square root optimization result. func TestFloat32Sqrt(t *testing.T) { for _, v := range sqrt32 { want := float32(indirectSqrt(float64(v))) got := float32(Sqrt(float64(v)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
const bindAtLoadWarning = "ld: warning: -bind_at_load is deprecated on macOS\n" if i := bytes.Index(out, []byte(bindAtLoadWarning)); i >= 0 { // -bind_at_load is deprecated with ld-prime, but needed for // correctness with older versions of ld64. Swallow the warning. // TODO: maybe pass -bind_at_load conditionally based on C // linker version. out = append(out[:i], out[i+len(bindAtLoadWarning):]...) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)