- Sort Score
- Num 10 results
- Language All
Results 1481 - 1490 of 2,548 for Then (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/netbios/NameTest.java
// Create a mock NetbiosName that is not a Name instance NetbiosName mockNetbiosName = mock(NetbiosName.class); when(mockNetbiosName.getName()).thenReturn("MOCKNAME"); when(mockNetbiosName.getNameType()).thenReturn(0x20); when(mockNetbiosName.getScope()).thenReturn("mock.scope"); Name name = new Name(mockConfig, mockNetbiosName);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
logger.log(requestStartMessage) if (logHeaders) { val headers = request.headers if (requestBody != null) { // Request body headers are only present when installed as a network interceptor. When not // already present, force them to be included (if available) so their values are known. requestBody.contentType()?.let { if (headers["Content-Type"] == null) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
this.throwExceptionOnReadData = value; } } @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getMaximumBufferSize()).thenReturn(65535); when(mockConfig.getPid()).thenReturn(1234); response = new TestSmbComTransactionResponse(mockConfig); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
@Test void testIOException() throws Exception { Source src = mock(Source.class); IOException ioException = new IOException("MESSAGE"); doThrow(ioException).when(src).getInputStream(); doReturn("LOCATION").when(src).getLocation(); ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest(); request.setGlobalToolchainsSource(src); try {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
String result = ModelVersionUtils.detectModelVersion(document); assertEquals(targetVersion, result); } @Test @DisplayName("should return default version when model version is missing") void shouldReturnDefaultVersionWhenModelVersionMissing() throws Exception { String pomXml = """ <?xml version="1.0" encoding="UTF-8"?>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
*/ @SuppressWarnings({ "AmbiguousMethodReference", // We chose the name despite knowing this risk. "NullableOptional", // Null passthrough is reasonable for type conversions }) // If users use this when they shouldn't, we hope that NewApi will catch subsequent Optional calls @IgnoreJRERequirement public static <T> java.util.@Nullable Optional<T> toJavaUtil( @Nullable Optional<T> googleOptional) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
private void flushCachedWrites(String path) { // Implementation to flush cached writes // This will be called when losing write cache } private void invalidateReadCache(String path) { // Implementation to invalidate read cache // This will be called when losing read cache } } ``` ## 5. Lease Break Handling ### 5.1 Lease Break Notification ```javaCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
* * - "Strict": the cookie is omitted when the subject URL is an embedded resource or a * potentially-destructive navigation. * * - "Lax": the cookie is omitted when the subject URL is an embedded resource. It is sent for * potentially-destructive navigation. This is the default value. * * - "None": the cookie is always sent. The "Secure" attribute must also be set when setting this * value. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Collections2.java
* * <p>The resulting collection's iterator does not support {@code remove()}, but all other * collection methods are supported. When given an element that doesn't satisfy the predicate, the * collection's {@code add()} and {@code addAll()} methods throw an {@link * IllegalArgumentException}. When methods such as {@code removeAll()} and {@code clear()} are
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
public StatsObject load(final String key) { return new StatsObject(); } }); } /** * Cleanup method called when the helper is being destroyed. * Logs cache statistics and processes any remaining statistics * objects in the cache before shutdown. */ @PreDestroy public void destroy() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 17.4K bytes - Click Count (0)