- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 248 for zeros (0.8 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO); byte[] buffer = new byte[1024]; int bufferIndex = 100; // Start at non-zero index // Set structure size to 9 (valid) SMBUtil.writeInt2(9, buffer, bufferIndex); // Set buffer offset (relative to header start) SMBUtil.writeInt2(50, buffer, bufferIndex + 2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime()); assertEquals(TEST_ATTRIBUTES, decoded.getAttributes()); } @Test @DisplayName("Test with zero times and attributes") void testWithZeroValues() throws SMBProtocolDecodingException { FileBasicInfo info = new FileBasicInfo(0L, 0L, 0L, 0L, 0); // Encode byte[] buffer = new byte[50];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
"Should throw exception when buffer is too small"); } @Test @DisplayName("Should handle zero-length name") void testZeroLengthName() { TestCreateContextRequest emptyNameRequest = new TestCreateContextRequest(new byte[0]); assertNotNull(emptyNameRequest.getName());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
assertEquals(TEST_TOKEN.length, SMBUtil.readInt2(buffer, bodyOffset + 14)); // Token length } } @Test @DisplayName("Should write channel field as zero") void testChannelFieldAlwaysZero() throws Exception { // Given byte[] buffer = new byte[512]; // When request.encode(buffer, 0); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
} tagNo = b & 0x7f; // X.690-0207 8.1.2.4.2 // "c) bits 7 to 1 of the first subsequent octet shall not all be zero." if (0 == tagNo) { throw new IOException("corrupted stream - invalid high tag number found"); } while ((b & 0x80) != 0) { if (tagNo >>> 24 != 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
assertEquals(1L, crawlerContext.getAccessCount()); assertEquals(0L, crawlerContext.decrementAndGetAccessCount()); assertEquals(0L, crawlerContext.getAccessCount()); // Test decrement below zero assertEquals(-1L, crawlerContext.decrementAndGetAccessCount()); assertEquals(-1L, crawlerContext.getAccessCount()); } /** * Test concurrent access count operations */
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/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, transPeekNamedPipe.getSubCommand()); } @Test @DisplayName("Should handle edge case with zero FID") void testZeroFid() { // Arrange transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, 0); byte[] buffer = new byte[10]; // Act
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
int informationLevel = SMBUtil.readInt2(buffer, 4); assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, informationLevel); } @Test void testZeroValues() { // Test with zero values for numeric parameters trans2FindNext2 = new Trans2FindNext2(config, 0, 0, "", 0, 0); assertNotNull(trans2FindNext2); byte[] buffer = new byte[256];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
}); } @Test @DisplayName("Test PacUnicodeString check method with valid pointer") void testPacUnicodeStringCheckWithValidPointer() throws Exception { // When pointer is non-zero, validate string length String testString = "TEST"; short length = (short) (testString.length() * 2); // Unicode length PacUnicodeString unicodeString = new PacUnicodeString(length, length, 100);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)