- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 454 for mutable (0.14 sec)
-
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example. * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for * number types; reasonable default instance for other stateless types. For mutable types, a fresh * instance is created each time {@code get()} is called. * * @author Kevin Bourrillion * @author Ben Yu
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
} }); } /** * An immutable snapshot of the current state of the service. This class represents a consistent * snapshot of the state and therefore it can be used to answer simple queries without needing to * grab a lock. */ // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses). private static final class StateSnapshot { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example. * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for * number types; reasonable default instance for other stateless types. For mutable types, a fresh * instance is created each time {@code get()} is called. * * @author Kevin Bourrillion * @author Ben Yu
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/MapIteratorCache.java
* As such, this field must be cleared before every map mutation. * * Note about volatile: volatile doesn't make it safe to read from a mutable graph in one thread * while writing to it in another. All it does is help with _reading_ from multiple threads * concurrently. For more information, see AbstractNetworkTest.concurrentIteration. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
} }); } /** * An immutable snapshot of the current state of the service. This class represents a consistent * snapshot of the state and therefore it can be used to answer simple queries without needing to * grab a lock. */ // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses). private static final class StateSnapshot { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
const ParallelDevice& device_; std::vector<TensorHandlePtr> tensors_; // Parallel tensors are immutable but compute their shape lazily unless it is // provided on construction. The optional has a value if the lazy computation // has been completed or the shape was provided on construction. mutable absl::optional<std::vector<int64_t>> shape_; const TF_DataType dtype_; }; template <typename DataType>
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
import java.util.Map; import java.util.Set; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}. * * @author Ben Yu * @since 13.0 */ @ElementTypesAreNonnullByDefault public final class MutableTypeToInstanceMap<B extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
* }</pre> * * @author Joshua O'Madadhain * @since 20.0 */ @Beta @Immutable @ElementTypesAreNonnullByDefault public final class ElementOrder<T> { private final Type type; @SuppressWarnings("Immutable") // Hopefully the comparator provided is immutable! @CheckForNull private final Comparator<T> comparator; /** * The type of ordering that this object specifies.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/ElementOrder.java
* }</pre> * * @author Joshua O'Madadhain * @since 20.0 */ @Beta @Immutable @ElementTypesAreNonnullByDefault public final class ElementOrder<T> { private final Type type; @SuppressWarnings("Immutable") // Hopefully the comparator provided is immutable! @CheckForNull private final Comparator<T> comparator; /** * The type of ordering that this object specifies.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
*/ public abstract class AbstractGraphTest { Graph<Integer> graph; /** * The same reference as {@link #graph}, except as a mutable graph. This field is null in case * {@link #createGraph()} didn't return a mutable graph. */ MutableGraph<Integer> graphAsMutableGraph; static final Integer N1 = 1; static final Integer N2 = 2; static final Integer N3 = 3;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 16.6K bytes - Viewed (0)