- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 225 for Small (0.08 sec)
-
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
final int dataStart = getHeaderStart() + dataOffset; if (this.dataLength + this.outputBufferOffset > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Buffer to small for read response"); } System.arraycopy(buffer, dataStart, this.outputBuffer, this.outputBufferOffset, this.dataLength); bufferIndex = Math.max(bufferIndex, dataStart + this.dataLength);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
assertSame(purgeThumbnailJob, result); // Test value was not changed assertEquals(originalExpiry, purgeThumbnailJob.getExpiry()); } // Test expiry setter with small positive value public void test_expiry_smallPositiveValue() { PurgeThumbnailJob result = purgeThumbnailJob.expiry(1L); // Test method chaining assertSame(purgeThumbnailJob, result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
}); } @Test @DisplayName("Interaction: consumer is invoked for each found mapping") void interactionWithConsumerIsAsExpected() { // Arrange: choose a small set of known DOS codes List<Integer> inputs = Arrays.asList(0x00000000, 0x00050001, 0x007b0001, 0x0BADF00D); @SuppressWarnings("unchecked") BiConsumer<Integer, Integer> consumer = mock(BiConsumer.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
*/ @NullUnmarked public class ToStringHelperBenchmark { @Param({"0", "1", "5"}) int dataSize; @Param({"false", "true"}) boolean omitNulls; enum Dataset { SMALL { @Override void addEntries(MoreObjects.ToStringHelper helper) { helper .add(SHORT_NAME, 10) .addValue(10L) .add(SHORT_NAME, 3.14f) .addValue(3.14d)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
} @Test @DisplayName("Test invalid buffer size for decoding") public void testInvalidBufferSize() { byte[] smallBuffer = new byte[4]; // Too small assertThrows(SMBProtocolDecodingException.class, () -> { context.decode(smallBuffer, 0, smallBuffer.length); }); } @Test @DisplayName("Test algorithm name resolution")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
assertEquals(4, bytesRead); } @Test @DisplayName("Should throw exception with buffer too small to read structure size") void testReadBytesWireFormatInsufficientBufferForStructureSize() { // Given byte[] buffer = new byte[1]; // Too small to read 2-byte structure size // When & Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
int NT_STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016; /** Access is denied */ int NT_STATUS_ACCESS_DENIED = 0xC0000022; /** The data area passed to a system call is too small */ int NT_STATUS_BUFFER_TOO_SMALL = 0xC0000023; /** The object name is invalid */ int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033; /** The object was not found */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
* trivial wire-format helpers and a custom {@code toString()} implementation. * All tests are pure unit tests – no network or file system access is * required. */ class Trans2QueryFSInformationTest { /** Small helper to create a byte buffer larger than the maximum expected * wire format so that we can observe only the bytes written by a method. */ private static byte[] newBuffer(int length) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
} @Test @DisplayName("Test hasMoreElements becomes false when all data is sent") void testHasMoreElementsBecomeFalse() { // Set small amounts so everything fits in one message transaction.setParameterBytesWritten(10); transaction.setDataBytesWritten(10); // First call processes all data transaction.nextElement();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
return entity; }); } // =================================================================================== // Small Helper // ============ /** * Verifies 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 Jul 17 08:28:31 UTC 2025 - 16.7K bytes - Viewed (0)