- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 181 for keypath (0.07 sec)
-
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
when(mockFile.getPath()).thenReturn("/share/dir/"); RecordingFilter filter = new RecordingFilter(); filter.accept(mockFile); // Verify the filter stored the reference // assertSame may not be necessary but demonstrates captured file // we simply check that getPath was called verify(mockFile, times(1)).getPath(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
return oldKey; } } int predecessor = lastInInsertionOrder; int keyHash = Hashing.smearedHash(key); int keyEntry = findEntryByKey(key, keyHash); if (force) { if (keyEntry != ABSENT) { predecessor = prevInInsertionOrder[keyEntry]; removeEntryKeyHashKnown(keyEntry, keyHash); } } else { checkArgument(keyEntry == ABSENT, "Key already present: %s", key);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java
*/ // GET /api/admin/keymatch/settings // PUT /api/admin/keymatch/settings @Execute public JsonResponse<ApiResult> settings(final SearchBody body) { validateApi(body, messages -> {}); final KeyMatchPager pager = copyBeanToNewBean(body, KeyMatchPager.class); final List<KeyMatch> list = keyMatchService.getKeyMatchList(pager); return asJson(
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
assertNull(dfsResolver.resolve(mockContext, "anyDomain", "anyRoot", "anyPath")); } @Test void testResolve_NullRoot() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(false); assertNull(dfsResolver.resolve(mockContext, "anyDomain", null, "anyPath")); } @Test void testResolve_IpcRoot() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
// Edge-like Windows UNC-style: a single backslash in the path String reqPath = "\\"; String resolved = "smb://server/share/path"; when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved); String out = locator.handleDFSReferral(referral, reqPath); assertEquals(resolved, out); // Verify exact argument interaction
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertEquals(path.normalize(), source.getPath()); } @Test void testBuildSource() { Path path = Paths.get("/tmp"); ModelSource source = Sources.buildSource(path); assertNotNull(source); assertInstanceOf(Sources.BuildPathSource.class, source); assertEquals(path.normalize(), source.getPath()); } @Test void testResolvedSource() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
assertEquals("host", url1.getHost()); assertEquals(445, url1.getPort()); assertEquals("/share", url1.getPath()); assertEquals("smb", url2.getProtocol()); assertEquals("host", url2.getHost()); assertEquals(1234, url2.getPort()); assertEquals("/share/file.txt", url2.getPath()); assertEquals("smb", url3.getProtocol()); assertEquals("host", url3.getHost());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt
builder.add("example.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw*") } } /** Multiple certificates generated from the same keypair have the same pin. */ @Test fun sameKeypairSamePin() { val heldCertificateA2 = HeldCertificate .Builder() .keyPair(certA1.keyPair) .serialNumber(101L) .build() val keypairACertificate2Pin = pin(heldCertificateA2.certificate)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
// Stub the getPath method to return a specific value when(mockDir.getPath()).thenReturn("/share/folder/"); // Implementation uses dir.getPath() to check if file should be in that path SmbFilenameFilter filter = (dir, name) -> { if (dir == null) return false; String path = dir.getPath();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
void testGetPath() { // Given String path = "/test/path"; when(mockReferralData.getPath()).thenReturn(path); // When String result = mockReferralData.getPath(); // Then assertEquals(path, result); verify(mockReferralData).getPath(); } @Test @DisplayName("Should get expiration") void testGetExpiration() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0)