Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 315 for DecInt (0.11 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/go/testdata/script/mod_get_pseudo_prefix.txt

    [short] skip
    [!git] skip
    
    # For this test repository go.mod resides in sub/ (only):
    #  master is not tagged
    #  tag v0.2.0 is most recent tag before master
    #  tag sub/v0.0.10 is most recent tag before v0.2.0
    #
    # The pseudo-version is based on sub/v0.0.10, since v0.2.0 doesn't
    # contain the prefix.
    go get vcs-test.golang.org/git/prefixtagtests.git/sub
    go list -m all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceTestHistory.java

            return getExperiment().getDisplayName();
        }
    
        PerformanceExperiment getExperiment();
    
        /**
         * The results of all executions of this performance test, ordered from most recent to least recent.
         */
        List<? extends PerformanceTestExecution> getExecutions();
    
        /**
         * Returns the number of scenarios for this performance test.
         */
        int getScenarioCount();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/cli/TaskOptionsSpec.groovy

            then:
            succeeds "--", "mytask", "--profile", "myvalue"
            output.contains "profile=myvalue"
            !output.contains("See the profiling report at")
        }
    
        def "task options apply to most recent task"() {
            when:
            buildScript """
                ${defineTaskWithProfileOption()}
    
                tasks.register('mytaskA', MyTask.class)
                tasks.register('mytaskB', MyTask.class)
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top