Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 2,536 for List (0.01 sec)

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

        return new CollectionTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
              parentBuilder) {
        List<TestSuite> derivedSuites = new ArrayList<>(super.createDerivedSuites(parentBuilder));
    
        if (parentBuilder.getFeatures().contains(SERIALIZABLE)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

          }
        }
      }
    
      abstract val path: Any
    
      /**
       * Reads the public suffix list treating the operation as uninterruptible. We always want to read
       * the list otherwise we'll be left in a bad state. If the thread was interrupted prior to this
       * operation, it will be re-interrupted after the list is read.
       */
      private fun readTheListUninterruptibly() {
        var interrupted = false
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java

      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            return this.connection.getRequestProperty(key);
        }
    
        @Override
        public Map<String, List<String>> getRequestProperties() {
            final Map<String, List<String>> map = new HashMap<>();
            for (final Entry<String, List<String>> entry : this.requestProperties.entrySet()) {
                map.put(entry.getKey(), Collections.unmodifiableList(entry.getValue()));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

          assertThat(graph.edges()).hasSize(NUM_EDGES);
          AbstractGraphTest.validateGraph(graph);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

              @Override
              protected void verify(List<T> elements) {
                assertEquals(new HashSet<>(elements), newHashSet(mmHeap.iterator()));
                assertIntact(mmHeap);
              }
            };
        tester.test();
      }
    
      public void testIteratorTester() throws Exception {
        Random random = new Random(0);
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < 3; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  7. cmd/postpolicyform_test.go

    		},
    		{
    			name:    "unknown key XAmzChecksumAlgo is error as it does not appear in policy",
    			fv:      defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumAlgo), "algo-val"),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return emptySet();
        }
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(CollectionSerializationEqualTester.class);
        testers.add(MultisetAddTester.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * TestContainerGenerator#order(List)}. Tests should use this method only if they declare
       * requirement {@link com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}.
       */
      protected List<E> getOrderedElements() {
        List<E> list = new ArrayList<>();
        for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) {
          list.add(e);
        }
        return unmodifiableList(list);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      }
    
      @GwtIncompatible // unreasonably slow
      public void testEntriesIteration() {
        List<Entry<String, Integer>> addItems =
            ImmutableList.of(
                immutableEntry("foo", 99), immutableEntry("foo", 88), immutableEntry("bar", 77));
    
        for (int startIndex : new int[] {0, 3, 5}) {
          List<Entry<String, Integer>> list =
              Lists.newArrayList(
                  immutableEntry("foo", 2),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top