Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isOpen (0.04 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            assertSame(pipe, handle.getPipe());
        }
    
        @Test
        @DisplayName("isOpen/isStale reflect handle validity and lifecycle")
        void isOpen_isStale_transitions() throws Exception {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\w");
            assertFalse(handle.isOpen(), "Initially not open");
            assertFalse(handle.isStale(), "Initially not stale");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        }
    
        public String getUncPath() {
            return this.uncPath;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#isOpen()
         */
        @Override
        public boolean isOpen() {
            return this.open && this.handle != null && this.handle.isValid();
        }
    
        /**
         *
         * {@inheritDoc}
         *
    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/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    * MIT License 
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 18.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            // Initially not open (isStale returns false when handle is null, not true)
            assertFalse(target.isOpen());
            assertFalse(target.isStale());
    
            // After ensureOpen, handle valid -> open
            SmbFileHandleImpl fh = target.ensureOpen();
            assertSame(fileHandle, fh);
            assertTrue(target.isOpen());
            assertFalse(target.isStale());
    
            // If handle becomes invalid, reflect stale
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         *
         * @return true if the stream is open, false otherwise
         */
        public boolean isOpen() {
            return file.isOpen();
        }
    
        void ensureOpen() throws IOException {
            // ensure file is open
            if (!file.isOpen()) {
                file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
                if (append) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.DEFAULT_SHARING);
    
            // When & Then
            assertTrue(outputStream.isOpen());
    
            when(mockFileHandle.isValid()).thenReturn(false);
            assertFalse(outputStream.isOpen());
        }
    
        @Test
        void testWriteAfterClose() throws IOException, CIFSException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if (len <= 0) {
                return 0;
            }
            final long start = fp;
    
            // ensure file is open
            if (!file.isOpen()) {
                file.open(openFlags, 0, SmbFile.ATTR_NORMAL, options);
            }
    
            int r, n;
            final SmbComReadAndXResponse response = new SmbComReadAndXResponse(b, off);
            do {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        /**
         * Generates an HTML opening or closing tag with appropriate language attribute.
         *
         * @param isOpen true to generate opening HTML tag, false for closing tag
         * @return HTML opening tag with language attribute or closing tag
         */
        public static String html(final boolean isOpen) {
            if (isOpen) {
                return "<html lang=\"" + LaRequestUtil.getOptionalRequest().map(req -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

            write(b, 0, b.length);
        }
    
        /**
         * Tests whether the output stream is currently open.
         *
         * @return whether the stream is open
         */
        public boolean isOpen() {
            return this.handle != null && this.handle.isValid();
        }
    
        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

       *
       * Note that the input stream may continue to yield data even after a stream reports itself as
       * not open. This is because input data is buffered.
       */
      val isOpen: Boolean
        get() {
          withLock {
            if (errorCode != null) {
              return false
            }
            if ((source.finished || source.closed) &&
              (sink.finished || sink.closed) &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top