Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1261 - 1270 of 1,846 for isInstance (0.07 seconds)

  1. android/guava/src/com/google/common/collect/AbstractIterator.java

       * result in an {@link IllegalStateException}.
       *
       * <p>The implementation of this method may not invoke the {@code hasNext}, {@code next}, or
       * {@link #peek()} methods on this instance; if it does, an {@code IllegalStateException} will
       * result.
       *
       * @return the next element if there was one. If {@code endOfData} was called during execution,
       *     the return value will be ignored.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

      }
    
      private void expectArrayContentsInOrder(List<E> expected, Object[] actual) {
        assertEquals("toArray() ordered contents: ", expected, asList(actual));
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testToArray_isPlainObjectArray()} so that tests
       * of {@link Arrays#asList(Object[])} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            char[] clonedPassword = (char[]) passwordField.get(cloned);
    
            assertNotSame(originalPassword, clonedPassword, "Cloned password should be a different array instance");
            assertArrayEquals(originalPassword, clonedPassword, "Cloned password content should match");
    
            // Wipe original - should not affect clone
            authenticator.secureWipePassword();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/util/MimeMapTest.java

            }
        }
    
        @Nested
        @DisplayName("Constructor and initialization")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create MimeMap instance successfully")
            void testConstructor() {
                assertDoesNotThrow(() -> new MimeMap());
            }
    
            @Test
            @DisplayName("Should load mime.map resource properly")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            assertEquals("sig check failed", ex.getMessage());
            verify(handle).areSignaturesActive();
        }
    
        @Test
        @DisplayName("getSession(): returns the mocked SmbSession instance")
        void getSession_returnsMock() {
            // Arrange
            SmbSession session = mock(SmbSession.class);
            when(handle.getSession()).thenReturn(session);
    
            // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. compat/maven-compat/pom.xml

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>org.apache.maven</groupId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. CLAUDE.md

    - `src/main/resources/suggest_settings/` - Default configurations
    
    ---
    
    ## Testing
    
    ### Test Framework
    
    JUnit 4 with opensearch-runner (embedded instance)
    
    ### Standard Test Setup
    
    ```java
    @BeforeClass
    public static void beforeClass() {
        runner = new OpenSearchRunner();
        runner.build(newConfigs().clusterName("TestCluster").numOfNode(1));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsAccessTokenBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends AccessToken> RESULT updateEntity(Map<String, Object> source, RESULT result) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordToLabelBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends ElevateWordToLabel> RESULT updateEntity(Map<String, Object> source, RESULT result) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsKeyMatchBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends KeyMatch> RESULT updateEntity(Map<String, Object> source, RESULT result) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top