Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,403 for lista (0.02 sec)

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

          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (lock) {
          stackCopy = Lists.newArrayList(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
          try {
            tearDown.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int copyArrayList(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
          List<Object> builder = Lists.newArrayList();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += ImmutableList.copyOf(builder).size();
        }
        return dummy;
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      int copyArrayList(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
          List<Object> builder = Lists.newArrayList();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += ImmutableList.copyOf(builder).size();
        }
        return dummy;
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTester.java

                  public List<String> getResult() {
                    return list;
                  }
                });
    
        assertExpectedLines(list);
      }
    
      public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
        List<String> list =
            source.readLines(
                new LineProcessor<List<String>>() {
                  List<String> list = Lists.newArrayList();
    
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        }
      }
    
      private static void checkResults(List<Future<String>> futures)
          throws InterruptedException, ExecutionException {
        for (int i = 0; i < futures.size(); i++) {
          assertEquals(RESULT_VALUE + i, futures.get(i).get());
        }
      }
    
      private static List<Callable<String>> createTasks(int n) {
        List<Callable<String>> callables = Lists.newArrayList();
        for (int i = 0; i < n; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

        checkNotNull(equalityGroup);
        List<Object> list = new ArrayList<>(equalityGroup.length);
        for (int i = 0; i < equalityGroup.length; i++) {
          Object element = equalityGroup[i];
          if (element == null) {
            throw new NullPointerException("at index " + i);
          }
          list.add(element);
        }
        equalityGroups.add(list);
        return this;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      private static class PermutationIterator<E> extends AbstractIterator<List<E>> {
        final List<E> list;
        final int[] c;
        final int[] o;
        int j;
    
        PermutationIterator(List<E> list) {
          this.list = new ArrayList<>(list);
          int n = list.size();
          c = new int[n];
          o = new int[n];
          Arrays.fill(c, 0);
          Arrays.fill(o, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

      // serialized.
      E element;
    
      SingletonImmutableList(E element) {
        this.delegate = singletonList(checkNotNull(element));
        this.element = element;
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.collect.Lists;
    import java.io.ByteArrayInputStream;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Collections;
    import java.util.List;
    
    /**
     * Test class for {@link MultiInputStream}.
     *
     * @author Chris Nokleberg
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
Back to top