Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2391 - 2400 of 3,933 for avoid (0.02 sec)

  1. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          }
        }
        return methods;
      }
    
      private static <T> void testSuccessfulForwarding(
          Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) {
        new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction);
      }
    
      private static <T> void testExceptionPropagation(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

        private static final int TIMING_ITERATIONS = 1000;
        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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

       * anywhere else
       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1));
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        collection.clear();
        assertTrue("After clear(), a collection should be empty.", collection.isEmpty());
        assertEquals(0, collection.size());
        assertFalse(collection.iterator().hasNext());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

             *            the i to set
             */
            public void setI(final int i) {
                this.i = i;
            }
    
            /**
             * @return the i
             */
            public int getI() {
                return i;
            }
    
            /**
             * @param s
             *            the s to set
             */
            public void setS(final String s) {
                this.s = s;
            }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java

         */
        public long getSequenceNumber() {
            return sequenceNumber;
        }
    
        /**
         * Sets the sequence number.
         *
         * @param sequenceNumber the sequence number
         */
        public void setSequenceNumber(long sequenceNumber) {
            this.sequenceNumber = sequenceNumber;
        }
    
        /**
         * Gets the return code.
         *
         * @return the return code
         */
        public int getReturnCode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java

        public String getError() {
            return error != null ? error : "Error code: " + returnCode;
        }
    
        /**
         * Sets the error message.
         *
         * @param error the error message
         */
        public void setError(String error) {
            this.error = error;
        }
    
        /**
         * Gets the registration ID.
         *
         * @return the registration ID
         */
        public String getRegistrationId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractLoadingCache}.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class AbstractLoadingCacheTest extends TestCase {
    
      public void testGetUnchecked_checked() {
        Exception cause = new Exception();
        AtomicReference<Object> valueRef = new AtomicReference<>();
        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // close runner
            runner.close();
            // delete all files
            runner.clean();
        }
    
        public void test_insert_update_deleteTx() {
            final OpenSearchUrlQueue urlQueue = new OpenSearchUrlQueue();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.java

            assertTrue(res.containsKey("bug_report_props"));
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top