Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 127 for Answers (0.23 sec)

  1. src/database/sql/driver/types_test.go

    	{c: Bool, in: 2, err: "sql/driver: couldn't convert 2 into type bool"},
    	{DefaultParameterConverter, now, now, ""},
    	{DefaultParameterConverter, (*int64)(nil), nil, ""},
    	{DefaultParameterConverter, &answer, answer, ""},
    	{DefaultParameterConverter, &now, now, ""},
    	{DefaultParameterConverter, i(9), int64(9), ""},
    	{DefaultParameterConverter, f(0.1), float64(0.1), ""},
    	{DefaultParameterConverter, b(true), true, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:53:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/util/cmdutil.go

    	scanner.Scan()
    	if err := scanner.Err(); err != nil {
    		return errors.Wrap(err, "couldn't read from standard input")
    	}
    	answer := scanner.Text()
    	if strings.EqualFold(answer, "y") || strings.EqualFold(answer, "yes") {
    		return nil
    	}
    
    	return errors.New("won't proceed; the user didn't answer (Y|y) in order to continue")
    }
    
    // GetClientSet gets a real or fake client depending on whether the user is dry-running or not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/CONTRIBUTING.md

    # Contributing to Go
    
    Go is an open source project.
    
    It is the work of hundreds of contributors. We appreciate your help!
    
    ## Filing issues
    
    When [filing an issue](https://golang.org/issue/new), make sure to answer these
    five questions:
    
    1.  What version of Go are you using (`go version`)?
    2.  What operating system and processor architecture are you using?
    3.  What did you do?
    4.  What did you expect to see?
    5.  What did you see instead?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 913 bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultBuildScanUserInputHandlerTest.groovy

            given:
            def question = 'Accept license?'
    
            when:
            def answer = buildScanUserInputHandler.askYesNoQuestion(question)
    
            then:
            1 * userInputHandler.askUser(_) >> { Function f -> Providers.ofNullable(f.apply(userQuestions)) }
            1 * userQuestions.askYesNoQuestion(question) >> input
            answer == input
    
            where:
            input << [true, false, null]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/UserInputHandler.java

    @ServiceScope(Scope.BuildSession.class)
    public interface UserInputHandler {
        /**
         * Prompts the user with a yes/no question and returns the answer. Requires that the user explicitly type "yes" or "no".
         *
         * @param question The text of the question.
         * @return the answer or {@code null} if not connected to a console.
         */
        @Nullable
        @UsedByScanPlugin
        default Boolean askYesNoQuestion(String question) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

            buildFile << """
                class Oracle extends DefaultTask {
    
                    @Internal final Property<String> answer
    
                    Oracle() {
                        answer = project.objects.property(String)
                        answer.finalizeValueOnRead()
                        answer.set(
                            project.provider {
                                println 'Thinking...'
                                '42'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/cmd/go/alldocs.go

    //
    // The go command will automatically download modules as needed during ordinary
    // execution. The "go mod download" command is useful mainly for pre-filling
    // the local cache or to compute the answers for a Go module proxy.
    //
    // By default, download writes nothing to standard output. It may print progress
    // messages and errors to standard error.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputReaderTest.groovy

                instant.put
                userInputReader.putInput(response)
            }
            instant.read > instant.put
    
            where:
            response << [
                new UserInputReader.TextResponse("answer"),
                UserInputReader.END_OF_INPUT
            ]
        }
    
        def "does not block after end of input received"() {
            given:
            userInputReader.putInput(UserInputReader.END_OF_INPUT)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue8694.go

    	"testing"
    )
    
    func test8694(t *testing.T) {
    	if runtime.GOARCH == "arm" {
    		t.Skip("test8694 is disabled on ARM because 5l cannot handle thumb library.")
    	}
    	// Really just testing that this compiles, but check answer anyway.
    	x := C.complexfloat(2 + 3i)
    	x2 := x * x
    	cx2 := C.complexFloatSquared(x)
    	if cx2 != x2 {
    		t.Errorf("C.complexFloatSquared(%v) = %v, want %v", x, cx2, x2)
    	}
    
    	y := C.complexdouble(2 + 3i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 15:35:35 UTC 2024
    - 984 bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            outputContains("result = b")
        }
    
        def "can answer text question in interactive build [rich console: #richConsole]"() {
            given:
            withRichConsole(richConsole)
    
            when:
            runWithInput("ask", QUESTION_PROMPT, "answer")
    
            then:
            outputContains("result = answer")
    
            where:
            richConsole << VALID_BOOLEAN_CHOICES
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top