- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 1,229 for formnet (0.04 seconds)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
String filePath = directoryPath; if (!filePath.endsWith("/")) { filePath += "/"; } filePath += fileInfo.getName(); // Ensure proper SMB URL format if (!filePath.startsWith("smb://")) { if (filePath.startsWith("/")) { filePath = "smb://localhost" + filePath; } else {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertEquals(expectedTime, response.getLastAccessTime()); } @Test void testReadParameterWordsWireFormatWithData() { // Test reading parameter words from wire format response = new SmbComQueryInformationResponse(mockConfig, 0L); // Prepare test data byte[] buffer = new byte[256]; int bufferIndex = 0; // Set wordCount to non-zero
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertTrue(result.contains("action=")); assertTrue(result.contains("file=" + fileName)); // Hexdump.toHexString produces 4-character padded uppercase hex String expectedHex = String.format("%04X", action); assertTrue(result.contains("0x" + expectedHex)); } @Test @DisplayName("Test toString with empty object") void testToStringEmpty() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
int result = (int) method.invoke(cancel, buffer, bufferIndex); // Then assertEquals(0, result); } } @Nested @DisplayName("Wire Format Tests") class WireFormatTests { private SmbComNtCancel cancel; private Configuration mockConfig; @BeforeEach void setUp() throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
IOException exception = assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(bais, readBuffer, 0); }); assertEquals("invalid session request wire format", exception.getMessage()); } @ParameterizedTest @MethodSource("provideNamesForWriteTest") @DisplayName("writeTrailerWireFormat should handle various name combinations")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
assertFalse(UniAddress.isDotQuadIP(input)); } @Test void shouldReturnTrueForInvalidOctetValues() { // isDotQuadIP does not validate octet values, only checks format assertTrue(UniAddress.isDotQuadIP("192.168.1.256")); assertTrue(UniAddress.isDotQuadIP("999.999.999.999")); } @Test void shouldThrowExceptionForNullInput() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
SecurityBlob blob = new SecurityBlob(input); // Act String actual = blob.toString(); // Assert assertEquals(expected, actual, "Hex string should match expected format"); } // Ensures a default-constructed blob starts empty and stable across APIs @Test @DisplayName("Default constructor yields empty state") void defaultConstructor_initialState() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/config/dns/etcd_dns.go
} sort.Slice(srvRecords, func(i int, j int) bool { return srvRecords[i].Key < srvRecords[j].Key }) return srvRecords, nil } // Put - Adds DNS entries into etcd endpoint in CoreDNS etcd message format. func (c *CoreDNS) Put(bucket string) error { c.Delete(bucket) // delete any existing entries. t := time.Now().UTC() for ip := range c.domainIPs {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
throw new CrawlingAccessException("Failed to parse file ownership attributes: file=" + file.getAbsolutePath(), e); } } /** * Preprocesses a URI to ensure it's in the correct format for file system access. * * @param uri the URI to preprocess * @return the preprocessed URI * @throws CrawlerSystemException if the URI is empty */
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
System.arraycopy(buffer, bufferIndex, this.server.encryptionKey, 0, this.server.encryptionKeyLength); if (log.isDebugEnabled()) { log.debug(String.format("Have initial token %s", Hexdump.toHexString(this.server.encryptionKey, 0, this.server.encryptionKeyLength))); } } }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0)