- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 77 for 0011 (2.32 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
lock = new Smb2Lock(100L, 200L, sharedWithFailImmediately); lock.encode(buffer, 0); assertEquals(0x11, SMBUtil.readInt4(buffer, 16)); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
assertEquals(8, serverData.encryptionKeyLength); } @Test void testReadParameterWordsWireFormat_InvalidDialect() { byte[] paramWords = new byte[2]; paramWords[0] = 11; // dialectIndex > 10 int bytesRead = response.readParameterWordsWireFormat(paramWords, 0); assertEquals(2, bytesRead); assertEquals(11, response.dialectIndex); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 })); } /** * @throws Exception */ @Test public void testToHex2() throws Exception { assertEquals("0001", StringUtil.toHex(1)); } /** * @throws Exception */ @Test public void testAppendHex() throws Exception { final StringBuilder buf = new StringBuilder();
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertEquals(0x0F, ServerMessageBlock2.SMB2_CHANGE_NOTIFY); assertEquals(0x10, ServerMessageBlock2.SMB2_QUERY_INFO); assertEquals(0x11, ServerMessageBlock2.SMB2_SET_INFO); assertEquals(0x12, ServerMessageBlock2.SMB2_OPLOCK_BREAK); } @Test @DisplayName("Should have correct flag constants")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001); assertEquals(75.0, percentUsed, 0.001); } @Test @DisplayName("Should differentiate between caller available and actual free units")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
/** * Test sessionId getter and setter */ public void test_sessionId() { assertNull(crawlerContext.getSessionId()); crawlerContext.setSessionId("test-session-001"); assertEquals("test-session-001", crawlerContext.getSessionId()); crawlerContext.setSessionId(null); assertNull(crawlerContext.getSessionId()); crawlerContext.setSessionId("");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
D = FF(D, A, B, C, X[5], 7); C = FF(C, D, A, B, X[6], 11); B = FF(B, C, D, A, X[7], 19); A = FF(A, B, C, D, X[8], 3); D = FF(D, A, B, C, X[9], 7); C = FF(C, D, A, B, X[10], 11); B = FF(B, C, D, A, X[11], 19); A = FF(A, B, C, D, X[12], 3); D = FF(D, A, B, C, X[13], 7); C = FF(C, D, A, B, X[14], 11); B = FF(B, C, D, A, X[15], 19);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
} @Test @DisplayName("initSecContext returns token and verifies interaction") void initSecContext_success() throws Exception { byte[] in = new byte[] { 10, 11 }; byte[] out = new byte[] { 12, 13, 14 }; when(gssContext.initSecContext(eq(in), eq(0), eq(in.length))).thenReturn(out); byte[] res = ctx.initSecContext(in, 0, in.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* @throws IOException if a network error occurs */ @Override public int read() throws IOException { // need oplocks to cache otherwise use BufferedInputStream if (read(tmp, 0, 1) == -1) { return -1; } return tmp[0] & 0xFF; } /** * Reads up to b.length bytes of data from this input stream into an array of bytes. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0)