Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 476 for sekonda (0.35 sec)

  1. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

    import static java.util.concurrent.Executors.newFixedThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import java.time.Duration;
    import java.util.concurrent.Callable;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Need successThreshold (2) consecutive successes to close the circuit
            // Second success should close the circuit (threshold is 2)
            result = circuitBreaker.executeWithCircuitBreaker(() -> "success 1");
            assertEquals("success 1", result, "Should execute second success");
            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

        /**
         * Seconds between January 1, 1904 and January 1, 1970 (Mac epoch).
         */
        public static final long SEC_BETWEEEN_1904_AND_1970 = 2082844800L;
    
        /**
         * Time encoding type: 1970 epoch, 32-bit seconds, big-endian.
         */
        public static final int TIME_1970_SEC_32BE = 1;
    
        /**
         * Time encoding type: 1970 epoch, 32-bit seconds, little-endian.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.util.concurrent.ListenableFuture;
    import java.util.concurrent.CancellationException;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

    import static java.util.concurrent.Executors.newFixedThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import java.time.Duration;
    import java.util.concurrent.Callable;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test nextElement() changes command on second call")
        void testNextElementSecondCall() {
            // First call - primary
            transaction.nextElement();
            byte initialCommand = transaction.command;
    
            // Second call - secondary
            transaction.nextElement();
    
            // Verify command changed to secondary
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *   protected void visitWildcardType(WildcardType t) {
     *     throw new IllegalArgumentException("Cannot contain wildcard type.");
     *   }
     * }.visit(type);
     * }
     *
     * <p>One {@code Type} is visited at most once. The second time the same type is visited, it's
     * ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds.
     *
     * <p>This class is not thread safe.
     *
     * @author Ben Yu
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates integer for safe arithmetic operations
         *
         * @param a first operand
         * @param b second operand
         * @param operation the operation name
         * @throws ArithmeticException if operation would overflow
         */
        public static void validateIntegerAddition(int a, int b, String operation) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            assertEquals("foo/", r1.getName(), "First child name should match with trailing slash");
    
            assertTrue(it.hasNext(), "Expected second element available");
            SmbResource r2 = it.next();
            assertNotNull(r2);
            assertEquals("bar/", r2.getName(), "Second child name should match with trailing slash");
    
            // End of iteration behavior
            assertFalse(it.hasNext(), "No more elements expected");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                TestServerMessageBlock2 second = new TestServerMessageBlock2(mockConfig);
                TestServerMessageBlock2 third = new TestServerMessageBlock2(mockConfig);
    
                assertTrue(testMessage.chain(second));
                assertTrue(testMessage.chain(third));
    
                assertEquals(second, testMessage.getNext());
                assertEquals(third, second.getNext());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top