- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 9,145 for clase (0.03 seconds)
-
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
}).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class)); // Act handle.close(); // Assert // Verify sendrecv was called once for open and once for close verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class)); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
} @Test @DisplayName("unwrap and close are available via SmbTree") void unwrap_and_close_interactions() { // Arrange when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree); // Act SmbTree unwrapped = tree.unwrap(SmbTreeInternal.class); tree.close(); // Assert assertNotNull(unwrapped);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/suggest/admin_suggest.jsp
<div class="row mb-2"> <div class="col-sm-6"> <h1> <la:message key="labels.suggest_word_title_details"/> </h1> </div> </div> </div> </div> <section class="content"> <div class="row"> <div class="col-md-12">Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 18.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
verify(transportPool).close(); } @Test @DisplayName("Should handle exception during close") void testClosePoolException() throws CIFSException { // Given when(transportPool.close()).thenThrow(new CIFSException("Close failed")); // When & Then assertThrows(CIFSException.class, () -> transportPool.close()); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
totalBytesWritten += byteCount; progressListener.update(totalBytesWritten, contentLength(), completed); } @Override public void close() throws IOException { super.close(); if (!completed) { completed = true; progressListener.update(totalBytesWritten, contentLength(), completed); } } }; }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 4.2K bytes - Click Count (1) -
cmd/data-usage-cache.go
} err = d.deserialize(r) r.Close() return err != nil, nil case InsufficientReadQuorum, StorageErr: return true, nil } return false, err } err = d.deserialize(r) r.Close() return err != nil, nil } // Caches are read+written without locks, retries := 0 for retries < 5 { retry, err := load(name, time.Minute) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
* it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to * configure the factory when sample values impact the correctness of the test. */ class TestValueFactory : Closeable {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 6.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
/** * Iterator for enumerating network servers. * * This class provides iteration over network servers discovered * through NetBIOS server enumeration requests. */ public class NetServerEnumIterator implements CloseableIterator<FileEntry> { private static final Logger log = LoggerFactory.getLogger(NetServerEnumIterator.class); private final NetServerEnum2 request;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
@Nested @DisplayName("Resource Management Tests") class ResourceManagementTests { @Test @DisplayName("close operation should work correctly") void testClose() { // When/Then assertDoesNotThrow(() -> mockResource.close(), "Close operation should not throw exception"); verify(mockResource).close(); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
monitor.enter(); try { State previous = state(); switch (previous) { case NEW: case TERMINATED: case FAILED: throw new IllegalStateException("Cannot notifyStopped() when the service is " + previous); case RUNNING: case STARTING: case STOPPING: snapshot = new StateSnapshot(TERMINATED); enqueueTerminatedEvent(previous);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0)