Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for enterIf (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

     * @since 4.0.0
     */
    @Experimental
    public interface Prompter extends Service {
        /**
         * Prompts the user for a string.
         *
         * @param message the message to display to the user
         * @return the string entered by the user
         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        default String prompt(@Nullable String message) throws PrompterException {
            return prompt(message, null, null);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/running-builds/additional/continuous_builds.adoc

    This isn't unique to continuous build.
    A task that modifies its own inputs will never be considered up-to-date when run "normally" without continuous build.
    
    If your build enters a build cycle like this, you can track down the task by looking at the list of files reported changed by Gradle.
    After identifying the file(s) that are changed during each build, you should look for a task that has that file as an input.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. internal/net/net.go

    func GetInterfaceNetStats(interf string) (procfs.NetDevLine, error) {
    	proc, err := procfs.Self()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	netDev, err := proc.NetDev()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	ndl, ok := netDev[interf]
    	if !ok {
    		return procfs.NetDevLine{}, fmt.Errorf("%v interface not found", interf)
    	}
    	return ndl, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 17 08:14:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/RelativePathTrackerTest.groovy

            name == "first"
            tracker.root
            tracker.segments.empty
            tracker.toRelativePath() == ""
        }
    
        def "can enter and leave second level"() {
            given:
            tracker.enter("root")
            tracker.enter("first")
            when:
            tracker.enter("second")
            then:
            !tracker.root
            tracker.segments as List == ["first", "second"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_download_private_vcs.txt

    env HOME=$WORK${/}home${/}gopher
    exec git config --global --show-origin user.name
    stdout 'Go Gopher'
    
    ! go mod download github.com/golang/nonexist@latest
    stderr 'Confirm the import path was entered correctly.'
    stderr 'If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.'
    ! stdout .
    
    # Fetching a nonexistent commit should return an "unknown revision"
    # error message.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/credentials-handling/pass-credentials-to-external-tool-via-stdin/tests/commandLineCredentials.out

    Enter username:
    Enter password:
    Welcome, secret-user!
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 79 bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/StartReleaseCycle.kt

            params {
                text("gitUserEmail", "", label = "Git user.email Configuration", description = "Enter the git 'user.email' configuration to commit change under", display = ParameterDisplay.PROMPT, allowEmpty = true)
                text("confirmationCode", "", label = "Confirmation Code", description = "Enter the value 'startCycle' (no quotes) to confirm the promotion", display = ParameterDisplay.PROMPT, allowEmpty = false)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/credentials-handling/pass-credentials-to-external-tool-via-stdin/common/login.sh

    #!/bin/bash
    
    echo Enter username:
    read username
    echo Enter password:
    if [ -t 0 ] ; then # if connected to a terminal, do not echo the password input
        stty -echo
        read password
        stty echo
        echo
    else
        read password
    fi
    
    if [ "$username" = "secret-user" ] && [ "$password" = "secret-password" ] ; then
        echo "Welcome, $username!"
    else
        echo "Bad credentials!"
        exit 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 391 bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RelativePathTracker.java

    public class RelativePathTracker implements RelativePathSupplier {
        private final Deque<String> segments = new ArrayDeque<>();
        private String rootName;
    
        public void enter(FileSystemLocationSnapshot snapshot) {
            enter(snapshot.getName());
        }
    
        public void enter(String name) {
            if (rootName == null) {
                rootName = name;
            } else {
                segments.addLast(name);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/continuous/ContinuousIntegrationTestFixtureTest.groovy

    :sometask
    
    BUILD SUCCESSFUL in 1s
    
    Waiting for changes to input files... (ctrl-d then enter to exit)
    new file: /some/new/file.txt
    Change detected, executing build...
    :sometask
    
    BUILD SUCCESSFUL in 1s
    
    Waiting for changes to input files... (ctrl-d then enter to exit)
    '''
            when:
            sampleTest.succeeds("sometask")
            then:
            def results = sampleTest.results
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top