- Sort Score
- Result 10 results
- Languages All
Results 1651 - 1660 of 2,029 for Size (0.09 sec)
-
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(bimap.entrySet()); assertEquals(3, uniqueEntries.size()); } @J2ktIncompatible @GwtIncompatible // serialize public void testSerializable() { SerializableTester.reserializeAndAssert(EnumHashBiMap.create(Currency.class)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
} /** * 管理している {@link TimeoutTask}の数を返します。 * * @return 管理している {@link TimeoutTask}の数 */ public synchronized int getTimeoutTaskCount() { return timeoutTaskList.size(); } @Override public void run() { int nThreads = Runtime.getRuntime().availableProcessors() / 2; final String value = System.getProperty("corelib.timeout_task.num_of_threads");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
? (ImmutableGraph<N>) graph : new ImmutableGraph<N>( new StandardValueGraph<N, Presence>( GraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size())); } /** * Simply returns its argument. * * @deprecated no need to use this */ @Deprecated public static <N> ImmutableGraph<N> copyOf(ImmutableGraph<N> graph) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
cmd/storage-errors.go
// errFileAccessDenied - cannot access file, insufficient permissions. var errFileAccessDenied = StorageErr("file access denied") // errFileCorrupt - file has an unexpected size, or is not readable var errFileCorrupt = StorageErr("file is corrupted") // errBitrotHashAlgoInvalid - the algo for bit-rot hash // verification is empty or invalid.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
MAVEN_METADATA_XML, Metadata.Nature.RELEASE_OR_SNAPSHOT); List<MetadataRequest> metadataRequests = new ArrayList<>(request.getRepositories().size()); metadataRequests.add(new MetadataRequest(metadata, null, request.getRequestContext())); for (RemoteRepository repository : request.getRepositories()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
try { closeable.close(); } catch (IOException e) { throw new UncheckedIOException(e); } } /** * Returns the size of this source in chars, if the size can be easily determined without actually * opening the data stream. * * <p>The default implementation returns {@link Optional#absent}. Some sources, such as a {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
if (generate != null) { ImmutableList<Parameter> params = Invokable.from(generate).getParameters(); List<Object> args = Lists.newArrayListWithCapacity(params.size()); TypeVariable<?>[] typeVars = rawType.getTypeParameters(); for (int i = 0; i < params.size(); i++) { TypeToken<?> paramType = type.resolveType(typeVars[i]); // We require all @Generates methods to either be parameter-less or accept non-null
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
assertEquals( /*expected=*/ BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR) .longValue(), /*actual=*/ LongMath.MAX_POWER_OF_SQRT2_UNSIGNED); } @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath public void testMaxLog10ForLeadingZeros() { for (int i = 0; i < Long.SIZE; i++) { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
.build() server.enqueue(responseWithoutBody) val call = client.newCall(Request(server.url("/foo"))) val response = call.execute() // Body contains nothing. assertThat(response.body.bytes().size).isEqualTo(0) assertThat(response.body.contentLength()).isEqualTo(0) // Content-Length header doesn't exist in a 204 response. assertThat(response.header("content-length")).isNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
TFE_Execute(op, op_outputs.data(), num_outputs, s); TFE_DeleteOp(op); if (TF_GetCode(s) != TF_OK) return; std::vector<TFE_TensorHandle*> unwrapped_outputs; unwrapped_outputs.reserve(op_outputs.size()); for (auto* handle : op_outputs) { unwrapped_outputs.push_back(handle); } for (int i = 0; i < *num_outputs; ++i) { auto logged_tensor = std::make_unique<LoggedTensor>(unwrapped_outputs[i]);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Mar 03 20:47:31 UTC 2021 - 8.3K bytes - Viewed (0)