Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 235 for encloses (0.49 sec)

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

            assertSame(handle, out);
            verify(treeConnection, times(2)).acquire(); // constructor + here
        }
    
        @Test
        @DisplayName("getRemoteHostName returns transport value and closes resources")
        void getRemoteHostNameHappyPath() {
            // Ensures remote host name is sourced from transport and resources are closed
            when(transport.getRemoteHostName()).thenReturn("remote.example");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        static Stream<String> wildcardProvider() {
            return Stream.of(null, "", "*");
        }
    
        @ParameterizedTest
        @MethodSource("wildcardProvider")
        @DisplayName("open() happy path: yields entries and closes with Smb2CloseRequest on close()")
        void happyPath_enumerates_and_closes(String wildcard) throws Exception {
            // Setup required for this test
            when(parent.getLocator()).thenReturn(locator);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("release() decrements usage; closes only when count reaches zero")
        void release_decrementsAndClosesOnZero() throws CIFSException {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(8L, true, true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            final RequestData requestData = new RequestData();
            requestData.setMethod(method);
            requestData.setUrl(url);
            return requestData;
        }
    
        /**
         * Closes the response data, deleting temporary files if any.
         * @throws IOException if an I/O error occurs.
         */
        @Override
        public void close() throws IOException {
            if (isTemporaryFile) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. docs/en/docs/contributing.md

    * In code blocks within the Markdown document, translate comments (`# a comment`), but leave the rest unchanged.
    
    * Do not change anything enclosed in "``" (inline code).
    
    * In lines starting with `///` translate only the text part after `|`. Leave the rest unchanged.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to decode {}", hash, e);
                    }
                }
            }
            return hash;
        }
    
        /**
         * Encodes a similar document hash using GZIP compression and Base64 encoding.
         * This reduces storage space for hash values while maintaining uniqueness.
         *
         * @param hash the hash string to encode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          // TODO: configure a timeout on the reader so that it doesn’t block forever.
          writer.goAway(lastGoodStreamId, statusCode, EMPTY_BYTE_ARRAY)
        }
      }
    
      /**
       * Closes this connection. This cancels all open streams and unanswered pings. It closes the
       * underlying input and output streams and shuts down internal task queues.
       */
      override fun close() {
        close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileOutputStream.java

         *
         * @throws CIFSException if an error occurs opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        /**
         * Closes this output stream and releases any system resources associated
         * with it.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            when(tree.getShare()).thenReturn("SHARE");
            setTree(c, tree);
    
            assertEquals(7, c.getTreeType());
            assertEquals("SHARE", c.getConnectedShare());
            // try-with-resources closes the acquired tree
            verify(tree, atLeastOnce()).close();
        }
    
        @Test
        @DisplayName("isSame returns true only for same underlying tree instance")
        void isSame_comparesUnderlyingTreeIdentity() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * [Punycode](http://ietf.org/rfc/rfc3492.txt) converts a Unicode string to an ASCII string to make
     * international domain names work everywhere. For example, "σ" encodes as "xn--4xa". The encoded
     * string is not human readable, but can be used with classes like [InetAddress] to establish
     * connections.
     *
     * ## Why another URL model?
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
Back to top