Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 865 for closer (0.19 sec)

  1. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
                super.close();
                notify_ = "closed";
            }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.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/main/java/jcifs/SmbFileHandle.java

         */
        boolean isValid();
    
        /**
         * Closes this file handle and optionally sets the last write time
         *
         * @param lastWriteTime the last write time to set, or 0 to leave unchanged
         * @throws CIFSException if an error occurs while closing the file
         */
        void close(long lastWriteTime) throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            // Mock isOpen to return false after close
            doAnswer(new Answer<Void>() {
                @Override
                public Void answer(InvocationOnMock invocation) throws Throwable {
                    when(smbFile.isOpen()).thenReturn(false);
                    return null;
                }
            }).when(smbFile).close(anyLong());
    
            smbRandomAccessFile.close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.30.md

    - Adds exec-interactive-mode and exec-provide-cluster-info flags in kubectl config set-credentials command ([#122023](https://github.com/kubernetes/kubernetes/pull/122023), [@ardaguclu](https://github.com/ardaguclu)) [SIG CLI]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 18 18:59:10 UTC 2025
    - 398.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/EmptyIteratorTest.java

                }
            }, "Multiple close operations should not cause issues");
    
            // Verify iterator still works after multiple closes
            assertFalse(emptyIterator.hasNext(), "Iterator should still work after multiple closes");
            assertNull(emptyIterator.next(), "Iterator should still return null after multiple closes");
        }
    
        @Test
        @DisplayName("EmptyIterator should handle remove operations multiple times")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/util/ResourceManagerTest.java

            private final AtomicBoolean closed = new AtomicBoolean(false);
            private final String name;
    
            TestResource(String name) {
                this.name = name;
            }
    
            @Override
            public void close() {
                closed.set(true);
            }
    
            boolean isClosed() {
                return closed.get();
            }
    
            String getName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

            toggleMask(maskCursor, maskKey)
            maskCursor.close()
          }
        } else {
          sinkBuffer.writeByte(b1)
          sinkBuffer.write(payload)
        }
    
        sink.flush()
      }
    
      @Throws(IOException::class)
      fun writeMessageFrame(
        formatOpcode: Int,
        data: ByteString,
      ) {
        if (writerClosed) throw IOException("closed")
    
        messageBuffer.write(data)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. 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)
Back to top