Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 373 for steste (0.33 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

                }
    
                // Atomically get or create the AtomicLong for this host using Cache.get()
                // This ensures thread-safe, atomic get-or-create behavior
                // Initialize with 0 to mark uninitialized state
                final AtomicLong lastTime = lastTimes.get(host, () -> new AtomicLong(0));
    
                synchronized (lastTime) {
                    final long lastValue = lastTime.get();
                    if (lastValue == 0) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertNotNull(lock);
            }
    
            @Test
            @DisplayName("Should create lock with negative values")
            void testConstructorWithNegativeValues() {
                lock = new Smb2Lock(-1L, -1L, -1);
    
                assertNotNull(lock);
            }
        }
    
        @Nested
        @DisplayName("Size Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return constant size of 24 bytes")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/FileEntryTest.java

                return fileIndex;
            }
        }
    
        // Functional helpers for concise parameterized tests
        private interface IntGetter {
            int apply(FileEntry e);
        }
    
        private interface LongGetter {
            long apply(FileEntry e);
        }
    
        // --- Mockito-based interaction tests ---
    
        @Test
        @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Checks if the system is in a force-stop state.
         *
         * @return true if the system is force-stopping, false otherwise.
         */
        public boolean isForceStop() {
            return forceStop.get();
        }
    
        /**
         * Sets the force-stop state of the system.
         *
         * @param b true to force-stop the system.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

        private int namedPipeState;
        private int readDataAvailable;
        private int numberOfMessages;
        private int messageLength;
        private byte[] data;
    
        /**
         * Gets the current state of the named pipe
         * @return the namedPipeState
         */
        public int getNamedPipeState() {
            return this.namedPipeState;
        }
    
        /**
         * Gets the amount of data available to read from the pipe
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/Constants.java

        public static final String RUNNING = "running";
    
        /** Status constant representing done/completed state. */
        public static final String DONE = "done";
    
        /** Status constant representing successful operation. */
        public static final String OK = "ok";
    
        /** Status constant representing failed operation. */
        public static final String FAIL = "fail";
    
        /** Status constant representing stopped state. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                        final String code = request.getParameter("code");
                        final String reqState = request.getParameter("state");
                        if (logger.isDebugEnabled()) {
                            logger.debug("code: {}, state(request): {}, state(session): {}", code, reqState, sesState);
                        }
                        if (sesState.equals(reqState) && StringUtil.isNotBlank(code)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test class for CreateContextResponse interface functionality
     */
    @DisplayName("CreateContextResponse Tests")
    class CreateContextResponseTest {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test initial indexNumber value is 0")
        void testInitialIndexNumber() {
            assertEquals(0L, fileInternalInfo.getIndexNumber());
        }
    
        @Test
        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInternalInfo.size());
        }
    
        @Test
        @DisplayName("Test decode with valid data")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

     * <p>
     * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock}
     * the tests create a mock {@link Configuration} and instantiate SmbComQueryInformation
     * directly.  Since the byte‑encoding logic is located in the superclass, the
     * tests verify that the byte buffer created by {@link
     * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top