Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 237 for enterIf (0.1 sec)

  1. 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)
  2. platforms/documentation/docs/src/samples/readme-templates/common-body.adoc.template

    For the other questions, press enter to use the default values.
    
    The output will look like this:
    
    [listing.terminal.sample-command,user-inputs="${componentTypeIndex.raw}|${languageIndex.raw}|1|||"]
    ----
    \$ gradle init
    
    Select type of project to generate:
      1: basic
      2: application
      3: library
      4: Gradle plugin
    Enter selection (default: basic) [1..4] ${componentTypeIndex.raw}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.go

    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine enters a syscall.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 855 bytes
    - Viewed (0)
  4. src/runtime/preempt.go

    // satisfied, it adjusts the signal context to make it look like the
    // signaled thread just called asyncPreempt and resumes the thread.
    // asyncPreempt spills all registers and enters the scheduler.
    //
    // (An alternative would be to preempt in the signal handler itself.
    // This would let the OS save and restore the register state and the
    // runtime would only need to know how to extract potentially
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/SelectOptionPromptEvent.java

                builder.append(i + 1);
                builder.append(": ");
                builder.append(options.get(i));
                builder.append(TextUtil.getPlatformLineSeparator());
            }
            builder.append("Enter selection (default: ");
            builder.append(options.get(defaultOption));
            builder.append(") [1..");
            builder.append(options.size());
            builder.append("] ");
            return builder.toString();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc-bare-m.go

    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine enters a syscall, grabs a P, and starts running.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 999 bytes
    - Viewed (0)
  7. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple.go

    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine enters a syscall.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 988 bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc.go

    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine enters a syscall, grabs a P, and starts running.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/credentials-handling/pass-credentials-to-external-tool-via-stdin/README.adoc

    The output with correct credentials will be:
    =====
    [.sample-command]
    ----
    > Task :login
    Enter userame:
    Enter password:
    Welcome, secret-user!
    
    > Task :doAuthenticated
    doAuthenticated
    
    BUILD SUCCESSFUL in 496ms
    2 actionable tasks: 2 executed
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/cc/ops/while_loop.cc

      if (loop_var_idx > 0) strings::StrAppend(&result, "_", loop_var_idx);
      return result;
    }
    
    // Creates the `loop_var_idx`-th Merge node of a loop being constructed with
    // `scope`. `enter_output` is the `loop_var_idx`-th Enter node's output.
    Status CreateMerge(const Scope& scope, int loop_var_idx,
                       const Output& enter_output, Output* merge_output) {
      // The merge nodes accept the while loop's back edges as an input (i.e. the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top