Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 740 for _close (0.36 sec)

  1. src/main/java/jcifs/SmbFileHandle.java

         */
        @Override
        void close() throws CIFSException;
    
        /**
         * Releases this file handle without closing it
         *
         * @throws CIFSException if an error occurs while releasing the handle
         */
        void release() throws CIFSException;
    
        /**
         * Returns the initial size of the file when it was opened
         *
         * @return the file size when it was opened
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         *
         * @see jcifs.SmbPipeHandle#close()
         */
        @Override
        public synchronized void close() throws CIFSException {
            final boolean wasOpen = isOpen();
            this.open = false;
            if (this.input != null) {
                this.input.close();
                this.input = null;
            }
    
            if (this.output != null) {
                this.output.close();
                this.output = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

            }
        }
    
        @Test
        @DisplayName("EmptyIterator should handle close operations multiple times")
        void testMultipleCloseOperations() {
            // When & Then
            assertDoesNotThrow(() -> {
                try {
                    emptyIterator.close();
                    emptyIterator.close();
                    emptyIterator.close();
                } catch (CIFSException e) {
                    throw new RuntimeException(e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

        webSocket.close(1000, null);
        System.out.println("onClose (" + code + "): " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        // TODO(jwilson): can I read the response body? Do I have to?
        System.out.println("onFailure " + response);
      }
    
      @Override public void close() throws IOException {
        if (webSocket == null) return;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              exchangeIndex = 0,
              socket = MockWebServerSocket(socket),
            )
            socket.close()
          } else {
            openClientSockets.add(socket)
            serveConnection(nextConnectionIndex++, socket, peek)
          }
        }
      }
    
      public override fun close() {
        if (closed) return
        closed = true
    
        if (!started) return // Nothing to shut down.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

            messageBuffer.readAndWriteUnsafe(maskCursor!!)
            maskCursor.seek(0L)
            toggleMask(maskCursor, maskKey)
            maskCursor.close()
          }
        }
    
        sinkBuffer.write(messageBuffer, dataSize)
        sink.flush()
      }
    
      override fun close() {
        messageDeflater?.closeQuietly()
        sink.closeQuietly()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            masterPassword = "MasterPassword123!@#".toCharArray();
            storage = new SecureCredentialStorage(masterPassword.clone());
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (storage != null && !storage.isDestroyed()) {
                try {
                    storage.close();
                } catch (Exception e) {
                    // Ignore cleanup exceptions
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

        private long endOfFile;
        private int fileAttributes;
    
        /**
         * Constructs a close response
         *
         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID that was closed
         * @param fileName
         *            The name of the file that was closed
         */
        public Smb2CloseResponse(final Configuration config, final byte[] fileId, final String fileName) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Find Close2 request message.
     *
     * This command is used to close a search handle that was
     * opened by a Trans2 Find First2 request.
     */
    public class SmbComFindClose2 extends ServerMessageBlock {
    
        private final int sid;
    
        /**
         * Creates a new SMB1 find close request to close a search handle.
         *
         * @param config the CIFS configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

       * - The first request "wins the race".
       * - The second request discovers it "lost the race" and closes the connection it just opened.
       * - The second request uses the coalesced connection from request1.
       * - The coalesced connection is violently closed after servicing the first request.
       * - The second request discovers the coalesced connection is unhealthy just after acquiring it.
       */
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top