Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 829 for element1 (0.11 sec)

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

            return false;
          }
          int i = parent.start;
          // Since `that` is very likely RandomAccess we could avoid allocating this iterator...
          for (Object element : that) {
            if (!(element instanceof Long) || parent.array[i++] != (Long) element) {
              return false;
            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

            return false;
          }
          int i = parent.start;
          // Since `that` is very likely RandomAccess we could avoid allocating this iterator...
          for (Object element : that) {
            if (!(element instanceof Integer) || parent.array[i++] != (Integer) element) {
              return false;
            }
          }
          return true;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/mdo/maven.mdo

              <name>licenses</name>
              <version>3.0.0+</version>
              <description>
                <![CDATA[
                This element describes all the licenses for this project.
                Each license is described by a {@code license} element, which
                is then described by additional elements.
                Projects should only list the license(s) that applies to the project
                and not the licenses that apply to dependencies.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      @JvmStatic val isGraalVmImage = System.getProperty("org.graalvm.nativeimage.imagecode") != null
    
      @JvmStatic
      fun headerEntries(vararg elements: String?): List<Header> {
        return List(elements.size / 2) { Header(elements[it * 2]!!, elements[it * 2 + 1]!!) }
      }
    
      @JvmStatic
      fun repeat(
        c: Char,
        count: Int,
      ): String {
        val array = CharArray(count)
        Arrays.fill(array, c)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      List<E> create(Object... elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

            iterator.remove();
            fail("Remove on unmodifiable iterator succeeded");
          } catch (UnsupportedOperationException expected) {
          }
        }
      }
    
      /**
       * Asserts that two iterators contain elements in tandem.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorsInOrder(
          Iterator<?> expectedIterator, Iterator<?> actualIterator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      protected Set<String> create(String[] elements) {
                        checkArgument(elements.length == 3);
                        // Put the sets in different orders for the hell of it
                        return Sets.union(
                            Sets.newLinkedHashSet(asList(elements)),
                            Sets.newLinkedHashSet(asList(elements[1], elements[0], elements[2])));
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

     *          ComponentConfigurator implementation to be used.
     *          <br>
     *          <i>NOTE: This will only be used in very special cases, using a highly controlled vocabulary of possible
     *          values. (Elements like this are why it's a good idea to use the descriptor tools.)</i>
     *      </td>
     *   </tr>
     *   <tr>
     *      <td>phase</td>
     *      <td>defaultPhase = LifecyclePhase.&lt;phase&gt;</td>
     *      <td>No</td>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

     *
     * @author Kevin Bourrillion
     */
    public class PowerSetBenchmark {
      @Param({"2", "4", "8", "16"})
      int elements;
    
      Set<Set<Integer>> powerSet;
    
      @BeforeExperiment
      void setUp() {
        Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers());
        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestEnumSetGenerator() {
                  @Override
                  public Set<AnEnum> create(AnEnum[] elements) {
                    return (elements.length == 0)
                        ? EnumSet.noneOf(AnEnum.class)
                        : EnumSet.copyOf(MinimalCollection.of(elements));
                  }
                })
            .named("EnumSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top