- Sort Score
- Result 10 results
- Languages All
Results 1451 - 1460 of 1,960 for isize (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
public class IterablesTest extends TestCase { public void testSize0() { Iterable<String> iterable = emptySet(); assertEquals(0, Iterables.size(iterable)); } public void testSize1Collection() { Iterable<String> iterable = singleton("a"); assertEquals(1, Iterables.size(iterable)); } public void testSize2NonCollection() { Iterable<Integer> iterable = new Iterable<Integer>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
// GET /api/admin/backup/files @Execute public JsonResponse<ApiResult> files() { final List<Map<String, String>> list = getBackupItems(); return asJson(new ApiBackupFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result()); } // GET /api/admin/backup/file/{id} @Execute public StreamResponse get$file(final String id) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
} TestSuite suite = new TestSuite(name); for (Feature<?> collectionSize : sizesToTest) { String oneSizeName = Platform.format( "%s [collection size: %s]", name, collectionSize.toString().toLowerCase()); OneSizeGenerator<T, E> oneSizeGenerator = new OneSizeGenerator<>(getSubjectGenerator(), (CollectionSize) collectionSize);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
{* ../../docs_src/advanced_middleware/tutorial003.py hl[2,6] *} The following arguments are supported: * `minimum_size` - Do not GZip responses that are smaller than this minimum size in bytes. Defaults to `500`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:45:50 UTC 2024 - 4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
val flushHeaders = body == null || bodyDelayNanos != 0L require(!outFinished || trailers.size == 0) { "unsupported: no body and non-empty trailers $trailers" } sleepNanos(response.headersDelayNanos) stream.writeHeaders(response.toHttp2Headers(), outFinished, flushHeaders) if (trailers.size > 0) { stream.enqueueTrailers(trailers) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
} public void test_getUsedMemory() { assertTrue(MemoryUtil.getUsedMemory() >= 0); } public void test_sizeOf() throws Exception { // System.out.println("size: " + getObjectSize("")); assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE)); assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE)); assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
@MapFeature.Require(SUPPORTS_REMOVE) public void testClear() { getMap().clear(); assertTrue("After clear(), a map should be empty.", getMap().isEmpty()); assertEquals(0, getMap().size()); assertFalse(getMap().entrySet().iterator().hasNext()); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java
} return adjacentNodes; } @Override public Set<E> edgesConnecting(N node) { return new MultiEdgesConnecting<E>(incidentEdgeMap, node) { @Override public int size() { return adjacentNodesMultiset().count(node); } }; } @Override @CheckForNull public N removeInEdge(E edge, boolean isSelfLoop) { if (!isSelfLoop) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
int start = bufferIndex; int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if ( structureSize != 9 ) { throw new SMBProtocolDecodingException("Structure size != 9"); } this.sessionFlags = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4; int securityBufferOffset = SMBUtil.readInt2(buffer, bufferIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.1K bytes - Viewed (0) -
cmd/bitrot-whole.go
"hash" "io" ) // Implementation to calculate bitrot for the whole file. type wholeBitrotWriter struct { disk StorageAPI volume string filePath string shardSize int64 // This is the shard size of the erasure logic hash.Hash // For bitrot hash } func (b *wholeBitrotWriter) Write(p []byte) (int, error) { err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p) if err != nil { return 0, err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (0)