Home
last modified time | relevance | path

Searched +full:re +full:- +full:evaluates (Results 1 – 25 of 765) sorted by relevance

12345678910>>...31

/external/tensorflow/third_party/gpus/cuda/
Dbuild_defs.bzl.tpl3 """Shorthand for select()'ing on whether we're building with CUDA.
5 Returns a select statement which evaluates to if_true if we're building
6 with CUDA enabled. Otherwise, the select statement evaluates to if_false.
15 """Shorthand for select()'ing on wheteher we're building with cuda-clang.
17 Returns a select statement which evaluates to if_true if we're building
18 with cuda-clang. Otherwise, the select statement evaluates to if_false.
27 """Shorthand for select()'ing on wheteher we're building with cuda-clang
30 Returns a select statement which evaluates to if_true if we're building
31 with cuda-clang in opt mode. Otherwise, the select statement evaluates to
43 "-x", "cuda",
[all …]
/external/tensorflow/third_party/mkl_dnn/
Dbuild_defs.bzl2 """Returns `if_true` if MKL-DNN v0.x is used.
4 Shorthand for select()'ing on whether we're building with
5 MKL-DNN v0.x open source library only, without depending on MKL binary form.
7 Returns a select statement which evaluates to if_true if we're building
8 with MKL-DNN v0.x open source library only. Otherwise, the select statement
9 evaluates to if_false.
20 Shorthand for select()'ing on whether we're building with
23 Returns a select statement which evaluates to if_true if we're building
25 select statement evaluates to if_false.
/external/clang/test/Sema/
Dext_vector_comparisons.c1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-unreachable-code %s
9 return vec == vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1()
10 return vec != vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1()
11 return vec < vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1()
12 return vec <= vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1()
13 return vec > vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1()
14 return vec >= vec; // expected-warning{{self-comparison always evaluates to a constant}} in test1()
23 // comparisons to self. no warning, they're floats in test2()
24 return vec == vec; // no-warning in test2()
25 return vec != vec; // no-warning in test2()
[all …]
/external/tensorflow/third_party/gpus/rocm/
Dbuild_defs.bzl.tpl3 """Shorthand for select()'ing on whether we're building with ROCm.
5 Returns a select statement which evaluates to if_true if we're building
6 with ROCm enabled. Otherwise, the select statement evaluates to if_false.
17 return if_rocm(["-x", "rocm"] + %{rocm_extra_copts})
22 If we're doing ROCm compilation, returns copts for our particular ROCm
23 compiler. If we're not doing ROCm compilation, returns an empty list.
45 --config=rocm. Used to allow non-ROCm code to depend on ROCm libraries.
/external/pytorch/third_party/tensorflow_cuda_bazel_build/cuda/
Dbuild_defs.bzl3 """Shorthand for select()'ing on whether we're building with CUDA.
5 Returns a select statement which evaluates to if_true if we're building
6 with CUDA enabled. Otherwise, the select statement evaluates to if_false.
17 return if_cuda(["-x", "cuda", "-DGOOGLE_CUDA=1"] + [])
27 --config=cuda. Used to allow non-CUDA code to depend on CUDA libraries.
/external/guava/guava/src/com/google/common/graph/
DBaseGraph.java8 * http://www.apache.org/licenses/LICENSE-2.0
22 * A non-public interface for the methods shared between {@link Graph} and {@link ValueGraph}.
30 // Graph-level accessors
51 * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
52 * to add a self-loop to a graph that does not allow them will throw an {@link
70 // Element-level accessors
84 * <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
87 * <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
106 * <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
109 * <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
[all …]
DNetwork.java8 * http://www.apache.org/licenses/LICENSE-2.0
27 * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data,
35 * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
48 * <li>graphs that do/don't allow self-loops
49 * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
56 * create an instance of one of the built-in implementations of {@code Network}, use the {@link
65 * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on
66 * the network), you should use the non-mutating {@link Network} interface, or an {@link
77 * are contractually guaranteed to be unmodifiable and thread-safe.
80 * href="https://github.com/google/guava/wiki/GraphsExplained#building-graph-instances">more
[all …]
DGraph.java8 * http://www.apache.org/licenses/LICENSE-2.0
27 * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data,
35 * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
47 * <li>graphs that do/don't allow self-loops
48 * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
57 * create an instance of one of the built-in implementations of {@code Graph}, use the {@link
66 * need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on the graph),
67 * you should use the non-mutating {@link Graph} interface, or an {@link ImmutableGraph}.
77 * contractually guaranteed to be unmodifiable and thread-safe.
80 * href="https://github.com/google/guava/wiki/GraphsExplained#building-graph-instances">more
[all …]
/external/guava/android/guava/src/com/google/common/graph/
DBaseGraph.java8 * http://www.apache.org/licenses/LICENSE-2.0
22 * A non-public interface for the methods shared between {@link Graph} and {@link ValueGraph}.
30 // Graph-level accessors
51 * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
52 * to add a self-loop to a graph that does not allow them will throw an {@link
70 // Element-level accessors
84 * <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
87 * <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
106 * <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
109 * <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
[all …]
DNetwork.java8 * http://www.apache.org/licenses/LICENSE-2.0
26 * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data,
34 * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
47 * <li>graphs that do/don't allow self-loops
48 * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
55 * create an instance of one of the built-in implementations of {@code Network}, use the {@link
64 * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on
65 * the network), you should use the non-mutating {@link Network} interface, or an {@link
76 * are contractually guaranteed to be unmodifiable and thread-safe.
79 * href="https://github.com/google/guava/wiki/GraphsExplained#building-graph-instances">more
[all …]
DGraph.java8 * http://www.apache.org/licenses/LICENSE-2.0
27 * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data,
35 * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
47 * <li>graphs that do/don't allow self-loops
48 * <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
57 * create an instance of one of the built-in implementations of {@code Graph}, use the {@link
66 * need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on the graph),
67 * you should use the non-mutating {@link Graph} interface, or an {@link ImmutableGraph}.
77 * contractually guaranteed to be unmodifiable and thread-safe.
80 * href="https://github.com/google/guava/wiki/GraphsExplained#building-graph-instances">more
[all …]
/external/clang/test/CXX/expr/expr.const/
Dp3-0x.cpp1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
4 int nonconst = 8; // expected-note 3 {{here}}
5 …ar { NCE = nonconst }; // expected-error {{enumerator value is not a constant expression}} expecte…
6 …uct NonConstT {}; // expected-error {{non-type template argument is not a constant expression}} ex…
9 …case nonconst: // expected-error {{case value is not a constant expression}} expected-note {{read … in NonConstF()
34 // user-defined conversions,
38 // lvalue-to-rvalue conversions,
50 case EE::EE32: // expected-error {{not implicitly convertible}} in b()
53 …case (long long)1e10: // expected-error {{case value evaluates to 10000000000, which cannot be nar… in b()
54 …case -3: // expected-error {{case value evaluates to -3, which cannot be narrowed to type 'unsigne… in b()
[all …]
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_utils.py7 # http://www.apache.org/licenses/LICENSE-2.0
16 # pylint: disable=g-direct-tensorflow-import
21 import re
160 # Python 2 doesn't allow keyword-only argument. Python prior to 3.8 doesn't
161 # allow positional-only argument. So we conflate positional-only, keyword-only
162 # and positional-or-keyword arguments here.
216 # TODO(wangpeng): Re-enable the following and choose inlined vs. link to numpy
237 This function sets a global variable that controls how a tf-numpy symbol's
239 `'inlined'`, the numpy docstring will be verbatim copied into the tf-numpy
286 elif re.match(r'\d+(\.\d+(\.\d+)?)?$', flag):
[all …]
/external/pigweed/pw_sync/public/pw_sync/
Dcondition_variable.h7 // https://www.apache.org/licenses/LICENSE-2.0
23 // - If wake condition(s) are checked by the waiting threads, these threads must
26 // - If wake condition(s) are checked by the notifier, synchronization is
60 // The thread will re-evaluate the condition via its predicate. Threads where
61 // the predicate evaluates false will go back to waiting. The new order of
67 // Woken threads will re-evaluate the condition via their predicate. Threads
68 // where the predicate evaluates false will go back to waiting. The new order
/external/cronet/tot/base/test/android/javatests/src/org/chromium/base/test/util/
DCriteriaHelper.java2 // Use of this source code is governed by a BSD-style license that can be
38 * CriteriaHelper.pollUiThread(() -> {
55 * CriteriaHelper.pollUiThread(() -> getActivity().getAppMenuHandler().isAppMenuShowing(),
88 * This evaluates the Criteria on the Instrumentation thread, which more often than not is not
110 // Espresso catches, wraps, and re-throws the exception we want the CriteriaHelper in pollThreadInternal()
156 () -> { in nestThread()
180 * This evaluates the Runnable on the test thread, which more often than not is not correct
195 * <p>This evaluates the Callable<Boolean> on the test thread, which more often than not is not
218 * This evaluates the Callable<Boolean> on the test thread, which more often than not is not
235 * This evaluates the Callable<Boolean> on the test thread, which more often than not is not
[all …]
/external/cronet/stable/base/test/android/javatests/src/org/chromium/base/test/util/
DCriteriaHelper.java2 // Use of this source code is governed by a BSD-style license that can be
38 * CriteriaHelper.pollUiThread(() -> {
55 * CriteriaHelper.pollUiThread(() -> getActivity().getAppMenuHandler().isAppMenuShowing(),
88 * This evaluates the Criteria on the Instrumentation thread, which more often than not is not
110 // Espresso catches, wraps, and re-throws the exception we want the CriteriaHelper in pollThreadInternal()
156 () -> { in nestThread()
180 * This evaluates the Runnable on the test thread, which more often than not is not correct
195 * <p>This evaluates the Callable<Boolean> on the test thread, which more often than not is not
218 * This evaluates the Callable<Boolean> on the test thread, which more often than not is not
235 * This evaluates the Callable<Boolean> on the test thread, which more often than not is not
[all …]
/external/google-breakpad/src/third_party/curl/
Dtypecheck-gcc.h10 * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
23 * $Id: typecheck-gcc.h,v 1.9 2009-01-25 23:26:31 bagder Exp $
181 * to the or-expression. If the option takes a long or curl_off_t, you don't
185 /* evaluates to true if option takes a long argument */
192 /* evaluates to true if option takes a char* argument */
236 /* evaluates to true if option takes a curl_write_callback argument */
241 /* evaluates to true if option takes a curl_conv_callback argument */
247 /* evaluates to true if option takes a data argument to pass to a callback */
262 /* evaluates to true if option takes a POST data argument (void* or char*) */
268 /* evaluates to true if option takes a struct curl_slist * argument */
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/source/
DSequenceableLoader.java8 * http://www.apache.org/licenses/LICENSE-2.0
60 * Re-evaluates the buffer given the playback position.
62 * <p>Re-evaluation may discard buffered media or cancel ongoing loads so that media can be
63 * re-buffered in a different quality.
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/source/
DSequenceableLoader.java8 * http://www.apache.org/licenses/LICENSE-2.0
60 * Re-evaluates the buffer given the playback position.
62 * <p>Re-evaluation may discard buffered media or cancel ongoing loads so that media can be
63 * re-buffered in a different quality.
/external/python/mobly/mobly/
Dasserts.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 import re
310 """Assert an expression evaluates to true, otherwise fail the test.
323 """Assert an expression evaluates to false, otherwise fail the test.
350 """Skip a test if expression evaluates to True.
381 if expression evaluates to True.
415 """Abort all subsequent tests, if the expression evaluates to True.
493 expected_regexp = re.compile(expected_regexp)
/external/guava/guava/src/com/google/common/base/
DPredicates.java7 * http://www.apache.org/licenses/LICENSE-2.0
34 * <p>All methods return serializable predicates as long as they're given serializable parameters.
50 /** Returns a predicate that always evaluates to {@code true}. */
56 /** Returns a predicate that always evaluates to {@code false}. */
63 * Returns a predicate that evaluates to {@code true} if the object reference being tested is
72 * Returns a predicate that evaluates to {@code true} if the object reference being tested is not
81 * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
89 * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
90 * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
101 * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
[all …]
/external/guava/android/guava/src/com/google/common/base/
DPredicates.java7 * http://www.apache.org/licenses/LICENSE-2.0
34 * <p>All methods return serializable predicates as long as they're given serializable parameters.
50 /** Returns a predicate that always evaluates to {@code true}. */
56 /** Returns a predicate that always evaluates to {@code false}. */
63 * Returns a predicate that evaluates to {@code true} if the object reference being tested is
72 * Returns a predicate that evaluates to {@code true} if the object reference being tested is not
81 * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
89 * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
90 * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
101 * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
[all …]
/external/coreboot/src/include/
Dtimer.h1 /* SPDX-License-Identifier: GPL-2.0-only */
25 * re-used for scheduling as it is not being tracked by the core timer
55 mt->microseconds = us; in mono_time_set_usecs()
61 mt->microseconds = ms * USECS_PER_MSEC; in mono_time_set_msecs()
67 mt->microseconds += us; in mono_time_add_usecs()
76 /* Compare two absolute times: Return -1, 0, or 1 if t1 is <, =, or > t2,
81 if (t1->microseconds == t2->microseconds) in mono_time_cmp()
84 if (t1->microseconds < t2->microseconds) in mono_time_cmp()
85 return -1; in mono_time_cmp()
104 /* Return time difference between t1 and t2. i.e. t2 - t1. */
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Devaluator.py7 # http://www.apache.org/licenses/LICENSE-2.0
16 import re
18 import numpy as np # pylint: disable=unused-import
22 _DUMP_TENSOR_PATTERN = re.compile(r"`.*?`")
23 _DEVICE_NAME_PREFIX_PATTERN = re.compile(
25 _EXEC_INDEX_SUFFIX_PATTERN = re.compile(r"\[(\d)*\]$")
31 # pylint: disable=line-too-long
32 """Parse a debug tensor name in a to-be-evaluated expression.
64 # pylint: enable=line-too-long
65 device_prefix_match = re.match(_DEVICE_NAME_PREFIX_PATTERN, debug_tensor_name)
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dtemplate_util.h30 // ----
37 // any changes here, make sure that you're not breaking any platforms.
122 // and_<A, B>::value evaluates "A::value && B::value".
128 // or_<A, B>::value evaluates "A::value || B::value".

12345678910>>...31