Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1881 - 1890 of 3,691 for Private (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
      public void testSimple() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
      public void testSimple() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    @GwtIncompatible
    @J2ktIncompatible
    @J2ObjCIncompatible // gc
    @NullMarked
    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class ExecutionSequencer {
    
      private ExecutionSequencer() {}
    
      /** Creates a new instance. */
      public static ExecutionSequencer create() {
        return new ExecutionSequencer();
      }
    
      /** This reference acts as a pointer tracking the head of a linked list of ListenableFutures. */
      private final AtomicReference<ListenableFuture<@Nullable Void>> ref =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

      @RegisterExtension
      val platform = PlatformRule()
    
      val listener = SocketClosingEventListener()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server = MockWebServer()
    
      private var client =
        clientTestRule
          .newClientBuilder()
          .eventListener(listener)
          .build()
    
      class SocketClosingEventListener : EventListener() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

        return Collections.unmodifiableSortedSet(delegate().elementSet());
      }
    
      @Override
      public SortedSet<E> elementSet() {
        return (SortedSet<E>) super.elementSet();
      }
    
      private transient @Nullable UnmodifiableSortedMultiset<E> descendingMultiset;
    
      @Override
      public SortedMultiset<E> descendingMultiset() {
        UnmodifiableSortedMultiset<E> result = descendingMultiset;
        if (result == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

            assertThat(ObjectUtil.defaultValue(Boolean.TRUE, true), is(Boolean.TRUE));
            assertThat(ObjectUtil.defaultValue(null, null), is(nullValue()));
        }
    
        class Hoge {
            private int i;
    
            private String s;
    
            /**
             * @param i
             *            the i to set
             */
            public void setI(final int i) {
                this.i = i;
            }
    
            /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class DisposableUtilTest {
    
        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.LogStream;
    
    class TransTransactNamedPipe extends SmbComTransaction {
    
        private final byte[] pipeData;
        private final int pipeFid, pipeDataOff, pipeDataLen;
    
        TransTransactNamedPipe(final int fid, final byte[] data, final int off, final int len) {
            pipeFid = fid;
            pipeData = data;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

        /**
         *
         */
        @SuppressWarnings("unused")
        public static class MyBean {
            /** */
            public static final String HOGE = "hoge";
    
            private Class<?> aaa;
    
            private List<String> list;
    
            private Map<String, Integer> map;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top