Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 147 for Arguments (1.92 sec)

  1. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

     */
    public class TransportExceptionTest {
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create exception with no arguments")
            void testDefaultConstructor() {
                TransportException exception = new TransportException();
    
                assertNotNull(exception);
                assertNull(exception.getMessage());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *
         * @param clazz
         *            The class. Must not be {@literal null}.
         * @return The primitive class if the argument is a wrapper class, otherwise the class passed as the argument.
         */
        public static Class<?> getPrimitiveClassIfWrapper(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/BufferCacheImplTest.java

            // Zeroed upon release
            for (byte value : fromCache) {
                assertEquals(0, value);
            }
        }
    
        // Invalid inputs: negative sizes for constructor arguments
        @Nested
        class InvalidConstruction {
            @Test
            @DisplayName("Negative maxBuffers throws immediately in constructor")
            void negativeMaxBuffersThrows() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                    /* UPDATE: Maybe not! Could this be a Unicode alignment issue. I hope
                     * so. We cannot just comment out this method and use readString of
                     * ServerMessageBlock.java because the arguments are different, however
                     * one might be able to reduce this.
                     */
    
                    if (len > 0 && src[srcIndex + len - 1] == '\0') {
                        len--;
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         * captures and logs the process output for debugging purposes.
         * </p>
         *
         * @param thumbnailId the identifier for the thumbnail being generated
         * @param cmdList the list of command arguments to execute
         * @return the exit code of the process if it finishes normally; -1 if the process fails or is terminated
         */
        protected int executeCommand(final String thumbnailId, final List<String> cmdList) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             * @throws InvalidKeyException If the access key is invalid
             * @throws ErrorResponseException If the server returns an error
             * @throws IllegalArgumentException If the arguments are invalid
             * @throws InsufficientDataException If insufficient data is available
             * @throws InternalException If an internal error occurs
             * @throws InvalidResponseException If the response is invalid
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                when(mockTree.isSMB2()).thenReturn(false);
                when(mockFile.getType()).thenReturn(SmbConstants.TYPE_NAMED_PIPE);
    
                // Cause send to throw to stop execution so we can verify arguments
                doAnswer(inv -> {
                    throw new SmbException("stop");
                }).when(mockTree)
                        .send(any(jcifs.internal.CommonServerMessageBlockRequest.class),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/CrawlJob.java

                    }
                }
            });
            return counter.get();
        }
    
        /**
         * Executes the crawler process in a separate JVM.
         * This method constructs the command line arguments, sets up the classpath,
         * and launches the crawler as an external process. It handles process lifecycle,
         * monitors output, and ensures proper cleanup.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/CopyUtil.java

     * <td>characters</td>
     * <td>&times;</td>
     * </tr>
     * </table>
     * <p>
     * Methods that take {@link InputStream}/{@link OutputStream}/{@link Reader}/{@link Writer} as arguments do not call {@link Closeable#close()} on the arguments. The caller is responsible for closing them.
     * </p>
     * <p>
     * Any {@link IOException} thrown by these methods is wrapped and thrown as an {@link IORuntimeException}.
     * </p>
     *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                }
            });
        }
    
        /**
         * Gets the system property option string for thumbnail path configuration.
         *
         * @return the property option string for JVM arguments
         */
        public String getThumbnailPathOption() {
            return "-D" + Constants.FESS_THUMBNAIL_PATH + "=" + baseDir.getAbsolutePath();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top