Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,745 for sublist (0.2 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExpectedDeprecationWarning.java

         */
        public boolean matchesNextLines(List<String> lines, int startIndex) {
            String nextLines = numLines == 1
                ? lines.get(startIndex)
                : String.join("\n", lines.subList(startIndex, Math.min(startIndex + numLines, lines.size())));
            return matchesNextLines(nextLines);
        }
    
        protected abstract boolean matchesNextLines(String nextLines);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt

                        yieldIfNotNull(element as? KtClassLikeDeclaration)
                        continue
                    }
    
                    if (element is KtDeclarationContainer) {
                        val newChunks = chunks.subList(1, chunks.size)
                        for (child in element.declarations) {
                            tasks.addLast(Task(newChunks, child))
                        }
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Bytes.java

          byte oldValue = array[start + index];
          // checkNotNull for GWT (do not optimize)
          array[start + index] = checkNotNull(element);
          return oldValue;
        }
    
        @Override
        public List<Byte> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
          @Override
          <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
            return entries.subList(targetEntry, entries.size());
          }
    
          @Override
          <E> SortedMultiset<E> subMultiset(
              SortedMultiset<E> multiset, List<Entry<E>> entries, int targetEntry) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            while (prefixLen < maxDepth && basePath.get(prefixLen).equals(targetPath.get(prefixLen))) {
                prefixLen++;
            }
            basePath = basePath.subList(prefixLen, basePath.size());
            targetPath = targetPath.subList(prefixLen, targetPath.size());
    
            for (int i = 0; i < basePath.size(); i++) {
                targetPath.add(0, "..");
            }
            if (targetPath.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        byte[] array = {(byte) 0, (byte) 1, (byte) 2, (byte) 3};
        List<Byte> list = Bytes.asList(array);
        assertThat(Bytes.toArray(list.subList(1, 3))).isEqualTo(new byte[] {(byte) 1, (byte) 2});
        assertThat(Bytes.toArray(list.subList(2, 2))).isEqualTo(new byte[] {});
      }
    
      public void testAsListEmpty() {
        assertThat(Bytes.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        return entries;
      }
    
      private void expectFirstRemoved(Entry<K, V>[] entries) {
        resetMap(entries);
    
        List<Entry<K, V>> expectedWithDuplicateRemoved =
            Arrays.asList(entries).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/VirtualPlatformState.java

                if (selected != null) {
                    sorted.add(selected.getVersion());
                }
            }
            sorted.sort(vC);
            if (forcedVersion != null) {
                return sorted.subList(sorted.indexOf(forcedVersion), sorted.size());
            } else {
                return sorted;
            }
        }
    
        Set<ModuleResolveState> getParticipatingModules() {
            return participatingModules;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = Lists.newArrayList(elementsInSet);
          Collections.shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
          if (!elementsInSet.contains(candidate)) {
            queryList.add(candidate);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/collections/FilteredIndexedElementSource.java

            ListIterator<S> iterator = listIterator();
            for (int i = 0; i < index; i++) {
                iterator.next();
            }
            return iterator;
        }
    
        @Override
        public List<S> subList(int fromIndex, int toIndex) {
            throw new UnsupportedOperationException("Not implemented yet.");
        }
    
        private static class FilteredListIterator<T> implements ListIterator<T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 11 01:28:48 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top