- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 2,390 for when (0.01 sec)
-
docs/en/docs/advanced/security/http-basic-auth.md
And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter. That tells the browser to show the integrated prompt for a username and password. Then, when you type that username and password, the browser sends them in the header automatically. ## Simple HTTP Basic Auth { #simple-http-basic-auth } * Import `HTTPBasic` and `HTTPBasicCredentials`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
@DisplayName("openConnection returns SmbFile using provided CIFSContext") void testOpenConnection_UsesProvidedContext() throws MalformedURLException, IOException { // Arrange when(mockCtx.getConfig()).thenReturn(mockCfg); when(mockCfg.isTraceResourceUsage()).thenReturn(false); Handler handler = newHandlerWith(mockCtx); URL url = new URL(null, "smb://example-host/share/", new Handler()); // ActRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
/** * Ensure encode throws NPE when passed a null buffer. */ @Test @DisplayName("Encode with null buffer throws NullPointerException") public void testEncodeNullBuffer() throws NdrException { NdrHyper hyper = new NdrHyper(5L); assertThrows(NullPointerException.class, () -> hyper.encode(null)); } /** * Ensure decode throws NPE when passed a null buffer. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
// These properties are guarded by `this`. /** * If true, no new exchanges can be created on this connection. It is necessary to set this to * true when removing a connection from the pool; otherwise a racing caller might get it from the * pool when it shouldn't. Symmetrically, this must always be checked before returning a * connection from the pool. * * Once true this is always true. Guarded by this. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
cmd/storage-errors.go
// errInconsistentDisk - inconsistent disk found. var errInconsistentDisk = StorageErr("inconsistent drive found") // errUnsupporteDisk - when disk does not support O_DIRECT flag. var errUnsupportedDisk = StorageErr("drive does not support O_DIRECT") // errDiskFull - cannot create volume or files when disk is full. var errDiskFull = StorageErr("drive path full") // errDiskNotDir - cannot use storage disk if its not a directory
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/config/README.md
stale_uploads_expiry (duration) set to expire stale multipart uploads older than this values (default: '24h') stale_uploads_cleanup_interval (duration) set to change intervals when stale multipart uploads are expired (default: '6h') delete_cleanup_interval (duration) set to change intervals when deleted objects are permanently deleted from ".trash" folder (default: '5m')
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 18.1K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/TableCollectorsTest.java
() -> Stream.of(immutableCell("one", "uno", 1), immutableCell("one", "uno", 2)) .collect(collector)); } // https://youtrack.jetbrains.com/issue/KT-58242/. Crash when rowFunction result (null) is unboxed @J2ktIncompatible public void testToImmutableTableNullRowKey() { Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
@DisplayName("Should verify signature when digest is present and successful") void testVerifySignatureSuccess() throws Exception { byte[] buffer = new byte[1024]; echoResponse.setDigest(mockDigest); setStatus(echoResponse, NtStatus.NT_STATUS_SUCCESS); when(mockConfig.isRequireSecureNegotiate()).thenReturn(true);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
} // Helper to create a minimal FileEntry mock private FileEntry entry(String name, int type) { FileEntry e = mock(FileEntry.class); when(e.getName()).thenReturn(name); when(e.getType()).thenReturn(type); return e; } @Test @DisplayName("Happy path without filter: iterates all entries in order")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
LdapUser user = new LdapUser(emptyEnv, "user"); assertTrue(user.getEnvironment().isEmpty()); } public void test_getPermissions_withoutLdapConfig() { // Test when baseDn or accountFilter is blank ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override public String getLdapBaseDn() { return ""; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.6K bytes - Viewed (0)