Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 218 for Start (0.15 sec)

  1. guava-tests/test/com/google/common/collect/RangeTest.java

        Range<Integer> closedRange = Range.closed(4, 8);
    
        // first range open end, second range open start
        assertEquals(Range.closed(2, 4), Range.lessThan(2).gap(openRange));
        assertEquals(Range.closed(2, 4), openRange.gap(Range.lessThan(2)));
    
        // first range closed end, second range open start
        assertEquals(Range.openClosed(2, 4), Range.atMost(2).gap(openRange));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Splitter.java

               * of the next returned substring -- so nextStart stays the same.
               */
              offset++;
              if (offset > toSplit.length()) {
                offset = -1;
              }
              continue;
            }
    
            while (start < end && trimmer.matches(toSplit.charAt(start))) {
              start++;
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(csq);
            return this;
          }
    
          @Override
          public Appendable append(CharSequence csq, int start, int end) throws IOException {
            a.append(csq, start, end);
            return this;
          }
    
          @Override
          public Appendable append(char c) throws IOException {
            a.append(c);
            return this;
          }
        };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(csq);
            return this;
          }
    
          @Override
          public Appendable append(CharSequence csq, int start, int end) throws IOException {
            a.append(csq, start, end);
            return this;
          }
    
          @Override
          public Appendable append(char c) throws IOException {
            a.append(c);
            return this;
          }
        };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // get called correctly.
        for (int i = 0; i < 20; i++) {
    
          // Right in the middle start up a thread to close the latch.
          if (i == 10) {
            new Thread(() -> latch.countDown()).start();
          }
    
          future.addListener(listenerLatch::countDown, exec);
        }
    
        assertSame(Boolean.TRUE, future.get());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

        final int[] array;
        final int start;
        final int end;
    
        IntArrayAsList(int[] array) {
          this(array, 0, array.length);
        }
    
        IntArrayAsList(int[] array, int start, int end) {
          this.array = array;
          this.start = start;
          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        WaiterThread waiter = new WaiterThread(future);
        waiter.start();
        waiter.awaitWaiting();
        PollingThread poller = new PollingThread(future);
        poller.start();
        PollingThread poller2 = new PollingThread(future);
        poller2.start();
        PollingThread poller3 = new PollingThread(future);
        poller3.start();
        poller.awaitInLoop();
        poller2.awaitInLoop();
        poller3.awaitInLoop();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
        assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              notifyStarted();
            }
          }.start();
        }
    
        @Override
        protected void doStop() {
          new Thread() {
            @Override
            public void run() {
              Uninterruptibles.sleepUninterruptibly(delay, TimeUnit.MILLISECONDS);
              notifyStopped();
            }
          }.start();
        }
      }
    
      private static class FailStartService extends NoOpService {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CommonMatcher.java

      public abstract boolean find();
    
      public abstract boolean find(int index);
    
      public abstract String replaceAll(String replacement);
    
      public abstract int end();
    
      public abstract int start();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.2K bytes
    - Viewed (0)
Back to top