Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1991 - 2000 of 3,054 for throws (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        private Configuration mockConfig;
    
        private static final String TEST_FILENAME = "test/file.txt";
        private static final int TEST_INFO_LEVEL = FileInformation.FILE_BASIC_INFO;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FileListIndexUpdateCallbackImplTest extends UnitFessTestCase {
        public FileListIndexUpdateCallbackImpl indexUpdateCallback;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            indexUpdateCallback = new FileListIndexUpdateCallbackImpl(null, null, 1);
        }
    
        /** Case 1: Normal merge (no duplicates) */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 23:31:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

    public class SortedMapNavigationTester<K, V> extends AbstractMapTester<K, V> {
    
      private SortedMap<K, V> navigableMap;
      private Entry<K, V> a;
      private Entry<K, V> c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        navigableMap = (SortedMap<K, V>) getMap();
        List<Entry<K, V>> entries =
            copyToList(
                getSubjectGenerator()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

       * @return a new, empty {@code ObjectCountLinkedHashMap} with enough capacity to hold {@code
       *     expectedSize} elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> createWithExpectedSize(
          int expectedSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

    import org.opensearch.index.query.QueryBuilder;
    
    public class FuzzyQueryCommandTest extends QueryTestBase {
    
        private FuzzyQueryCommand fuzzyQueryCommand;
    
        @Override
        protected void setUpChild() throws Exception {
            // Initialize and register FuzzyQueryCommand
            fuzzyQueryCommand = new FuzzyQueryCommand();
            fuzzyQueryCommand.register();
        }
    
        // Test getQueryClassName method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/UserService.java

         * Updates both the authentication manager and the database with the new encrypted password.
         *
         * @param username the username of the user
         * @param password the new password in plain text
         * @throws FessUserNotFoundException if the user is not found
         */
        public void changePassword(final String username, final String password) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with offset pointing outside array bounds (should throw ArrayIndexOutOfBoundsException)
            buffer.putShort(0, (short) 1);
            buffer.putShort(2, (short) 1);
            buffer.putInt(4, data.length + 1); // Invalid offset
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> NtlmMessage.readSecurityBuffer(data, 0),
                    "Should throw ArrayIndexOutOfBoundsException for invalid offset.");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ResourceManager.java

                this.manager = manager;
            }
    
            public T get() {
                if (closed) {
                    throw new IllegalStateException("Resource has been closed: " + resourceId);
                }
                return resource;
            }
    
            @Override
            public void close() throws Exception {
                if (closed) {
                    return;
                }
    
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        public Object invoke(Object target, Method method, Object[] args) throws Throwable {
          assertTrue("setUp should have run", setUpRan.get());
          try {
            return method.invoke(map, args);
          } catch (InvocationTargetException e) {
            throw e.getCause();
          } catch (IllegalAccessException e) {
            throw newLinkageError(e);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Utf8.java

       * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this
       * method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both
       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top