Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 90 for enter_0 (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/jit/node_matchers_test.cc

    TEST(NodeMatchers, Attrs) {
      Scope root = Scope::NewRootScope().ExitOnError();
      Output enter = ops::internal::Enter(
          root.WithOpName("enter"),
          ops::Placeholder(root.WithOpName("data"), DT_FLOAT), "frame_name",
          ops::internal::Enter::Attrs{}.IsConstant(true));
      EXPECT_THAT(enter.node(), NodeWith(Attr("is_constant", true)));
      EXPECT_EQ(Explain(enter.node(), NodeWith(Attr("is_constant", false))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

                    description = "Enter the git 'user.email' configuration to commit change under",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = true
                )
                text(
                    "confirmationCode",
                    "",
                    label = "Confirmation Code",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/IntQuestionPromptEventTest.groovy

    import spock.lang.Specification
    
    class IntQuestionPromptEventTest extends Specification {
        def "formats prompt"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
            assert event.prompt == "enter value (min: 2, default: 4): "
        }
    
        def "accepts valid input"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
    
            expect:
            def result = event.convert(input)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/cluster_scoping_pass.cc

      const string unique_suffix = absl::StrCat("_", GetUniqueScopeId());
    
      std::vector<Node*> starts;
      starts.push_back(start);
      auto enter = [&](Node* n) { AddOrAppendXlaInternalScope(n, unique_suffix); };
      ReverseDFSFrom(*graph_, starts, enter, /*leave=*/nullptr,
                     /*stable_comparator=*/NodeComparatorName());
    }
    
    void ClusterScopingPassImpl::AddScopeToAllTransitiveSuccessors(Node* start) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

        @Test
        void testNestedEnter() throws Exception {
            MojoExecutionScope scope = new MojoExecutionScope();
    
            scope.enter();
    
            Object o1 = new Object();
            scope.seed(Object.class, o1);
            assertSame(o1, scope.scope(Key.get(Object.class), null).get());
    
            scope.enter();
            Object o2 = new Object();
            scope.seed(Object.class, o2);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/SelectOptionPromptEventTest.groovy

            def event = new SelectOptionPromptEvent(123, "question", ["11", "12", "13"], 1)
    
            assert event.prompt == TextUtil.toPlatformLineSeparators("""question:
      1: 11
      2: 12
      3: 13
    Enter selection (default: 12) [1..3] """)
        }
    
        def "accepts valid input"() {
            def event = new SelectOptionPromptEvent(123, "question", ["1", "2", "3", "4"], 1)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/IntQuestionPromptEvent.java

                    return PromptResult.response(result);
                }
                return PromptResult.newPrompt("Please enter an integer value >= " + minValue + " (default: " + defaultValue + "): ");
            } catch (NumberFormatException e) {
                return PromptResult.newPrompt("Please enter an integer value (min: " + minValue + ", default: " + defaultValue + "): ");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top