Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for compilation (2.67 sec)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

        private static final double TIMING_TOLERANCE = 2.0; // 200% tolerance - JVM timing is inherently variable for timing variations
    
        @BeforeEach
        public void setUp() {
            // Warm up JVM to reduce JIT compilation effects
            for (int i = 0; i < 100; i++) {
                NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

     *   It is similar to a Promise in JavaScript.
     *   It allows you to register callbacks that will be executed when the computation is complete,
     *   either successfully (resolve) or with an error (reject).
     * </p>
     *
     * <p>
     *   The Deferred class has a Promise inner class that allows you to register callbacks
     *   to be executed when the computation is complete.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Verify structure:
            // Offset 0-3: Completion Filter (4 bytes)
            // Offset 4-5: FID (2 bytes)
            // Offset 6: Watch Tree (1 byte)
            // Offset 7: Reserved (1 byte)
            assertEquals(8, bytesWritten);
    
            // Check completion filter
            assertEquals(0x12345678, SMBUtil.readInt4(dst, 10));
    
            // Check FID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            notifyFlagsField.setAccessible(true);
            assertEquals(flags, notifyFlagsField.getInt(request));
        }
    
        @Test
        @DisplayName("Should set completion filter correctly")
        void testSetCompletionFilter() throws Exception {
            // Given
            int filter = Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_FILE_NAME | Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_DIR_NAME
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                        endLatch.countDown();
                    }
                });
            }
    
            // Start all threads simultaneously
            startLatch.countDown();
    
            // Wait for completion
            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            // Then - Verify no exceptions occurred
            if (!exceptions.isEmpty()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            // Verify that the ptype is set to 0
            assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");
    
            // Verify that the flags are set to the combination of DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         *
         * @param offset the byte offset in the file where the lock begins
         * @param length the number of bytes to lock
         * @param flags the lock flags (combination of SMB2_LOCKFLAG_* constants)
         */
        public Smb2Lock(final long offset, final long length, final int flags) {
            this.offset = offset;
            this.length = length;
            this.flags = flags;
    
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

         */
        public void recordReadRequest(int bytes) {
            // Track that a read was requested
            rdmaReads.incrementAndGet();
        }
    
        /**
         * Record successful completion of a read request
         *
         * @param bytes number of bytes successfully read
         * @param durationNanos operation duration in nanoseconds
         */
        public void recordReadSuccess(int bytes, long durationNanos) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * Represents a work request for RDMA operations.
     *
     * Work requests are used to track pending RDMA operations
     * and their completion status.
     */
    public class RdmaWorkRequest {
    
        /**
         * Type of RDMA work request
         */
        public enum RequestType {
            /** Send operation */
            SEND,
            /** Receive operation */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            this.daemon = daemon;
        }
    
        /**
         * Runs the crawling process in a separate thread.
         * This method initializes the crawler context, creates and starts crawler threads,
         * and waits for their completion.
         */
        @Override
        public void run() {
            if (logger.isInfoEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top