- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 584 for NetName (0.04 sec)
-
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
*/ @Test void testGetRemoteUser() { // Arrange: Define the expected user name from the principal String expectedUserName = "testUser"; when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
@SuppressWarnings("deprecation") @Override public void tearDown() throws Exception { stop(); join(); if (uncaughtThrowable != null) { throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable); } } /** * Causes this thread to call the named void method, and asserts that the call returns normally. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
// Update cache with new directory listing for (SmbFile file : files) { SmbFileAttributes attrs = file.getAttributes(); entry.updateChild(file.getName(), attrs); } entry.markComplete(); } public void handleDirectoryChange(String directoryPath, String childName,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt
* assertions about them. */ class TestLogHandler( private val logger: Logger, ) : TestRule, BeforeEachCallback, AfterEachCallback { constructor(loggerName: Class<*>) : this(Logger.getLogger(loggerName.getName())) private val logs = LinkedBlockingQueue<String>() private val handler = object : Handler() { override fun publish(logRecord: LogRecord) { logs += "${logRecord.level}: ${logRecord.message}"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java
} } if (!found) { Plugin plugin = new Plugin(); plugin.setPrefix(goalPrefix); plugin.setArtifactId(artifactId); plugin.setName(name); getMetadata().addPlugin(plugin); } } @Override public Object getKey() { return groupId; } @Override public boolean isSnapshot() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().equals("test_stackTrace") && element.getClassName().equals(this.getClass().getName())) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); } public void test_serialVersionUID() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
} @Override public int hashCode() { return enumClass.hashCode(); } @Override public String toString() { return "Enums.stringConverter(" + enumClass.getName() + ".class)"; } @J2ktIncompatible private static final long serialVersionUID = 0L; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/LazyLogger.java
private final Object lock = new Object(); private final String loggerName; private volatile @Nullable Logger logger; LazyLogger(Class<?> ownerOfLogger) { this.loggerName = ownerOfLogger.getName(); } Logger get() { /* * We use double-checked locking. We could the try racy single-check idiom, but that would * depend on Logger to not contain mutable state. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ThreadUtil.java
return; } try { Thread.sleep(millis); } catch (final InterruptedException e) { if (logger.isDebugEnabled()) { logger.debug(Thread.currentThread().getName() + " is interrupted.", e); } } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java
derivedSuites.add( CollectionTestSuiteBuilder.using( new ReserializedCollectionGenerator<E>(parentBuilder.getSubjectGenerator())) .named(getName() + " reserialized") .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures())) .suppressing(parentBuilder.getSuppressedTests()) .withSetUp(parentBuilder.getSetUp())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 3.6K bytes - Viewed (0)