Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 232 for enterIf (0.38 sec)

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

      Output capture_enter_outer = ops::internal::Enter(
          root.WithOpName("capture_enter_outer"), captured, "outer_loop",
          ops::internal::Enter::Attrs().IsConstant(true));
      Output capture_enter_inner = ops::internal::Enter(
          root.WithOpName("capture_enter_inner"), capture_enter_outer, "inner_loop",
          ops::internal::Enter::Attrs().IsConstant(true));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/NonInteractiveUserInputHandlerTest.groovy

                .ask() == 1
        }
    
        def "always returns default for int question"() {
            expect:
            userInputHandler.askIntQuestion('Enter something', 1, 2) == 2
        }
    
        def "always returns default for text question"() {
            expect:
            userInputHandler.askQuestion('Enter something', 'ok') == 'ok'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top