Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for start (0.19 sec)

  1. android/guava/src/com/google/common/primitives/Chars.java

        final char[] array;
        final int start;
        final int end;
    
        CharArrayAsList(char[] array) {
          this(array, 0, array.length);
        }
    
        CharArrayAsList(char[] 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
    - 23.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Doubles.java

        final double[] array;
        final int start;
        final int end;
    
        DoubleArrayAsList(double[] array) {
          this(array, 0, array.length);
        }
    
        DoubleArrayAsList(double[] 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 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  4. 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)
  5. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += (System.nanoTime() - start);
        }
        return total;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += (System.nanoTime() - start);
        }
        return total;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

        assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0);
        assertThat(ComparisonChain.start().compareFalseFirst(false, false).result()).isEqualTo(0);
      }
    
      public void testCompareTrueFirst() {
        assertThat(ComparisonChain.start().compareTrueFirst(true, true).result()).isEqualTo(0);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CharMatcher.java

       *     sequence.length()}
       */
      public int indexIn(CharSequence sequence, int start) {
        int length = sequence.length();
        checkPositionIndex(start, length);
        for (int i = start; i < length; i++) {
          if (matches(sequence.charAt(i))) {
            return i;
          }
        }
        return -1;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Stopwatch.java

        return new Stopwatch(ticker).start();
      }
    
      Stopwatch() {
        this.ticker = Ticker.systemTicker();
      }
    
      Stopwatch(Ticker ticker) {
        this.ticker = checkNotNull(ticker, "ticker");
      }
    
      /**
       * Returns {@code true} if {@link #start()} has been called on this stopwatch, and {@link #stop()}
       * has not been called since the last call to {@code start()}.
       */
      public boolean isRunning() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       */
    
      private final transient int start; // it happens that we only serialize instances where this is 0
      private final int end; // exclusive
    
      private ImmutableLongArray(long[] array) {
        this(array, 0, array.length);
      }
    
      private ImmutableLongArray(long[] array, int start, int end) {
        this.array = array;
        this.start = start;
        this.end = end;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top