Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 272 for DecInt (0.12 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ResultsStore.java

        /**
         * Returns the performance experiments known to this store, in display order.
         */
        List<PerformanceExperiment> getPerformanceExperiments();
    
        /**
         * Returns the n most recent instances of the given test which are younger than the max age.
         *
         * This returns all the executions which are either from the channel or in the list of provided teamcity build ids.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/versions/ReleasedVersionDistributionsTest.groovy

            !versions.all.empty
            versions.all*.version == versions.all*.version.sort().reverse()
        }
    
        def "get most recent final does that"() {
            when:
            props.mostRecent = "1.2"
    
            then:
            versions().mostRecentRelease.version == version("1.2")
        }
    
        def "get most recent snapshot does that"() {
            when:
            props.mostRecentSnapshot = "2.5-20150413220018+0000"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. ci/official/utilities/generate_index_html.sh

    </ul>
    <h2>Googlers-Only Links</h2>
    <ul>
    <li><a href="http://sponge2/$KOKORO_BUILD_ID">Sponge2</a></li>
    <li><a href="http://sponge/target:$KOKORO_JOB_NAME">Sponge - recent jobs</a></li>
    <li><a href="http://fusion2/ci/kokoro/prod:$(echo "$KOKORO_JOB_NAME" | sed 's!/!%2F!g')">Test Fusion - recent jobs</a></li>
    <li><a href="http://cs/f:devtools/kokoro/config/prod/$KOKORO_JOB_NAME">Codesearch - job definition</a></li>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 20:26:13 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top