Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 191 for locked (1.23 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

            // Then
            assertTrue(result, "Custom implementation should return true when initialized with true");
        }
    
        @Test
        @DisplayName("Test interface can be mocked")
        void testInterfaceCanBeMocked() {
            // Given
            SmbNegotiationRequest mockRequest = mock(SmbNegotiationRequest.class);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            decoded.decode(buf);
            assertEquals(123, decoded.value, "decoded value should equal original");
        }
    
        /**
         * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked
         * (spied) buffer.
         */
        @Test
        void encodeWithSpiedBufferCallsEncMethod() throws NdrException {
            NdrShort ns = new NdrShort(42);
            NdrBuffer spy = spy(new NdrBuffer(new byte[10], 0));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            /**
             * Default constructor.
             */
            public JvmClassesObj() {
                // Default constructor
            }
    
            /** Currently loaded classes */
            public long loaded;
            /** Total classes loaded since JVM start */
            public long total_loaded;
            /** Total classes unloaded */
            public long unloaded;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
                throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
            }
    
            off -= 4;
    
            b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte) 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the KerberosConstants interface.
     */
    class KerberosConstantsTest {
    
        /**
         * This test primarily exists to ensure the constants interface can be loaded
         * and to provide a basic check of its values.
         * Since it's an interface with only static final fields, there is no complex logic to test.
         */
        @Test
        void testConstants() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.1K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingCreator.java

        }
    
        /**
         * Registers this creator with the dictionary manager after construction.
         */
        @PostConstruct
        public void register() {
            if (logger.isInfoEnabled()) {
                logger.info("Loaded {}", this.getClass().getSimpleName());
            }
            dictionaryManager.addCreator(this);
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiCreator.java

        }
    
        /**
         * Registers this creator to the dictionary manager.
         */
        @PostConstruct
        public void register() {
            if (logger.isInfoEnabled()) {
                logger.info("Loaded {}", this.getClass().getSimpleName());
            }
            dictionaryManager.addCreator(this);
        }
    
        /**
         * Creates a new dictionary file.
         *
         * @param id The ID of the dictionary file.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

    public class SmbSessionTest {
    
        @Mock
        UniAddress addr;
        @Mock
        InetAddress inet;
        NtlmPasswordAuthentication auth;
        @Mock
        SmbTransport transport;
    
        // static helper that returns the mocked transport. The real class
        // performs several other operations, but for the purpose of the test
        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

    class KerberosPacAuthDataTest {
    
        private Map<Integer, KerberosKey> keys;
    
        @BeforeEach
        void setUp() {
            keys = new HashMap<>();
        }
    
        // Test successful PAC creation with mocked Pac construction
        @Test
        void testConstructorSuccess() throws PACDecodingException {
            // Setup key
            byte[] keyBytes = new byte[32];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java

         */
        protected void waitForNext() {
            if (reloadInterval > 0) {
                ThreadUtil.sleep(reloadInterval);
            }
        }
    
        /**
         * Load the configuration.
         * @return The number of loaded configurations.
         */
        public abstract int load();
    
        /**
         * Set the interval for reloading.
         * @param reloadInterval The interval for reloading.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top