Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 313 for dangling (0.69 sec)

  1. src/main/java/org/codelibs/core/io/InputStreamUtil.java

            final ByteArrayOutputStream os = new ByteArrayOutputStream(BUF_SIZE);
            CopyUtil.copy(is, os);
            return os.toByteArray();
        }
    
        /**
         * A method that wraps exception handling for {@link InputStream#available()}.
         *
         * @param is the input stream (must not be {@literal null})
         * @return the available size
         */
        public static int available(final InputStream is) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.Constructor;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Interface for handling constructors.
     *
     * @author koichik
     */
    public interface ConstructorDesc {
    
        /**
         * Returns the {@link BeanDesc} of the class that owns this constructor.
         *
         * @return {@link BeanDesc}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

    /**
     * Tests for SmbFilenameFilter interface behaviors via simple implementations.
     * Each test creates a concrete filter to validate expected contract semantics
     * including normal operation, null handling, edge cases, and exception flow.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbFilenameFilterTest {
    
        @Mock
        SmbFile mockDir;
    
        /**
         * Happy-path: a filter that accepts any name.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.config.BaseConfiguration;
    
    /**
     * Tests for SMB1 transaction response handling
     */
    public class TestSmbComTransactionResponseReader {
    
        /**
         * Default configuration used for Unicode support tests
         */
        private Configuration cfg;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Handler.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.SmbConstants;
    import jcifs.context.SingletonContext;
    
    /**
     * URL handler for transparent smb:// URL handling
     *
     */
    public class Handler extends URLStreamHandler {
    
        private static final Logger log = LoggerFactory.getLogger(Handler.class);
        private CIFSContext transportContext;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            StackTraceElement topElement = stackTrace[0];
            assertEquals(this.getClass().getName(), topElement.getClassName());
        }
    
        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception level3 = new RuntimeException("Level 3 error");
            Exception level2 = new IllegalStateException("Level 2 error", level3);
            Exception level1 = new IOException("Level 1 error", level2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Should still read 37 bytes regardless of reserved byte values
            assertEquals(37, bytesRead);
        }
    
        @Test
        @DisplayName("Test handling of maximum values")
        void testMaximumValues() throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            void testNullExpiration() {
                response.setExpiration(null);
    
                assertNull(response.getExpiration());
            }
        }
    
        @Nested
        @DisplayName("Async Handling Tests")
        class AsyncHandlingTests {
    
            @Test
            @DisplayName("Should get and set async handled")
            void testAsyncHandled() {
                assertFalse(response.isAsyncHandled());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/FieldDesc.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.Field;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Interface for handling fields.
     *
     * @author koichik
     */
    public interface FieldDesc {
    
        /**
         * Returns the {@link BeanDesc} of the class that owns this field.
         *
         * @return {@link BeanDesc}
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/PropertyDesc.java

     */
    package org.codelibs.core.beans;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Interface for handling properties.
     *
     * @author higa
     */
    public interface PropertyDesc {
    
        /**
         * Returns the property name.
         *
         * @return the property name
         */
        String getPropertyName();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top