Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 3,030 for thrown (0.4 sec)

  1. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                }
            });
    
            try {
                HtmlNext result = virtualHostHelper.getVirtualHostPath(null);
                // If it doesn't throw an exception, the test passes
                assertTrue(true);
            } catch (Exception e) {
                // If it throws any exception, the test passes
                assertTrue(true);
            }
        }
    
        public void test_getVirtualHostPath_withComplexPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K 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/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         * @return the number of bytes read
         * @throws SMBProtocolDecodingException if decoding fails
         */
        protected int readErrorResponse(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 9) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

        tester.testAllPublicStaticMethods(Hashing.class);
      }
    
      public void testSeedlessHashFunctionEquals() throws Exception {
        assertSeedlessHashFunctionEquals(Hashing.class);
      }
    
      public void testSeededHashFunctionEquals() throws Exception {
        assertSeededHashFunctionEquals(Hashing.class);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  5. 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)
  6. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getLocalName() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getLocalAddr() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public int getLocalPort() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

         *
         * @param responseData the response data containing the response body
         * @return a temporary file containing the response body
         * @throws CrawlingAccessException if an error occurs while reading the response body
         */
        public static File createResponseBodyFile(final ResponseData responseData) {
            File tempFile = null;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertThrows(SMBProtocolDecodingException.class, () -> securityDescriptor.decode(testBuffer, 0, testBuffer.length),
                    "Should throw exception for ACE count > 4096");
        }
    
        @Test
        @DisplayName("Test getType returns correct value")
        void testGetType() throws SMBProtocolDecodingException {
            // Prepare buffer with specific type value
            testBuffer[0] = 0x01; // revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top