Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,745 for sublist (0.14 sec)

  1. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/registry/ModelMapBasedRule.java

            this.inputs = calculateInputs(
                    baseType,
                    ruleDefinition.getReferences().subList(1, ruleDefinition.getReferences().size()),
                    Arrays.asList(additionalInputs)
            );
            this.baseTypeParameterIndex = 1 + Iterables.indexOf(ruleDefinition.getReferences().subList(1, ruleDefinition.getReferences().size()), new Predicate<ModelReference<?>>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingList.java

      @Override
      @ParametricNullness
      public E set(int index, @ParametricNullness E element) {
        return delegate().set(index, element);
      }
    
      @Override
      public List<E> subList(int fromIndex, int toIndex) {
        return delegate().subList(fromIndex, toIndex);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedAsList.java

        return indexOf(target) >= 0;
      }
    
      @GwtIncompatible // super.subListUnchecked does not exist; inherited subList is valid if slow
      /*
       * TODO(cpovirk): if we start to override indexOf/lastIndexOf under GWT, we'll want some way to
       * override subList to return an ImmutableSortedAsList for better performance. Right now, I'm not
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            } ?: throw IllegalStateException("Can't find the contributors section end in the release notes $releaseNotes.")
            return Triple(releaseNotesLines.subList(0, contributorSectionBeginIndex), releaseNotesLines.subList(contributorSectionBeginIndex, contributorSectionEndIndex), releaseNotesLines.subList(contributorSectionEndIndex, releaseNotesLines.size))
        }
    
        @Internal
        protected
        fun getContributorsFromPullRequests(): Set<GitHubUser> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 16 05:03:11 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

        return delegateList().lastIndexOf(object);
      }
    
      public E get(int index) {
        return delegateList().get(index);
      }
    
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        return unsafeDelegateList(delegateList().subList(fromIndex, toIndex));
      }
    
      @Override
      public Object[] toArray() {
        // Note that ArrayList.toArray() doesn't work here because it returns E[]
        // instead of Object[].
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. build-logic/profiling/src/main/kotlin/gradlebuild/jmh/tasks/JmhHTMLReport.kt

                    first = false
                } else {
                    val tokens = line.replace("\"", "").split(",")
    
                    val (benchmark, _, _, _, score) = tokens.subList(0, 5)
                    val (_, _, accessor) = tokens.subList(5, tokens.size)
                    val name = benchToScenarioName(benchmark)
                    val benchmarksValue = benchmarks.getValue(name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

              if (keys.get(i) < keys.get(minIndex)) {
                minIndex = i;
              }
            }
            Optional<BinaryNode> leftChild = createTreap(keys.subList(0, minIndex));
            Optional<BinaryNode> rightChild = createTreap(keys.subList(minIndex + 1, keys.size()));
            return Optional.of(new BinaryNode(keys.get(minIndex), leftChild, rightChild));
          }
        };
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 26 19:18:53 UTC 2019
    - 4.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

        }
      }
    
      /**
       * Called by the default implementation of {@link #subList} when {@code toIndex - fromIndex > 1},
       * after index validation has already been performed.
       */
      ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) {
        return new SubList(fromIndex, toIndex - fromIndex);
      }
    
      class SubList extends ImmutableList<E> {
        final transient int offset;
        final transient int length;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
        for (int i = 0; i < entries.size(); i++) {
          assertEqualInOrder(
              entries.subList(0, i), navigableMap.headMap(entries.get(i).getKey()).entrySet());
        }
      }
    
      public void testTailMap() {
        List<Entry<K, V>> entries =
            Helpers.copyToList(
                getSubjectGenerator()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Lists.java

       * lists are sublist views of the original list, produced on demand using {@link List#subList(int,
       * int)}, and are subject to all the usual caveats about modification as explained in that API.
       *
       * @param list the list to return consecutive sublists of
       * @param size the desired size of each sublist (the last may be smaller)
       * @return a list of consecutive sublists
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.9K bytes
    - Viewed (0)
Back to top