Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 511 for arrayTest (2.42 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

            graph.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
          ArrayList<Integer> nodeList = new ArrayList<>(graph.nodes());
          while (graph.edges().size() < NUM_EDGES) {
            graph.putEdge(getRandomElement(nodeList, gen), getRandomElement(nodeList, gen));
          }
          ArrayList<EndpointPair<Integer>> edgeList = new ArrayList<>(graph.edges());
    
          assertThat(graph.nodes()).hasSize(NUM_NODES);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                final String[] fileAuthNames = fileAuthStr.split(",");
                final List<SmbAuthentication> smbAuthList = new ArrayList<>();
                final List<org.codelibs.fess.crawler.client.smb1.SmbAuthentication> smb1AuthList = new ArrayList<>();
                final List<FtpAuthentication> ftpAuthList = new ArrayList<>();
                for (final String fileAuthName : fileAuthNames) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        ArrayList<Integer> list = Lists.newArrayList();
        assertEquals(emptyList(), list);
      }
    
      public void testNewArrayListWithCapacity() {
        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(emptyList(), bigger);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

      public void testForEachUnknownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/StringCatcher.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.eventbus;
    
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.Assert;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A simple EventSubscriber mock that records Strings.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/Collections2Test.java

        List<Integer> list = new ArrayList<>();
        Collection<List<Integer>> permutationSet = Collections2.orderedPermutations(list);
    
        assertEquals(1, permutationSet.size());
        assertThat(permutationSet).contains(list);
    
        Iterator<List<Integer>> permutations = permutationSet.iterator();
    
        assertNextPermutation(new ArrayList<>(), permutations);
        assertNoMorePermutations(permutations);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenInSubclassNowhereAnnotatedEvents = new ArrayList<>();
        final List<Object> overriddenAndAnnotatedInSubclassEvents = new ArrayList<>();
    
        @Override
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          overriddenInSubclassNowhereAnnotatedEvents.add(o);
        }
    
        @Subscribe
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/app/pager/BadWordPagerTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.pager;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class BadWordPagerTest extends UnitFessTestCase {
    
        public void test_badWordPager() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top