- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for newPath (1.18 sec)
-
src/test/java/jcifs/internal/RequestWithPathTest.java
void testSetPath() { // Test with mock String newPath = "/new/path/file.txt"; doNothing().when(requestWithPath).setPath(newPath); requestWithPath.setPath(newPath); verify(requestWithPath, times(1)).setPath(newPath); // Test with implementation testImplementation.setPath(newPath); assertEquals(newPath, testImplementation.getPath()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 53.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
final String filename = getImageFilename(docId); final Path newPath = basePath.resolve(filename); if (!path.equals(newPath)) { try { try { Files.createDirectories(newPath.getParent()); } catch (final FileAlreadyExistsException e) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
void testGetPath() { request = new Smb2CreateRequest(mockConfig, "share\\file.txt"); assertEquals("\\share\\file.txt", request.getPath()); request.setPath("newpath\\newfile.txt"); assertEquals("\\newpath\\newfile.txt", request.getPath()); } @Test @DisplayName("Test setFullUNCPath and related getters") void testFullUNCPath() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
if (auth != null) { final NtlmPasswordAuthenticator newAuth = NtlmAuthenticator.requestNtlmPasswordAuthentication(auth, locationHint, error instanceof SmbAuthException s ? s : null); if (newAuth != null) { this.creds = newAuth; return true; } } return false; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
return currentHash.clone(); } } public void updateHash(byte[] newHash) { synchronized (hashLock) { if (newHash != null && newHash.length == currentHash.length) { this.currentHash = newHash.clone(); } } } public boolean isValid() { return isValid; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
byte[] input = "test data".getBytes(); byte[] oldHash = new byte[64]; byte[] newHash = (byte[]) calcMethod.invoke(transport, input, 0, input.length, oldHash); assertNotNull(newHash); assertEquals(64, newHash.length); // SHA-512 produces 64 bytes assertNotEquals(oldHash, newHash); // Should be different instance } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
scripts/docs.py
""" new_path: Path = Path("docs") / lang if new_path.exists(): typer.echo(f"The language was already created: {lang}") raise typer.Abort() new_path.mkdir() new_config_path: Path = Path(new_path) / mkdocs_name new_config_path.write_text("INHERIT: ../en/mkdocs.yml\n", encoding="utf-8") new_config_docs_path: Path = new_path / "docs" new_config_docs_path.mkdir()Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Dec 21 17:40:17 UTC 2025 - 16.9K bytes - Viewed (0) -
internal/store/batch_test.go
} }() store, err := setUpQueueStore(queueDir, 100) if err != nil { t.Fatalf("Failed to create a queue store; %v", err) } var limit uint32 = 100 batch := NewBatch[TestItem](BatchConfig[TestItem]{ Limit: limit, Store: store, CommitTimeout: 5 * time.Minute, Log: func(ctx context.Context, err error, id string, errKind ...any) { t.Log(err) }, })
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
digest.secureWipeKey(); // Verify digest fails after wiping byte[] newData = new byte[128]; Arrays.fill(newData, (byte) 0x66); assertThrows(IllegalStateException.class, () -> { digest.sign(newData, 0, newData.length, request, response); }, "Should throw exception after key is wiped"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0)