- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 1,205 for segons (0.05 seconds)
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
// Load persisted handles on startup loadPersistedHandles(); // Schedule periodic persistence and cleanup scheduler.scheduleAtFixedRate(this::periodicMaintenance, 30, 30, TimeUnit.SECONDS); } /** * Request a new durable handle * @param path the file path * @param type the handle type * @param timeout the timeout in millisecondsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key = leaseManager.requestLease(path, initialState); leaseManager.updateLease(key, initialState); // Call with default timeout (should use 60 seconds from config) leaseManager.handleLeaseBreakWithTimeout(key, newState); LeaseEntry entry = leaseManager.getLease(key); assertNotNull(entry); assertEquals(newState, entry.getLeaseState());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx) // first attempt fails with auth .thenReturn(handle); // second attempt succeeds // dest currently has READONLY attribute set int currentAttrs = SmbConstants.ATTR_READONLY | SmbConstants.ATTR_ARCHIVE; when(dest.getAttributes()).thenReturn(currentAttrs);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
UpgradeContext context = createMockContext(); Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class)); // Mock first strategy to fail, second to succeed when(mockStrategies.get(0).isApplicable(context)).thenReturn(true); when(mockStrategies.get(0).apply(Mockito.eq(context), Mockito.any())) .thenReturn(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
docs/en/docs/environment-variables.md
For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip The second argument to [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) is the default value to return. If not provided, it's `None` by default, here we provide `"World"` as the default value to use. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} totalSize--; } } /** * {@inheritDoc} * * <p>The iterator generated by the returned collection traverses the values for one key, followed * by the values of a second key, and so on. */ @Override public Collection<V> values() { return super.values(); } @Override Collection<V> createValues() { return new Values(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
} /** * Returns an array of available data store names discovered from plugin JAR files. * This method implements a time-based caching mechanism that refreshes the list * every 60 seconds to balance performance with up-to-date plugin discovery. * * @return array of data store names sorted alphabetically, never null */ public synchronized String[] getDataStoreNames() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
} } } private fun ensureAllTaskQueuesIdle() { val entryTime = System.nanoTime() for (queue in TaskRunner.INSTANCE.activeQueues()) { // We wait at most 1 second, so we don't ever turn multiple lost threads into // a test timeout failure. val waitTime = (entryTime + 1_000_000_000L - System.nanoTime()) if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumMultiset.java
Serialization.writeMultiset(this, stream); } /** * @serialData the {@code Class<E>} for the enum type, the number of distinct elements, the first * element, its count, the second element, its count, and so on */ @GwtIncompatible // java.io.ObjectInputStream private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
} @Override public void connect() throws IOException { try { // In real implementation, this would establish the RDMA connection: // endpoint.connect(remoteAddress, 1000); // 1 second timeout state = RdmaConnectionState.CONNECTED; log.debug("DiSNI RDMA connection established to {}", remoteAddress); } catch (Exception e) { state = RdmaConnectionState.ERROR;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (0)