- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 2,385 for When (0.02 sec)
-
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/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) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
val rangesPosition = sections.read14BitInt(sectionsIndex + 2) val rangesLimit = when { sectionsIndex + 4 < sections.length -> sections.read14BitInt(sectionsIndex + 6) else -> ranges.length / 4 } val rangesIndex = findRangesOffset(codePoint, rangesPosition, rangesLimit) when (val b1 = ranges[rangesIndex + 1].code) { in 0..63 -> {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.10.md
* Updated kubernetes-worker to request new security tokens when the aws cloud provider changes the registered node name. ([#59730](https://github.com/kubernetes/kubernetes/pull/59730), [@hyperbolic2346](https://github.com/hyperbolic2346))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu May 05 13:44:43 UTC 2022 - 341.8K 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) -
src/test/java/jcifs/smb/FileEntryTest.java
when(mockEntry.getName()).thenReturn("file.txt"); when(mockEntry.getType()).thenReturn(1); when(mockEntry.getAttributes()).thenReturn(0x20); when(mockEntry.createTime()).thenReturn(100L); when(mockEntry.lastModified()).thenReturn(200L); when(mockEntry.lastAccess()).thenReturn(300L); when(mockEntry.length()).thenReturn(12345L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * // Falling back to a zero counter in case an exception happens when * // processing the RPC to fetch counters. * ListenableFuture<Integer> faultTolerantFuture = Futures.catching( * fetchCounterFuture, FetchException.class, x -> 0, directExecutor()); * } * * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
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)