Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 362 for crossed (0.03 sec)

  1. src/main/java/jcifs/context/AbstractCIFSContext.java

        public boolean close() throws CIFSException {
            if (!this.closed) {
                Runtime.getRuntime().removeShutdownHook(this);
            }
            return false;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Thread#run()
         */
        @Override
        public void run() {
            try {
                this.closed = true;
                close();
            } catch (final CIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        @DisplayName("available() on SMB1 returns 0 and marks closed on disconnected statuses")
        void available_smb1_disconnectedStatuses(int status) throws Exception {
            // Verify SMB1 path: disconnected/server-closed statuses yield 0 and mark fd closed
            SmbPipeInputStream stream = newStreamWithInit(false);
    
            when(handle.ensureOpen()).thenReturn(fd);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Cut.java

        }
    
        @Override
        BoundType typeAsLowerBound() {
          return BoundType.CLOSED;
        }
    
        @Override
        BoundType typeAsUpperBound() {
          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

         */
        @Test
        public void testClose() throws Exception {
            final NotifyOutputStream out = new NotifyOutputStream();
            CloseableUtil.close(out);
            assertThat(out.getNotify(), is("closed"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCloseNull() throws Exception {
            CloseableUtil.close((OutputStream) null);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         *
         * @throws CIFSException if an error occurs during closing
         */
        protected synchronized void doClose() throws CIFSException {
            // otherwise already closed
            if (!this.closed) {
                this.closed = true;
                try {
                    doCloseInternal();
                } finally {
                    this.next = null;
                    this.treeHandle.release();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. 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)
  7. guava-tests/test/com/google/common/io/CloserTest.java

        }
    
        private TestCloseable(@Nullable Throwable throwOnClose) {
          this.throwOnClose = throwOnClose;
        }
    
        boolean isClosed() {
          return closed;
        }
    
        @Override
        public void close() throws IOException {
          closed = true;
          if (throwOnClose != null) {
            throwIfInstanceOf(throwOnClose, IOException.class);
            throwIfUnchecked(throwOnClose);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

        type: String?,
        data: String,
      ) {
      }
    
      /**
       * Invoked when the HTTP connection has been closed normally.
       *
       * No further calls to this listener will be made.
       */
      open fun onClosed(eventSource: EventSource) {
      }
    
      /**
       * Invoked when an event source has been closed due to an error reading from or writing to the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        Closeables.closeQuietly(in);
        assertTrue(in.closed());
      }
    
      public void testCloseQuietly_readerWithEatenException() throws IOException {
        TestReader in = new TestReader(TestOption.CLOSE_THROWS);
        Closeables.closeQuietly(in);
        assertTrue(in.closed());
      }
    
      public void testCloseNull() throws IOException {
        Closeables.close(null, true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/TestReader.java

      }
    
      public TestReader(TestInputStream in) {
        super(new InputStreamReader(checkNotNull(in), UTF_8));
        this.in = in;
      }
    
      public boolean closed() {
        return in.closed();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top