Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for Cycle (0.04 seconds)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> cycle = Iterators.cycle(iterable);
        assertTrue(cycle.hasNext());
        assertThat(cycle.next()).isEqualTo("a");
        cycle.remove();
        assertEquals(emptyList(), iterable);
        assertFalse(cycle.hasNext());
      }
    
      public void testCycleOfTwo() {
        Iterator<String> cycle = Iterators.cycle("a", "b");
        for (int i = 0; i < 3; i++) {
          assertTrue(cycle.hasNext());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> cycle = Iterators.cycle(iterable);
        assertTrue(cycle.hasNext());
        assertThat(cycle.next()).isEqualTo("a");
        cycle.remove();
        assertEquals(emptyList(), iterable);
        assertFalse(cycle.hasNext());
      }
    
      public void testCycleOfTwo() {
        Iterator<String> cycle = Iterators.cycle("a", "b");
        for (int i = 0; i < 3; i++) {
          assertTrue(cycle.hasNext());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/testdata/riscv64.s

    	SD	X5, 4(X6)				// 23325300
    
    	// 7.1: CSR Instructions
    	CSRRC	X0, CYCLE, X5				// f33200c0
    	CSRRC	X0, CYCLE, X0				// 733000c0
    	CSRRC	X10, CYCLE, X5				// f33205c0
    	CSRRC	$2, TIME, X5				// f37211c0
    	CSRRCI	$2, TIME, X5				// f37211c0
    	CSRRS	X0, CYCLE, X5				// f32200c0
    	CSRRS	X0, CYCLE, X0				// 732000c0
    	CSRRS	X10, CYCLE, X5				// f32205c0
    	CSRRS	$2, TIME, X5				// f36211c0
    	CSRRS	X0, VLENB, X5				// f32220c2
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Apr 04 05:25:40 GMT 2026
    - 74.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterator<T> cycle(T... elements) {
        return cycle(Lists.newArrayList(elements));
      }
    
      /**
       * Returns an Iterator that walks the specified array, nulling out elements behind it. This can
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Iterators.java

       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterator<T> cycle(T... elements) {
        return cycle(Lists.newArrayList(elements));
      }
    
      /**
       * Returns an Iterator that walks the specified array, nulling out elements behind it. This can
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    currentData.setVersion(null);
                    currentData = parentData;
                } else if (!parentIds.add(parentData.getId())) {
                    StringBuilder message = new StringBuilder("The parents form a cycle: ");
                    for (String modelId : parentIds) {
                        message.append(modelId);
                        message.append(" -> ");
                    }
                    message.append(parentData.getId());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                                    logger.debug("Stored exception for step {} to be handled in TEARDOWN phase", step, e);
                                    // Let the scheduler handle after:* phases and TEARDOWN in the next cycle
                                    executePlan();
                                }
                            });
                            return; // Skip the rest of the method since we've handled this step
                        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  8. src/main/webapp/js/bootstrap.min.js

    t=K.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===nt&&this.cycle()}static get Default(){return at}static get DefaultType(){return lt}static get NAME(){return"carousel"}next(){this._slide(Z)}nextWhenVisible(){!document.hidden&&h(this._element)&&this.next()}prev(){this._slide(tt)}pause(){this._isSliding&&a(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),th...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 58.9K bytes
    - Click Count (0)
  9. cmd/iam-store.go

    	// were changes to the in-memory cache we should wait for the next
    	// cycle until we can safely update the in-memory cache.
    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    	// values loaded from disk are not stale. They might be stale if the
    	// cached.updatedAt is more recent than the refresh cycle began.
    	if cache.updatedAt.Before(loadedAt) || firstTime {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/bootstrap.min.js

    ()},e.prev=function(){this._isSliding||this._slide(D)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(d.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityS...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 61.1K bytes
    - Click Count (0)
Back to Top