- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 642 for maximum (0.42 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
response.readParametersWireFormat(buffer, 0, 6); assertEquals(0, response.getAvailable()); // Test maximum unsigned 16-bit value (65535) SMBUtil.writeInt2(0xFFFF, buffer, 0); TransPeekNamedPipeResponse response2 = new TransPeekNamedPipeResponse(mockConfig); response2.readParametersWireFormat(buffer, 0, 6); assertEquals(0xFFFF, response2.getAvailable()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
*/ // Constants /** * The maximum capacity, used if a higher value is implicitly specified by either of the * constructors with arguments. MUST be a power of two {@code <= 1<<30} to ensure that entries are * indexable using ints. */ static final int MAXIMUM_CAPACITY = 1 << 30; /** The maximum number of segments to allow; used to bound constructor arguments. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 19:35:11 UTC 2025 - 148.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
} } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum supported hash algorithms and salt") void testMaximumHashAlgosAndSalt() throws SMBProtocolDecodingException { int maxAlgos = 100; int[] hashAlgos = new int[maxAlgos];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
*/ public DialectVersion getDialect() { return this.dialect; } /** * Set key rotation limits * * @param bytesLimit maximum bytes to encrypt before rotation (0 to disable) * @param timeMillis maximum time in milliseconds before rotation (0 to disable) */ public void setKeyRotationLimits(long bytesLimit, long timeMillis) { if (bytesLimit > 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
return OptionalEntity.empty(); } /** * Retrieves a paginated list of character mapping items. * * @param offset the starting index for pagination (0-based) * @param size the maximum number of items to return * @return a PagingList containing the requested subset of mapping items */ @Override public synchronized PagingList<CharMappingItem> selectList(final int offset, final int size) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
} @Test @DisplayName("Test boundary conditions for buffer offsets") void testBoundaryConditions() { byte[] smallBuffer = new byte[10]; // Test with maximum offset int result = response.writeSetupWireFormat(smallBuffer, Integer.MAX_VALUE); assertEquals(0, result); result = response.readSetupWireFormat(smallBuffer, Integer.MAX_VALUE, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Should not include SMB202 or SMB210 for (int dialect : dialects) { assertTrue(dialect >= 0x0300); } } @Test @DisplayName("Should handle null maximum version") void testNullMaximumVersion() { // Given when(mockConfig.getMaximumVersion()).thenReturn(null); // When/Then - Should throw NPE based on actual implementationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
assertEquals(65535, buffer.getTflags()); } @Test @DisplayName("Should handle minimum buffer size") void testMinimumBufferSize() { byte[] testBuffer = new byte[8]; // Minimum size for header int bytesDecoded = buffer.decode(testBuffer, 0, testBuffer.length); assertEquals(8, bytesDecoded);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// let's test the actual validation logic instead byte[] buffer2 = createBasicNegotiateResponseBuffer(); // Set maximum 16-bit value SMBUtil.writeInt2(65535, buffer2, 58); // Test should detect buffer overflow (this is working correctly!)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
// Verify DFS name is set to server name assertEquals(TEST_SERVER, dfsRootEnum.dfs_name); // Verify preferred max length is set to maximum assertEquals(0xFFFF, dfsRootEnum.prefmaxlen); // Verify totalentries is initialized assertNotNull(dfsRootEnum.totalentries); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0)