- Sort Score
- Result 10 results
- Languages All
Results 2081 - 2090 of 2,618 for Value (0.05 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
// Read the value of tensor handle `handle_1`. float value = 0.0f; TF_Tensor* t = TFE_TensorHandleResolve(handle_1, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); ASSERT_EQ(sizeof(float), TF_TensorByteSize(t)); memcpy(&value, TF_TensorData(t), sizeof(float)); TF_DeleteTensor(t); EXPECT_EQ(1.2f, value); TFE_DeleteTensorHandle(handle_1);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* the factory that created it. * * <p>Note, however, that although multiple locks can be created for a given Enum value, whether * it be through separate factory instances or through multiple calls to the same factory, * attempting to acquire multiple locks with the same Enum value (within the same thread) will * result in an IllegalStateException regardless of the factory's policy. For example: * * <pre>{@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
entries.add(entry(k3(), null)); Map<K, V> other = newHashMap(entries); assertFalse( "Two Maps should not be equal if exactly one of them contains a null value.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
tmp += UnsignedLongs.toString(x, 2).length(); } return tmp; } private static long random() { return RANDOM_SOURCE.nextLong(); } // A random value that cannot be 0 and that is unsigned-less-than or equal // to the given dividend, so that we don't have half of our divisions being // trivial because the divisor is bigger than the dividend.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
public void testRemoveNullValue() { Collection<V> result = multimap().asMap().get(k0()); assertFalse(result.remove(null)); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testAddNullValueUnsupported() { Collection<V> result = multimap().asMap().get(k0()); assertThrows(NullPointerException.class, () -> result.add(null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/base/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/html/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPairIterator.java
abstract class EndpointPairIterator<N> extends AbstractIterator<EndpointPair<N>> { private final BaseGraph<N> graph; private final Iterator<N> nodeIterator; @CheckForNull N node = null; // null is safe as an initial value because graphs don't allow null nodes Iterator<N> successorIterator = ImmutableSet.<N>of().iterator(); static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 5K bytes - Viewed (0) -
guava/src/com/google/common/xml/ParametricNullness.java
* typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly, * {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.) * <li>methods whose return type is a type variable but which can return {@code null} regardless
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0)