- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 227 for Small (0.01 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
} // =================================================================================== // Small Helper // ============ /** * Verify the CRUD mode. * @param crudMode The CRUD mode. * @param expectedMode The expected mode.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
return entity; }); } // =================================================================================== // Small Helper // ============ /** * Verify that the CRUD mode matches the expected mode. * * @param crudMode the actual CRUD mode
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
class EdgeCasesTests { @Test @DisplayName("Should handle malformed buffer gracefully") void testReadDataWireFormatMalformedBuffer() { byte[] buffer = new byte[3]; // Too small for valid DFS referral assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, buffer.length); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbException.java
* * @return retry delay or 0 if no retry */ public long getRetryDelay() { switch (severity) { case RECOVERABLE: return 100; // Immediate retry with small delay case TRANSIENT: return 5000; // Wait 5 seconds default: return 0; // No retry } } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
bufferIndex += 4; // Validate remaining buffer size for algorithms if (len < 8 + (compressionCount * 2)) { throw new SMBProtocolDecodingException("Buffer too small for compression algorithms"); } // Read compression algorithms this.compressionAlgorithms = new int[compressionCount]; for (int i = 0; i < compressionCount; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
Arguments.of((LongGetter) FileEntry::length, -100L, "negative length"), Arguments.of((LongGetter) FileEntry::length, 0L, "zero length"), Arguments.of((LongGetter) FileEntry::length, 1L, "small length")); } @ParameterizedTest(name = "Long getter {2} returns {1}") @MethodSource("longGetterProvider") void longGetters_edgeCases(LongGetter getter, long value, String label) { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
* encode/decode operation. */ public class DcerpcMessageTest { /** * A trivial concrete subclass used for testing. It simply writes a * single small value in {@code encode_in} and reads it in * {@code decode_out}. */ private static class TestMessage extends DcerpcMessage { int decodedValue = 0; TestMessage() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
// Arrange TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH); byte[] dst = new byte[5]; // Buffer too small int dstIndex = 0; // Act int bytesWritten = trans.writeDataWireFormat(dst, dstIndex); // Assert assertEquals(0, bytesWritten); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
@Test @DisplayName("Should throw exception when buffer too small for path") void testBufferTooSmallForPath() throws Exception { // Given String longPath = "\\\\server\\very_long_share_name_that_exceeds_buffer"; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, longPath); byte[] smallBuffer = new byte[20]; // Too small for header + path // When & Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)