- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 238 for paging (2.16 sec)
-
src/test/java/jcifs/smb1/smb1/HandlerTest.java
import org.junit.jupiter.api.Test; /** * Unit tests for {@link Handler}. * * Tests the SMB URL handler implementation including: * - Default port configuration * - URL connection opening * - URL creation and parsing */ public class HandlerTest { private final Handler handler = new Handler(); @BeforeAll static void setupProtocolHandler() { // Register the SMB protocol handlerRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
ASN1EncodableVector authDataVector = new ASN1EncodableVector(); ASN1EncodableVector authElementVector = new ASN1EncodableVector(); // Use an auth type that doesn't require complex parsing (e.g., 999 - unknown type) authElementVector.add(new DERTaggedObject(0, new ASN1Integer(999))); // ad-type authElementVector.add(new DERTaggedObject(1, new DEROctetString(new byte[] { 1, 2, 3, 4 })));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* Removes protocol and path components to return just the hostname. * * @param u the URL string to extract host from * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails */ default String getHost(final String u) { if (StringUtil.isBlank(u)) { return StringUtil.EMPTY; // empty } String url = u;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length); // Verify - actual implementation reads 20 bytes (4 + 4 + 4 + 4 + 4) // bytesPerSect is read as Int2 but advances by 4 bytes (padding) assertEquals(20, bytesDecoded); // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect long expectedCapacity = alloc * sectPerAlloc * bytesPerSect;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
int actual = (int) getPrivateField(req, "createDisposition"); assertEquals(expected, actual, "createDisposition should match"); } } @Test @DisplayName("CreateOptions default padding") void createOptionsAddedWhenLow() { // createOptions less than 0x0001 (i.e., 0) should be padded with 0x0040 SmbComNTCreateAndX req = createRequest(0, 0);
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/pac/kerberos/KerberosPacAuthDataTest.java
dos.writeInt(Integer.reverseBytes(PacConstants.PRIVSVR_CHECKSUM)); dos.writeInt(Integer.reverseBytes(16)); dos.writeLong(Long.reverseBytes(300)); // Add some padding for (int i = 0; i < 300; i++) { dos.writeByte(0); } return baos.toByteArray(); } catch (IOException e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
LICENSE
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanicalRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Jan 11 04:26:17 UTC 2021 - 11.1K bytes - Viewed (0) -
LICENSE
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanicalRegistered: Sat Dec 20 08:54:13 UTC 2025 - Last Modified: Thu Feb 20 19:53:57 UTC 2020 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
assertTrue(entry.isExpired()); assertTrue(entry.needsRefresh()); } @Test public void testNeedsRefresh() { assertFalse(entry.needsRefresh()); // Mark as having changes entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L); assertTrue(entry.hasChanges()); assertTrue(entry.needsRefresh()); // Mark as complete (clears changes)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
assertTrue(stringRep.contains("DOMAIN")); assertTrue(stringRep.contains("user")); assertTrue(stringRep.contains("WORKSTATION")); } @Test @DisplayName("Should handle parsing invalid message bytes") void testInvalidMessageBytes() { // Given byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid // When/Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0)