- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,572 for Creates (0.12 sec)
-
guava/src/com/google/common/base/Stopwatch.java
private long elapsedNanos; private long startTick; /** * Creates (but does not start) a new stopwatch using {@link System#nanoTime} as its time source. * * @since 15.0 */ public static Stopwatch createUnstarted() { return new Stopwatch(); } /** * Creates (but does not start) a new stopwatch, using the specified time source. * * @since 15.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
@ElementTypesAreNonnullByDefault class CompactLinkedHashSet<E extends @Nullable Object> extends CompactHashSet<E> { /** Creates an empty {@code CompactLinkedHashSet} instance. */ public static <E extends @Nullable Object> CompactLinkedHashSet<E> create() { return new CompactLinkedHashSet<>(); } /** * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 00:15:47 UTC 2024 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Callables.java
@ElementTypesAreNonnullByDefault public final class Callables { private Callables() {} /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */ public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) { return () -> value; } /** * Creates an {@link AsyncCallable} from a {@link Callable}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* surprising for implementations of {@code HashCode} that represent the number in big-endian * since everything else in the hashing API uniformly treats multibyte values as little-endian. * * <p>To create a {@code HashCode} from its string representation, see {@link #fromString}. */ @Override public final String toString() { byte[] bytes = getBytesInternal();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:54:59 UTC 2024 - 12.6K bytes - Viewed (0) -
src/arena/arena.go
runtime_arena_arena_Free(a.a) a.a = nil } // New creates a new *T in the provided arena. The *T must not be used after // the arena is freed. Accessing the value after free may result in a fault, // but this fault is also not guaranteed. func New[T any](a *Arena) *T { return runtime_arena_arena_New(a.a, reflectlite.TypeOf((*T)(nil))).(*T) } // MakeSlice creates a new []T with the provided capacity and length. The []T must
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 4.3K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
private final int hashCode; /** * Creates a new source backed by the specified file. * * @param file The file, must not be {@code null}. * @deprecated Use {@link #FileSource(Path)} instead. */ @Deprecated public FileSource(File file) { this(Objects.requireNonNull(file, "file cannot be null").toPath()); } /** * Creates a new source backed by the specified file. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java
/** * Creates a new build summary for the specified project. * * @param project The project being summarized, must not be {@code null}. * @param time The build time of the project in milliseconds. */ protected BuildSummary(MavenProject project, long time) { this(project, time, time); } /** * Creates a new build summary for the specified project. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/once/singleton.go
package once // Singleton contains a pointer to T that must be set once. // Until the value is set all Get() calls will block. type Singleton[T any] struct { v *T set chan struct{} } // NewSingleton creates a new unset singleton. func NewSingleton[T any]() *Singleton[T] { return &Singleton[T]{set: make(chan struct{}), v: nil} } // Get will return the singleton value. func (s *Singleton[T]) Get() *T { <-s.set return s.v
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 952 bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.h
#define TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_ // Run a function containing a MatMul op and check its output. // If heavy_load_on_streaming_rpc is true, send some rpc requests before the one // which creates a remote input, to simulate a scenario that the remote input // is not ready when we start running an op or a function. void TestRemoteExecuteSilentCopies(bool async, bool remote, bool func,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Dec 11 22:56:03 UTC 2020 - 1.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java
* */ public class BuildFailure extends BuildSummary { /** * The cause of the build failure. */ private final Throwable cause; /** * Creates a new build summary for the specified project. * * @param project The project being summarized, must not be {@code null}. * @param time The build time of the project in milliseconds.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0)