Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 109 for cycle (0.07 sec)

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

        // always point to "a".
        assertEquals("a", cycle.iterator().next());
      }
    
      public void testCycle_emptyIterable() {
        FluentIterable<Integer> cycle = FluentIterable.<Integer>of().cycle();
        assertFalse(cycle.iterator().hasNext());
      }
    
      public void testCycle_removingAllElementsStopsCycle() {
        FluentIterable<Integer> cycle = fluent(1, 2).cycle();
        Iterator<Integer> iterator = cycle.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. .teamcity/src/test/kotlin/PromotionProjectTests.kt

                model.buildTypes.map { it.name }
            )
        }
    
        @Test
        fun `promotion project has expected build types for other branches`() {
            val model = setupModelFor("release")
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/promotion/StartReleaseCycle.kt

    object StartReleaseCycle : BasePromotionBuildType(vcsRootId = gradlePromotionMaster) {
        init {
            id("Promotion_StartReleaseCycle")
            name = "Start Release Cycle"
            description = "Promotes a successful build on master as the start of a new release cycle on the release branch"
    
            params {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    	minSleep time.Duration
    
    	// cycle will be closed
    	cycle chan struct{}
    
    	// isScanner should be set when this is used by the scanner
    	// to record metrics.
    	isScanner bool
    }
    
    // newDynamicSleeper
    func newDynamicSleeper(factor float64, maxWait time.Duration, isScanner bool) *dynamicSleeper {
    	return &dynamicSleeper{
    		factor:    factor,
    		cycle:     make(chan struct{}),
    		maxSleep:  maxWait,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

           *
           * Maybe there is a way to avoid this cycle. But we think the cycle is safe enough to ignore:
           * Each task is retained for only as long as it is running -- so it's retained only as long as
           * it would already be retained by the underlying executor.
           *
           * If the cycle test starts reporting this cycle in the future, we should add an entry to
           * cycle_suppress_list.txt.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. doc/README.md

    Release notes should be added to `next` by editing existing files or creating
    new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to
    the CL (or ask the author to do so).
    
    At the end of the development cycle, the files will be merged by being
    concatenated in sorted order by pathname. Files in the directory matching the
    glob "*stdlib/*minor" are treated specially. They should be in subdirectories
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jul 22 17:55:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

        init {
            id("Promotion_AllBranchesStartReleaseCycleTest")
            name = "Start Release Cycle Test"
            description = "Test for Start Release Cycle pipeline"
    
            steps {
                gradleWrapper {
                    name = "PromoteTest"
                    tasks = "clean promoteStartReleaseCycle"
                    useGradleWrapper = true
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat_infiniteIterable() throws IOException {
        CharSource source = CharSource.wrap("abcd");
        Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source));
        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

          @Override
          public Iterator<T> iterator() {
            return Iterators.cycle(iterable);
          }
    
          @Override
          public String toString() {
            return iterable.toString() + " (cycled)";
          }
        };
      }
    
      /**
       * Returns an iterable whose iterators cycle indefinitely over the provided elements.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.cycle;
    import static com.google.common.collect.Iterables.limit;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
Back to top