- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 213 for retVal (0.04 sec)
-
src/main/java/org/codelibs/fess/util/ResourceUtil.java
return getPath("WEB-INF/", "env/" + envName, names); } /** * Gets the path by trying multiple locations in order of preference. * First tries to get the real path from servlet context, then checks various * fallback locations including source and target directories. * * @param root the root directory (e.g., "WEB-INF/")
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
} } /* * TODO(cpovirk): `return (V) removedValue` once our checker permits that. * * (We promoted a class of warnings into errors because sometimes they indicate real problems. * But now we need to "undo" some instance of spurious errors, as discussed in * https://github.com/jspecify/checker-framework/issues/8.) */ return removedValue == null ? null : (V) removedValue;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
import org.junit.runners.JUnit4; /** * Unit test for {@link FinalizableReferenceQueue}. * * @author Bob Lee */ // - depends on details of GC and classloading // - .class files aren't available // - possibly no real concept of separate ClassLoaders? @AndroidIncompatible @GwtIncompatible @RunWith(JUnit4.class) @NullUnmarked public class FinalizableReferenceQueueTest { private @Nullable FinalizableReferenceQueue frq;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
// ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters // greater than 127 (ie with their top bit set). // Don't attempt to do this in real code. assertEquals( fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); } public void testMumurHash64() { byte[] bytes = "test".getBytes(UTF_8);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
when { this.isEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) // Collection.toArray returns Object[] (covariant). // It is faster than creating real T[] via reflection (Arrays.copyOf). else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T> } /** Returns an immutable list containing [elements]. */ @SafeVarargsRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage()); // For testing purposes, continue processing other files // In a real scenario, you might want to handle this differently } } return files; } /** * Update directory cache with new listing *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId); // When request.setFileId(testFileId); // Then - verify through internal state (would need getter or reflection in real scenario) // Since we can't directly verify the internal state, we create a new request to test Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
return null; } if (this.isDataFromNodeStatus) { /* * 'this' has been updated and should now * have a real NetBIOS name */ this.calledName = null; return getHostName(); } } catch (final UnknownHostException uhe) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
private NetShareEnum netShareEnum; private Configuration realConfig; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Use real configuration for most tests realConfig = new BaseConfiguration(false); // Mock configuration setup when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)