- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 335 for wirst (0.03 sec)
-
src/test/java/jcifs/BufferCacheTest.java
void testGetBufferBasicUsage() { // When byte[] buffer1 = testCache.getBuffer(); byte[] buffer2 = testCache.getBuffer(); // Then assertNotNull(buffer1, "First buffer should not be null"); assertNotNull(buffer2, "Second buffer should not be null"); assertEquals(1024, buffer1.length, "Buffer should have expected size");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
final InputStream in1 = new ByteArrayInputStream("data1".getBytes()); final InputStream in2 = new ByteArrayInputStream("data2".getBytes()); // First call extractor.testValidateInputStream(in1); // Second call with different stream extractor.testValidateInputStream(in2); // Third call with null should still throw
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
// Verify first 24 bytes were copied for (int i = 0; i < 24; i++) { assertEquals((byte) (i % 256), resumeKey[i], "Resume key byte " + i + " should match buffer"); } } @Test @DisplayName("Test multiple decode calls on same instance") void testMultipleDecodeCalls() throws SMBProtocolDecodingException { // First decodeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
} @Test @DisplayName("close/release manage usage and transport lifecycle") void testReleaseLifecycle() { SmbSessionImpl session = newSession(); // First release drops usage to zero and releases transport session.release(); verify(transport, times(1)).release(); assertFalse(session.isInUse()); // Next release goes below zero and throwsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Buffer access out of bounds"); } } /** * Safely add integers checking for overflow * * @param a first value * @param b second value * @return sum * @throws SmbException if overflow would occur */ public int safeAdd(int a, int b) throws SmbException { totalValidations.incrementAndGet();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
package jcifs.internal.smb1.trans2; import jcifs.Configuration; import jcifs.internal.smb1.trans.SmbComTransaction; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 Trans2 Find First 2 transaction request implementation. * Initiates directory enumeration operations in SMB1 protocol, allowing clients * to search for files and directories matching specified patterns and criteria. * * @author mbechler */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// sid (2 bytes) buffer[0] = 0x01; buffer[1] = 0x00; // numEntries (2 bytes) buffer[2] = 0x05; buffer[3] = 0x00; // isEndOfSearch (2 bytes, bit 0 of first byte) buffer[4] = 0x01; // end of search = true buffer[5] = 0x00; // eaErrorOffset (2 bytes) buffer[6] = 0x00; buffer[7] = 0x00; // lastNameOffset (2 bytes)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
int bytesWritten = trans.writeSetupWireFormat(dst, 0); // Then assertEquals(2, bytesWritten, "Should write 2 bytes."); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, dst[0], "The first byte should be the subCommand."); assertEquals((byte) 0x00, dst[1], "The second byte should be 0."); } /** * Tests the writeParametersWireFormat method. */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
// When String result = Hexdump.toHexString(data, 0, data.length); // Then assertNotNull(result); assertFalse(result.isEmpty()); // Should contain hex representation of first bytes assertTrue(result.startsWith("00010203")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @ParameterizedTest @ValueSource(ints = { 1, 16, 32, 64, 128, 256 })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
// Use LinkedHashSet to maintain insertion order while eliminating duplicates final Set<String> resultSet = new LinkedHashSet<>(); resultSet.add(text); // Start with the original text as the first input List<String> currentInputs = new ArrayList<>(); currentInputs.add(text); // Apply each converter in sequence for (final ReadingConverter converter : converters) {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:28:21 UTC 2025 - 3.3K bytes - Viewed (1)