Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 2,976 for throwIt (0.04 sec)

  1. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

                ComponentUtil.getJobExecutor("testJobExecutor");
                fail("Should throw exception");
            } catch (Exception e) {
                // Expected
            }
        }
    
        public void test_getJobExecutor_withoutSuffix() {
            try {
                ComponentUtil.getJobExecutor("test");
                fail("Should throw exception");
            } catch (Exception e) {
                // Expected
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

         * @param si the starting index in the source array
         * @param slim the limit index in the source array
         * @return the decoded String
         * @throws IOException if a decoding error occurs
         */
        public static String dec_utf8(final byte[] src, int si, final int slim) throws IOException {
            final char[] uni = new char[slim - si];
            int ui, ch;
    
            for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        private FileTypeHelper fileTypeHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            fileTypeHelper = new FileTypeHelper();
        }
    
        public void test_init() {
            try {
                fileTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_add() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

    import jakarta.validation.Payload;
    
    public class CustomSizeValidatorTest extends UnitFessTestCase {
    
        private CustomSizeValidator validator;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            validator = new CustomSizeValidator();
        }
    
        public void test_constructor() {
            assertNotNull(validator);
        }
    
        public void test_isValid_nullValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            System.arraycopy(data, 0, dst, dstIndex, data.length);
            return data.length;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len < 20) {
                throw new SMBProtocolDecodingException("Invalid RDMA Transform Capabilities context length: " + len);
            }
    
            int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/Escaper.java

       * </ul>
       *
       * @param string the literal string to be escaped
       * @return the escaped form of {@code string}
       * @throws NullPointerException if {@code string} is null
       * @throws IllegalArgumentException if {@code string} contains badly formed UTF-16 or cannot be
       *     escaped for any other reason
       */
      public abstract String escape(String string);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

       * connection to an address fails, OkHttp will retry the connection with the next address until
       * either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded.
       */
      @Throws(UnknownHostException::class)
      fun lookup(hostname: String): List<InetAddress>
    
      companion object {
        /**
         * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            // Then
            assertEquals(expectedLength, actualLength);
            verify(messageBlock).decode(buffer, bufferIndex);
        }
    
        @Test
        @DisplayName("Test decode method throws SMBProtocolDecodingException")
        void testDecodeThrowsException() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

      }
    
      public void testNoForwardingOfDefaultMethod() throws Exception {
        ExecutorService delegate =
            new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60, SECONDS, new SynchronousQueue<>()) {
              @Override
              public void close() {
                throw new AssertionError(
                    "ForwardingExecutorService should have used the default method"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

            return dstIndex - start;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            final int start = bufferIndex;
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("invalid session request wire format");
            }
            bufferIndex += calledName.readWireFormat(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top