Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,154 for Handle (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractService.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Base class for implementing services that can handle {@link #doStart} and {@link #doStop}
     * requests, responding to them with {@link #notifyStarted()} and {@link #notifyStopped()}
     * callbacks. Its subclasses must manage threads manually; consider {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        class LifecycleAndExceptions {
    
            @Test
            @DisplayName("open() acquires handle and closes it")
            void openDelegatesEnsureOpenAndCloses() throws Exception {
                SmbFileInputStream in = newStream();
                in.open();
                // ensureOpen returns acquired handle; try-with-resources must close it
                verify(mockHandle, times(1)).close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            assertEquals(4, bytesWritten);
            assertEquals(4, SMBUtil.readInt2(buffer, offset));
            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
        }
    
        @Test
        @DisplayName("Should handle boundary conditions for buffer write")
        void testWriteBytesWireFormatBoundary() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    /// note
    
    If you check the new (fake) database `fake_users_db`, you will see how the hashed password looks like now: `"$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW"`.
    
    ///
    
    ## Handle JWT tokens { #handle-jwt-tokens }
    
    Import the modules installed.
    
    Create a random secret key that will be used to sign the JWT tokens.
    
    To generate a secure random secret key use the command:
    
    <div class="termy">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. docs/en/docs/project-generation.md

    - ✅ Tests with [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    - 🚢 Deployment instructions using Docker Compose, including how to set up a frontend Traefik proxy to handle automatic HTTPS certificates.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. ci/official/utilities/convert_msys_paths_to_win_paths.py

    
    """Converts MSYS Linux-like paths stored in env variables to Windows paths.
    
    This is necessary on Windows, because some applications do not understand/handle
    Linux-like paths MSYS uses, for example, Docker.
    """
    
    import argparse
    import os
    
    
    def should_convert(var_name: str,
                       blacklist: list[str] | None,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/EmptyIteratorTest.java

                assertEquals(0, count, "No iterations should occur for empty iterator");
            }, "EmptyIterator should work with manual iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should handle concurrent access safely")
        void testConcurrentAccess() throws InterruptedException, CIFSException {
            // Given
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

        }
    
        /**
         * Test decode with truncated data
         */
        @Test
        @DisplayName("Decode should handle truncated data")
        void testDecodeTruncatedData() {
            byte[] truncatedData = new byte[3]; // Less than 4 bytes
    
            CIFSException exception = assertThrows(CIFSException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/websockets.md

    ```
    Client #1596980209979 left the chat
    ```
    
    /// tip
    
    The app above is a minimal and simple example to demonstrate how to handle and broadcast messages to several WebSocket connections.
    
    But keep in mind that, as everything is handled in memory, in a single list, it will only work while the process is running, and will only work with a single process.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        private FileEntry next;
        private int ridx;
    
        private boolean closed = false;
    
        /**
         * Creates a directory entry enumeration iterator.
         *
         * @param th the SMB tree handle for the connection
         * @param parent the parent resource being enumerated
         * @param wildcard the wildcard pattern for filtering entries
         * @param filter additional resource name filter to apply
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top