Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 769 for closest (0.38 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        // Confirm all sent messages were received, followed by a client-initiated close.
        val server = serverListener.assertOpen()
        for (i in 0 until messageCount) {
          serverListener.assertBinaryMessage(message)
        }
        serverListener.assertClosing(1001, "")
    
        // When the server acknowledges the close the connection shuts down gracefully.
        server.close(1000, null)
        clientListener.assertClosing(1000, "")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTreeHandleTest.java

        }
    
        /**
         * Test for close() method.
         * Verifies that the close method can be called without throwing an exception.
         * @throws CIFSException
         */
        @Test
        void testClose() throws CIFSException {
            smbTreeHandle.close();
            // Verify that close() was called on the mock
            verify(smbTreeHandle).close();
        }
    
        /**
         * Test for close() method throwing CIFSException.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        public int available() throws IOException {
            if (bip > 0) {
                return bip;
            }
            return in.available();
        }
    
        @Override
        public void close() throws IOException {
            in.close();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

         * Named pipe status indicating the connection is established and operational.
         */
        public static final int STATUS_CONNECTION_OK = 3;
    
        /**
         * Named pipe status indicating the server end of the pipe is closed.
         */
        public static final int STATUS_SERVER_END_CLOSED = 4;
    
        private int available;
    
        /**
         * Constructs a TransPeekNamedPipeResponse with the specified configuration.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. docs/es/docs/python-types.md

    * `Union`
    * `Optional`
    * ...y otros.
    
    ////
    
    //// tab | Python 3.8+
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Union`
    * `Optional`
    * ...y otros.
    
    ////
    
    ### Clases como tipos
    
    TambiƩn puedes declarar una clase como el tipo de una variable.
    
    Digamos que tienes una clase `Person`, con un nombre:
    
    {* ../../docs_src/python_types/tutorial010.py hl[1:3] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 17.6K bytes
    - Viewed (1)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

                    .stream()
                    .filter(c -> !c.isPrimary()) // Never remove primary channel
                    .sorted(Comparator.comparingInt(ChannelInfo::getScore)) // Remove lowest scoring first
                    .limit(excessCount)
                    .collect(ArrayList::new, (list, item) -> list.add(item), (list1, list2) -> list1.addAll(list2));
    
            for (ChannelInfo channel : channelsToRemove) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

                return invocation.getArgument(1);
            });
    
            // When: Create iterator and close multiple times
            NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, null);
    
            iterator.close();
            iterator.close(); // Second close should be safe
    
            // Then: Tree handle should be released only once
            verify(treeHandle, times(1)).release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

        private final String fileName;
        private int closeFlags;
    
        /**
         * Constructs a close request with file ID and name
         *
         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID to close
         * @param fileName
         *            The name of the file being closed
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        void testClose_True() throws CIFSException {
            // Test close() method when true
            when(mockDelegate.close()).thenReturn(true);
            assertTrue(cifsContextWrapper.close());
            verify(mockDelegate).close();
        }
    
        @Test
        void testClose_False() throws CIFSException {
            // Test close() method when false
            when(mockDelegate.close()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    // gatherResults will collect all results on the input channel and filter results according
    // to the options or to the current bucket ILM expiry rules.
    // Caller should close the channel when done.
    // The returned function will return the results once there is enough or input is closed,
    // or the context is canceled.
    func (o *listPathOptions) gatherResults(ctx context.Context, in <-chan metaCacheEntry) func() (metaCacheEntriesSorted, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top