- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 2,360 for Size (0.23 sec)
-
guava/src/com/google/common/collect/EnumMultiset.java
} } @Override int distinctElements() { return distinctElements; } @Override public int size() { return Ints.saturatedCast(size); } @Override public int count(@Nullable Object element) { // isActuallyE checks for null, but we check explicitly to help nullness checkers.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
List<Path> unresolved = dispatched.get(PathType.UNRESOLVED); assertEquals(3, dispatched.size()); assertEquals(1, unresolved.size()); assertEquals(8, classes.size()); // "plexus.pom" and "junit.jar" are excluded. assertEquals(1, modules.size()); assertEquals("plexus-1.0.11.pom", unresolved.get(0).getFileName().toString());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should decode error response with correct structure size") void testReadErrorResponseValid() throws SMBProtocolDecodingException { byte[] buffer = new byte[256]; int bufferIndex = 0; // Write error response structure SMBUtil.writeInt2(9, buffer, bufferIndex); // structure size buffer[bufferIndex + 2] = 2; // error context countRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
ToolchainsBuildingResult result = toolchainBuilder.build(request); assertNotNull(result.getEffectiveToolchains()); assertNotNull(result.getProblems()); assertEquals(0, result.getProblems().size()); } @Test void testBuildRequestWithUserToolchains() throws Exception { Properties props = new Properties(); props.put("key", "user_value");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java
super(); } // `size` is an alias of `num`. // `size` is prepared to be compatible with other Admin APIs /** Number of search results to retrieve (alias for num) */ @ValidateTypeFailure public Integer size; @Override public void initialize() { if (size != null) { num = num == null || num < size ? size : num; } super.initialize(); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
logger.debug("Setting up test: {}", getClass().getSimpleName()); } /** * Create a test byte array with specified size and pattern */ protected byte[] createTestData(int size) { byte[] data = new byte[size]; for (int i = 0; i < size; i++) { data[i] = (byte) (i % 256); } return data; } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
} @Test @DisplayName("Test size method") void testSize() { request = new Smb2SetInfoRequest(mockConfig); Encodable mockInfo = mock(Encodable.class); when(mockInfo.size()).thenReturn(100); request.setInfo(mockInfo); int size = request.size(); // Expected size calculation: size8(SMB2_HEADER_LENGTH + 32 + info.size())Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("size should return correct message size") void testSize() { int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24; // size8 method rounds up to 8-byte boundary int expectedAlignedSize = (expectedSize + 7) & ~7; assertEquals(expectedAlignedSize, request.size()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
parent = list; this.allRecordCount = allRecordCount; pageSize = size; currentPageNumber = offset / size + 1; allPageCount = allRecordCount == 0 ? 0 : (allRecordCount - 1) / size + 1; } @Override public int size() { return parent.size(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 11.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
private val source: BufferedSource = countingSource.buffer() /** Total bytes read thus far. */ private val byteCount: Long get() = countingSource.bytesRead - source.buffer.size /** How many bytes to read before [peekHeader] should return false, or -1L for no limit. */ private var limit = -1L /** Type hints scoped to the call stack, manipulated with [withTypeHint]. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0)