Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 113 for Hockin (0.03 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.smb.SmbException;
    
    @ExtendWith(MockitoExtension.class)
    class LsaPolicyHandleTest {
    
        @Mock
        private DcerpcHandle mockDcerpcHandle;
    
        // Mocking MsrpcLsarOpenPolicy2 and MsrpcLsarClose is tricky because they are created inside the constructor/method.
        // We need to use ArgumentCaptor or a custom Answer to control their behavior.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

        }
    
        /**
         * Test that both mapping and settings resources can be loaded simultaneously.
         * Verifies no resource contention or locking issues.
         */
        @Test
        public void testResourceLoading_simultaneousAccess() throws Exception {
            String mappings;
            String settings;
    
            // Load both resources
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     *
     * <ul>
     *   <li>for an unnested {@code lock()} and {@code unlock()}, a cycle detecting lock takes 38ns as
     *       opposed to the 24ns taken by a plain lock.
     *   <li>for nested locking, the cost increases with the depth of the nesting:
     *       <ul>
     *         <li>2 levels: average of 64ns per lock()/unlock()
     *         <li>3 levels: average of 77ns per lock()/unlock()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/pager/RelatedQueryPager.java

         */
        public String createdBy;
    
        /**
         * Timestamp when the related query was created.
         */
        public String createdTime;
    
        /**
         * Version number for optimistic locking.
         */
        public String versionNo;
    
        /**
         * Default constructor for RelatedQueryPager.
         * Initializes a new instance with default values for pagination
         * and related query fields.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. gradle/wrapper/gradle-wrapper.jar

    ParsedCommandLineOpt(); } org/gradle/internal/file/PathTraversalChecker.class package org.gradle.internal.file; public abstract class PathTraversalChecker { public static String safePathName(String); } org/gradle/internal/file/locking/ExclusiveFileAccessM.class package org.gradle.internal.file.locking; public final class ExclusiveFileAccessM { public void ExclusiveFileAccessM(); public static void maybeCloseQuietly(java.io.Closeable); } org/gradle/util/internal/WrapperDistributionU.class package org.gradle.util.internal;...
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 01:56:29 UTC 2025
    - 44.6K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            byte[] buffer = new byte[4];
            long time = System.currentTimeMillis();
            // UTime is seconds since epoch, so divide by 1000
            long unixTime = time / 1000L;
    
            // Mocking date for timezone consistency
            TimeZone original = TimeZone.getDefault();
            try {
                TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java

        public String createdBy;
    
        /** The timestamp when this file authentication entry was created. */
        public String createdTime;
    
        /** The version number for optimistic locking. */
        public String versionNo;
    
        /**
         * Clears all pagination and search criteria fields, resetting them to their default values.
         */
        public void clear() {
            allRecordCount = 0;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       * more bytes.
       *
       * <p>Note: Direct testing of the {@link IOException} scenario during write/flush is challenging
       * without mocking. This test verifies that normal operation with threshold crossing still works
       * correctly with the fix in place.
       */
      public void testThresholdCrossing_resourceManagement() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                    }
                }
                assertTrue(hasNonZero, "Signature should be present at correct offset");
            }
    
            @Test
            @DisplayName("Should be thread-safe with optimized locking")
            void testSignThreadSafety() throws InterruptedException {
                int threadCount = 10;
                Thread[] threads = new Thread[threadCount];
                byte[][] dataArrays = new byte[threadCount][128];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbSessionTest.java

                verify(mockSession, times(1)).unwrap(SmbSession.class);
                verify(mockSession, times(1)).close();
            }
    
            @Test
            @DisplayName("Should support partial mocking scenarios")
            void shouldSupportPartialMockingScenarios() {
                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top