- Sort Score
- Num 10 results
- Language All
Results 1501 - 1510 of 3,176 for Then (0.26 seconds)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
Info mockInfo = mock(Info.class); // Set up mock behavior when(mockInfo.getAttributes()).thenReturn(0x20); when(mockInfo.getSize()).thenReturn(1024L); when(mockInfo.getCreateTime()).thenReturn(1000000L); when(mockInfo.getLastWriteTime()).thenReturn(2000000L); // Use the mock response.info = mockInfo;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
docs/features/calls.md
Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled. ## Dispatch
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/ITBase.java
+ DEFAULT_TEST_TOKEN + "\"}\n") .when() .post(getEsUrl() + "/_bulk"); given().contentType("application/json").when().post(getEsUrl() + "/_refresh"); logger.info("Created Token: {}", DEFAULT_TEST_TOKEN); return DEFAULT_TEST_TOKEN; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/RemovalCause.java
* occur when using {@link CacheBuilder#weakKeys}, {@link CacheBuilder#weakValues}, or {@link * CacheBuilder#softValues}. */ COLLECTED { @Override boolean wasEvicted() { return true; } }, /** * The entry's expiration timestamp has passed. This can occur when using {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for {@link SmbFileFilter}. The filter interface is small; theCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/ioutil/hardlimitreader.go
// A HardLimitedReader reads from R but limits the amount of // data returned to just N bytes. Each call to Read // updates N to reflect the new amount remaining. // Read returns EOF when N <= 0 or when the underlying R returns EOF. type HardLimitedReader struct { R io.Reader // underlying reader N int64 // max bytes remaining } func (l *HardLimitedReader) Read(p []byte) (n int, err error) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2K bytes - Click Count (0) -
tests/embedded_struct_test.go
t.Errorf("no error should happen when query with embedded struct, but got %v", err) } else if egNews.BasePost.Title != "engadget_news" { t.Errorf("embedded struct's value should be scanned correctly") } var egPosts []EngadgetPost if err := DB.Order("author_name asc").Find(&egPosts).Error; err != nil { t.Fatalf("no error should happen when query with embedded struct, but got %v", err) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
// Current implementation throws NullPointerException when string is null assertThrows(NullPointerException.class, () -> { pacString.check(testString); }, "A NullPointerException is thrown when checking a null string."); } /** * Tests the {@link PacUnicodeString#check(String)} method with a non-empty string when the pointer is zero.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
// Setup mock configuration with lenient stubbing lenient().when(mockContext.getConfig()).thenReturn(mockConfig); lenient().when(mockConfig.isUseWitness()).thenReturn(true); lenient().when(mockConfig.getWitnessHeartbeatTimeout()).thenReturn(120000L); lenient().when(mockConfig.getWitnessRegistrationTimeout()).thenReturn(300000L); lenient().when(mockConfig.getWitnessReconnectDelay()).thenReturn(1000L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
fastapi/security/oauth2.py
If `auto_error` is set to `False`, when the HTTP Authorization header is not available, instead of erroring out, the dependency result will be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can beCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:32:10 GMT 2026 - 23.6K bytes - Click Count (0)