Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 6,965 for _class (0.22 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

        class HappyPath {
            @Test
            void acceptWithMockedFile() throws Exception {
                SmbFile mockFile = mock(SmbFile.class);
                when(mockFile.getPath()).thenReturn("/share/file.txt");
                assertTrue(ALWAYSACTIVE.accept(mockFile));
            }
        }
    
        @Nested
        @DisplayName("Invalid input – null file handling")
        class InvalidPath {
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

          assertThrows(IllegalArgumentException.class, () -> LongMath.ceilingPowerOfTwo(x));
        }
      }
    
      public void testFloorPowerOfTwoNegative() {
        for (long x : NEGATIVE_LONG_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> LongMath.floorPowerOfTwo(x));
        }
      }
    
      public void testCeilingPowerOfTwoZero() {
        assertThrows(IllegalArgumentException.class, () -> LongMath.ceilingPowerOfTwo(0L));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/bsentity/dbmeta/SearchLogDbm.java

    import org.dbflute.dbway.DBDef;
    import org.dbflute.util.DfTypeUtil;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class SearchLogDbm extends AbstractDBMeta {
    
        protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CloseableIteratorTest.java

        @Test
        @DisplayName("Should extend Iterator and AutoCloseable")
        void testInterfaceInheritance() {
            // Then
            assertTrue(java.util.Iterator.class.isAssignableFrom(CloseableIterator.class));
            assertTrue(AutoCloseable.class.isAssignableFrom(CloseableIterator.class));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 964 bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

         * A definition for a component that can be instantiated on demand.
         * This class handles component creation, dependency injection, and initialization.
         *
         * @param <T> the type of the component
         */
        protected static class ComponentDef<T> {
            /**
             * The class of the component to instantiate.
             */
            protected Class<T> cls;
    
            /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

        @Test
        public void testDirectoryTraversal() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\share\\..\\..\\windows\\system32");
            });
        }
    
        @Test
        public void testDirectoryTraversalDot() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\share\\.\\..\\folder");
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

      /**
       * Get the full set of requirements for a tester class.
       *
       * @param testerClass a tester class
       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

    import jcifs.dcerpc.ndr.NdrBuffer;
    
    /**
     * Comprehensive test suite for jcifs.dcerpc.DcerpcBind class.
     * Tests DCE/RPC bind message functionality for MSRPC protocol compliance.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("DcerpcBind Tests")
    class DcerpcBindTest {
    
        @Mock
        private DcerpcBinding mockBinding;
    
        @Mock
        private DcerpcHandle mockHandle;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                    DERGeneralString derRealm = ASN1Util.as(DERGeneralString.class, tagged);
                    this.userRealm = derRealm.getString();
                    break;
                case 3: // Principal
                    ASN1Sequence principalSequence = ASN1Util.as(ASN1Sequence.class, tagged);
                    ASN1Sequence nameSequence = ASN1Util.as(ASN1Sequence.class, ASN1Util.as(ASN1TaggedObject.class, principalSequence, 1));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    ASN1Sequence encSequence = ASN1Util.as(ASN1Sequence.class, tagged);
                    ASN1Integer encType = ASN1Util.as(ASN1Integer.class, ASN1Util.as(ASN1TaggedObject.class, encSequence, 0));
                    DEROctetString encOctets = ASN1Util.as(DEROctetString.class, ASN1Util.as(ASN1TaggedObject.class, encSequence, 2));
                    byte[] crypt = encOctets.getOctets();
    
                    if (keys == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top