Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 989 for iterated (0.31 sec)

  1. src/runtime/symtabinl.go

    	parentPc  int32 // position of an instruction whose source position is the call site (offset from entry)
    	startLine int32 // line number of start of function (func keyword/TEXT directive)
    }
    
    // An inlineUnwinder iterates over the stack of inlined calls at a PC by
    // decoding the inline table. The last step of iteration is always the frame of
    // the physical function, so there's always at least one frame.
    //
    // This is typically used as:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/runtime/mpagealloc_32bit.go

    	}
    	// There isn't much. Just map it and mark it as used immediately.
    	sysMap(reservation, totalSize, p.sysStat)
    	sysUsed(reservation, totalSize, totalSize)
    	p.summaryMappedReady += totalSize
    
    	// Iterate over the reservation and cut it up into slices.
    	//
    	// Maintain i as the byte offset from reservation where
    	// the new slice should start.
    	for l, shift := range levelShift {
    		entries := 1 << (heapAddrBits - shift)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/container/ring/example_test.go

    	r := ring.New(5)
    
    	// Get the length of the ring
    	n := r.Len()
    
    	// Initialize the ring with some integer values
    	for i := 0; i < n; i++ {
    		r.Value = i
    		r = r.Next()
    	}
    
    	// Iterate through the ring and print its contents
    	for j := 0; j < n; j++ {
    		fmt.Println(r.Value)
    		r = r.Next()
    	}
    
    	// Output:
    	// 0
    	// 1
    	// 2
    	// 3
    	// 4
    }
    
    func ExampleRing_Prev() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

        try {
          iterator.next();
          fail();
        } catch (NoSuchElementException expected) {
        }
        try {
          iterable.iterator();
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testOf_one() {
        Iterable<String> iterable = MinimalIterable.of("a");
        Iterator<String> iterator = iterable.iterator();
        assertTrue(iterator.hasNext());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/SortedSetElementSourceTest.groovy

            then:
            iterator.hasNext()
            source.iterator().collect() == iterationOrder("foo", "fooz", "fizz", "fuzz")
    
            when:
            source.add("buzz")
            iterator = source.iterator()
            next = iterator.next()
    
            then:
            next == "buzz"
    
            when:
            iterator.remove()
    
            then:
            iterator.hasNext()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:14 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

        return (MinimalIterable) of(elements.toArray());
      }
    
      private @Nullable Iterator<E> iterator;
    
      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/IndexedIterator.java

            assertArgumentNotNull("iterator", iterator);
    
            return () -> new IndexedIterator<>(iterator);
        }
    
        /**
         *
         * インスタンスを構築します。
         *
         * @param iterator
         *            イテレータ。{@literal null}であってはいけません
         */
        public IndexedIterator(final Iterator<T> iterator) {
            assertArgumentNotNull("iterator", iterator);
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

        return (MinimalIterable) of(elements.toArray());
      }
    
      private @Nullable Iterator<E> iterator;
    
      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingCollection.java

        Iterator<E> iterator = iterator();
        while (iterator.hasNext()) {
          if (Objects.equal(iterator.next(), object)) {
            iterator.remove();
            return true;
          }
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator}, using the iterator's
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 8.2K bytes
    - Viewed (0)
Back to top