- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for Drives (2.48 sec)
-
src/main/java/org/codelibs/core/sql/DriverManagerUtil.java
*/ public static void registerDriver(final Driver driver) { assertArgumentNotNull("driver", driver); try { DriverManager.registerDriver(driver); } catch (final SQLException e) { throw new SQLRuntimeException(e); } } /** * Deregisters a JDBC driver. * * @param driverRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
when(mockConfig.getOemEncoding()).thenReturn("windows-1252"); cmd = new SmbComQueryInformation(mockConfig, "testfile.txt"); } @Test @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string") void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException { byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
// Test the writeSetupWireFormat method TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] dst = new byte[10]; // writeSetupWireFormat writes 4 bytes: // - subCommand byte // - 3 zero bytes (padding and no FID) int written = pipe.writeSetupWireFormat(dst, 0); assertEquals(4, written, "Setup should write 4 bytes");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertTrue(digest.called, "sign() should be called during encode"); assertEquals(len, digest.lastLength); } @Test @DisplayName("writeAndXWireFormat without andx writes 0xFF and sentinel offset") void testWriteAndXWireFormatWithoutAndx() { DummyAndXBlock block = new DummyAndXBlock(); byte[] buf = new byte[128]; int n = block.writeAndXWireFormat(buf, 0);
Registered: 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/internal/util/SMBUtil.java
* * @author mbechler */ public class SMBUtil { /** * Private constructor to prevent instantiation of utility class. */ private SMBUtil() { } /** * Writes a 16-bit integer value to a byte array in little-endian format * @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
} /** * Verify that writeParameterWordsWireFormat writes the file id and the * unsigned time correctly. The last write time is zero which should be * encoded as four 0xFF bytes by {@code writeUTime}. */ @ParameterizedTest(name = "fid={0}, lastWriteTime={1}") @MethodSource("validParams") @DisplayName("happy: writeParameterWordsWireFormat writes correct bytes")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
} if (FormatType.SUGGEST.name().equals(type)) { return FormatType.SUGGEST; } // default return FormatType.OTHER; } /** * Writes text content to the HTTP response with specified content type and encoding. * @param text The text content to write. * @param contentType The content type for the response.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
} /** * Writes setup data in wire format * @param dst destination buffer * @param dstIndex starting index in destination buffer * @return number of bytes written */ protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex); /** * Writes parameters in wire format * @param dst destination bufferRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
@DisplayName("writeParametersWireFormat writes referral level and path") void testWriteParams() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("abc"); setPrivateField(cmd, "maxReferralLevel", 0x12AB); byte[] buffer = new byte[100]; int len = cmd.writeParametersWireFormat(buffer, 0); assertTrue(len >= 2); // writeInt2 writes in little-endian format (LSB first)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
assertEquals(0, (dst[5] << 8) | (dst[4] & 0xFF)); } @Test void testWriteDataWireFormat() { // Given // writeInt8 writes 8 bytes but needs to access dst[dstIndex+7] // Total bytes written: 8+8+8+8+2+6=40 // But writeInt8 at position 34 needs to access position 34+7=41 // So we need at least 42 bytes in the array
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0)