Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for DecInt (0.1 sec)

  1. src/internal/gover/gover.go

    	}
    	if len(x) > len(y) {
    		return +1
    	}
    	if x < y {
    		return -1
    	} else {
    		return +1
    	}
    }
    
    // DecInt returns the decimal string decremented by 1, or the empty string
    // if the decimal is all zeroes.
    // (Copied from golang.org/x/mod/module's decDecimal.)
    func DecInt(decimal string) string {
    	// Scan right to left turning 0s to 9s until you find a digit to decrement.
    	digits := []byte(decimal)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/gover/gover.go

    //
    // Examples:
    //
    //	Prev("1.2") = "1.1"
    //	Prev("1.3rc4") = "1.2"
    func Prev(x string) string {
    	v := gover.Parse(x)
    	if gover.CmpInt(v.Minor, "1") <= 0 {
    		return v.Major
    	}
    	return v.Major + "." + gover.DecInt(v.Minor)
    }
    
    // IsValid reports whether the version x is valid.
    func IsValid(x string) bool {
    	return gover.IsValid(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. .github/renovate.json

        },
        {
          "matchPackageNames": ["gradle"],
          "allowedVersions": "<8.0",
          "description": "Recent release, not compatible with pinned AGP and Kotlin versions yet. Wait for AGP 8?"
        },
        {
          "matchPackageNames": ["com.android.tools.build:gradle"],
          "allowedVersions": "<7.4",
          "description": "Recent release, no compatible Intellij stable release (2023.1)"
        }
      ]
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 18 14:22:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/PeekingIterator.java

      /**
       * {@inheritDoc}
       *
       * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred
       * since the most recent call to {@link #next()}.
       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
      @Override
      void remove();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/ConcurrentGroupingQueue.kt

        /**
         * Returns the next group of elements after removing them from the queue.
         *
         * The group contains the most recently pushed element plus all
         * elements superseded by it ordered from most recent to least recent.
         */
        fun nextGroup(timeoutMillis: Long = pollTimeoutMillis): List<T> {
            lock.withLock {
                if (q.isNotEmpty()) {
                    return takeNextGroup()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/PeekingIterator.java

      /**
       * {@inheritDoc}
       *
       * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred
       * since the most recent call to {@link #next()}.
       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
      @Override
      void remove();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionPerformanceTestHistory.java

            }
            return knownVersions;
        }
    
        /**
         * Returns results from most recent to least recent.
         */
        public List<CrossVersionPerformanceResults> getResults() {
            return newestFirst;
        }
    
        /**
         * Returns results from least recent to most recent.
         */
        public List<CrossVersionPerformanceResults> getResultsOldestFirst() {
            if (oldestFirst == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy

            failure.assertHasDescription("Problem configuring task :other:someTask from command line.")
            failure.assertHasCause("Unknown command-line option '--first'.")
        }
    
        def "using an unknown option yields decent error message"() {
            given:
            buildFile << """
                task foo
                task someTask(type: SomeTask)
                task someTask2(type: SomeTask)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/bucket/lifecycle/README.md

    ```
    
    ### 3.2 Automatic removal of noncurrent versions keeping only most recent ones after noncurrent days
    
    It is possible to configure automatic removal of older noncurrent versions keeping only the most recent `N` using `NewerNoncurrentVersions`.
    
    e.g, To remove noncurrent versions of all objects keeping the most recent 5 noncurrent versions under the prefix `user-uploads/` 30 days after they become noncurrent ,
    
    ```
    {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Aug 26 07:33:25 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. pkg/volume/flexvolume/fake_watcher.go

    	utilfs "k8s.io/kubernetes/pkg/util/filesystem"
    )
    
    // Mock filesystem watcher
    type fakeWatcher struct {
    	watches      []string // List of watches added by the prober, ordered from least recent to most recent.
    	eventHandler utilfs.FSEventHandler
    }
    
    var _ utilfs.FSWatcher = &fakeWatcher{}
    
    func newFakeWatcher() *fakeWatcher {
    	return &fakeWatcher{
    		watches: nil,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 20 17:33:45 UTC 2018
    - 1.4K bytes
    - Viewed (0)
Back to top