Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 328 for as_list (0.21 sec)

  1. src/mdo/merger.vm

                }
            }
    
            private List<V> asList() {
                if (list == null) {
                    list = new ArrayList<>(map.values());
                    map = null;
                }
                return list;
            }
    
            @Override
            public void add(int index, V element) {
                asList().add(index, element);
            }
    
            @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Sep 05 16:06:44 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

        }
    
        def "entrySet() containsAll() is tracked for all entries"() {
            when:
            def result = getMapUnderTestToRead().entrySet().containsAll(Arrays.asList(
                entry(EXISTING_KEY, EXISTING_VALUE),
                entry('keyWithNonStringValue', NON_STRING_VALUE),
                entry('existing', 'existingStringValue')))
            then:
            result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          ImmutableCollection<E> list = (ImmutableCollection<E>) elements;
          return list.asList();
        }
        return copyFromCollection(elements);
      }
    
      @JsMethod
      public static <E> ImmutableList<E> copyOf(E[] elements) {
        checkNotNull(elements); // eager for GWT
        return copyOf(Arrays.asList(elements));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        return copyToList(Arrays.asList(elements));
      }
    
      // Clone of Sets.newLinkedHashSet
      public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) {
        Set<E> set = new LinkedHashSet<>();
        addAll(set, elements);
        return set;
      }
    
      public static <E extends @Nullable Object> Set<E> copyToSet(E[] elements) {
        return copyToSet(Arrays.asList(elements));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *     ImmutableSetMultimap.<Character, Character>builder()
       *         .putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a'))
       *         .putAll('a', Arrays.asList('p', 'p', 'l', 'e'))
       *         .putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't'))
       *         .putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'))
       *         .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'))
       *         .build();
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          Set<Object> expected = Maps.newHashMap(cache.asMap()).keySet();
          assertThat(keys).containsExactlyElementsIn(expected);
          assertThat(keys.toArray()).asList().containsExactlyElementsIn(expected);
          assertThat(keys.toArray(new Object[0])).asList().containsExactlyElementsIn(expected);
    
          new EqualsTester()
              .addEqualityGroup(cache.asMap().keySet(), keys)
              .addEqualityGroup(ImmutableSet.of())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                    scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED);
                } else if (Artifact.SCOPE_RUNTIME.equals(classpath)) {
                    scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_RUNTIME);
                } else if (Artifact.SCOPE_COMPILE_PLUS_RUNTIME.equals(classpath)) {
                    scopes = Arrays.asList(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @GwtIncompatible // DoubleMath.log2(double, RoundingMode)
      public void testRoundLog2Half() {
        // We don't expect perfect rounding accuracy.
        for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) {
          for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) {
            double x = Math.scalb(Math.sqrt(2) + 0.001, exp);
            double y = Math.scalb(Math.sqrt(2) - 0.001, exp);
            if (exp < 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

        val certificatePinner =
          CertificatePinner.Builder()
            .add("example.com", certB1Sha256Pin)
            .build()
        certificatePinner.check(
          "example.com",
          Arrays.asList(certA1.certificate, certB1.certificate),
        )
      }
    
      @Test
      fun unsuccessfulCheck() {
        val certificatePinner =
          CertificatePinner.Builder()
            .add("example.com", certA1Sha256Pin)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *     ImmutableSetMultimap.<Character, Character>builder()
       *         .putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a'))
       *         .putAll('a', Arrays.asList('p', 'p', 'l', 'e'))
       *         .putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't'))
       *         .putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'))
       *         .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'))
       *         .build();
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top