Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 333 for Indexer (1.11 sec)

  1. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *
     * List<String> list = ...;
     * for (Indexed<String%gt; indexed : indexed(list)) {
     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * <pre>
     * import static org.codelibs.core.collection.IndexedIterator.*;
     * import static org.codelibs.core.io.LineIterator.*;
     *
     * BufferedReader reader = ...;
     * for (Indexed&lt;String%gt; indexed : indexed(iterable(reader))) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/text/template/funcs.go

    // argument must be a string, slice, or array.
    func slice(item reflect.Value, indexes ...reflect.Value) (reflect.Value, error) {
    	item = indirectInterface(item)
    	if !item.IsValid() {
    		return reflect.Value{}, fmt.Errorf("slice of untyped nil")
    	}
    	if len(indexes) > 3 {
    		return reflect.Value{}, fmt.Errorf("too many slice indexes: %d", len(indexes))
    	}
    	var cap int
    	switch item.Kind() {
    	case reflect.String:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/batch/v1/generated.proto

      // completedIndexes holds the completed indexes when .spec.completionMode =
      // "Indexed" in a text format. The indexes are represented as decimal integers
      // separated by commas. The numbers are listed in increasing order. Three or
      // more consecutive numbers are compressed and represented by the first and
      // last element of the series, separated by a hyphen.
      // For example, if the completed indexes are 1, 3, 4, 5 and 7, they are
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. pkg/kubelet/pod/pod_manager.go

    // AddPod, UpdatePod, or RemovePod.
    type basicManager struct {
    	// Protects all internal maps.
    	lock sync.RWMutex
    
    	// Regular pods indexed by UID.
    	podByUID map[kubetypes.ResolvedPodUID]*v1.Pod
    	// Mirror pods indexed by UID.
    	mirrorPodByUID map[kubetypes.MirrorPodUID]*v1.Pod
    
    	// Pods indexed by full name for easy access.
    	podByFullName       map[string]*v1.Pod
    	mirrorPodByFullName map[string]*v1.Pod
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:00 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
            for (final Indexed<String> indexed : indexed(list)) {
                System.out.println(indexed.getIndex());
                System.out.println(indexed.getElement());
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachLineIterator() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. pkg/apis/batch/validation/validation.go

    	"k8s.io/utils/ptr"
    )
    
    // maxParallelismForIndexJob is the maximum parallelism that an Indexed Job
    // is allowed to have. This threshold allows to cap the length of
    // .status.completedIndexes.
    const maxParallelismForIndexedJob = 100000
    
    // maxFailedIndexesForIndexedJob is the maximum number of failed indexes that
    // an Indexed Job is allowed to have. This threshold allows to cap the length of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/ProblemSpec.java

         * @param path the file location
         * @param line the one-indexed line number
         * @return this
         * @since 8.6
         */
        ProblemSpec lineInFileLocation(String path, int line);
    
        /**
         * Declares that this problem is in a file with on a line at a certain position.
         * <p>
         *
         * @param path the file location
         * @param line the one-indexed line number
         * @param column the one-indexed column
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    		size = 1 << uint(t.H)
    	}
    	start := t.N << uint(t.H)
    	indexes := make([]int64, size)
    	for i := 0; i < size; i++ {
    		indexes[i] = StoredHashIndex(t.H*t.L, start+int64(i))
    	}
    
    	hashes, err := r.ReadHashes(indexes)
    	if err != nil {
    		return nil, err
    	}
    	if len(hashes) != len(indexes) {
    		return nil, fmt.Errorf("tlog: ReadHashes(%d indexes) = %d hashes", len(indexes), len(hashes))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Streams.java

       * reported {@link Spliterator#SUBSIZED}. This is generally the case if the underlying stream
       * comes from a data structure supporting efficient indexed random access, typically an array or
       * list.
       *
       * <p>The order of the resulting stream is defined if and only if the order of the original stream
       * was defined.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/LineInFileLocation.java

     * <p>
     * The line and column coordinates are one-indexed so that they can be easily matched to the content of a UI editor interface.
     */
    public interface LineInFileLocation extends FileLocation {
    
        /**
         * The line number within the file.
         * <p>
         * The line is <b>one-indexed</b>, i.e. the first line in the file is line number 1.
         *
         * @return the line number
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top