Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 432 for occurs (1.63 sec)

  1. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Act & Assert
            assertThrows(RuntimeException.class, () -> {
                spyRequest.writeBodyWireFormat(dst, 0);
            });
    
            // Verify hexCode is NOT restored when exception occurs (current implementation behavior)
            assertEquals(0x00, mockName.hexCode);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbWatchHandleTest.java

            ExecutorService executor = Executors.newSingleThreadExecutor();
            try {
                Future<List<FileNotifyInformation>> future = executor.submit(() -> blockingHandle.watch());
    
                // Verify timeout occurs
                assertThrows(TimeoutException.class, () -> {
                    future.get(100, TimeUnit.MILLISECONDS);
                });
    
                // Cancel the future
                future.cancel(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

             *
             * @return A processed string with terms and spaces, or an empty string if the reader is null or an IOException occurs.
             */
            public String execute() {
                if (reader == null) {
                    return StringUtil.EMPTY;
                }
                final StringBuilder buf = new StringBuilder(initialCapacity);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

            // Further assertions can be added here to check the internal state of the servlet if fields were protected/public
        }
    
        /**
         * Test the init method when CIFSException occurs.
         * Verifies that configuration properties are properly validated during initialization.
         */
        @Test
        void testInitWithCIFSException() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

        }
    
        /**
         * Updates the dictionary file with content from the input stream.
         * @param in the input stream containing the new content
         * @throws IOException if an I/O error occurs
         */
        public synchronized void update(final InputStream in) throws IOException {
            try (ProtwordsUpdater updater = new ProtwordsUpdater(null)) {
                reload(updater, in);
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

         *
         * @param cmdList the command list (used as comment in properties file)
         * @param propFile the file to store properties to
         * @throws IORuntimeException if an I/O error occurs
         */
        protected void createSystemProperties(final List<String> cmdList, final File propFile) {
            try (FileOutputStream out = new FileOutputStream(propFile)) {
                final Properties prop = new Properties();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * @param stream the input stream to parse
         * @param charsetName the character encoding to use
         * @return the parsed RobotsTxt object, or null if disabled
         * @throws RobotsTxtException if a fatal I/O error occurs
         */
        public RobotsTxt parse(final InputStream stream, final String charsetName) {
            if (!enabled) {
                return null;
            }
    
            BufferedReader reader = null;
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

        }
    
        /**
         * Writes the content of this dictionary file to the provided output stream.
         *
         * @param out the output stream to write to
         * @throws IOException if an I/O error occurs during writing
         */
        public void writeOut(final WrittenStreamOut out) throws IOException {
            try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    }
    
    // readStream handles the read side of the connection.
    // It will read messages and send them to c.handleMsg.
    // If an error occurs the cancel function will be called and conn be closed.
    // The function will block until the connection is closed or an error occurs.
    func (c *Connection) readStream(ctx context.Context, conn net.Conn, cancel context.CancelCauseFunc) {
    	defer func() {
    		if rec := recover(); rec != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

         * @param request The HTTP request.
         * @param response The HTTP response.
         * @param chain The filter chain.
         * @throws IOException If an I/O error occurs.
         * @throws ServletException If a servlet error occurs.
         */
        protected void processSuggestRequest(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 55.4K bytes
    - Viewed (1)
Back to top