Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 127 for Answers (0.1 sec)

  1. src/time/time.go

    			d1 >>= 1
    		}
    		r = Duration(u0)
    	}
    
    	if neg && r != 0 {
    		// If input was negative and not an exact multiple of d, we computed q, r such that
    		//	q*d + r = -t
    		// But the right answers are given by -(q-1), d-r:
    		//	q*d + r = -t
    		//	-q*d - r = t
    		//	-(q-1)*d + (d - r) = t
    		qmod2 ^= 1
    		r = d - r
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modget/get.go

    				return pathSet{}, true, m, true
    			}
    			// A main module can only be set to its own version.
    			continue
    		}
    
    		vr, ok := r.resolvedVersion[m.Path]
    		if !ok {
    			// m is a viable answer to the query, but other answers may also
    			// still be viable.
    			filtered.pkgMods = append(filtered.pkgMods, m)
    			continue
    		}
    
    		if vr.version != m.Version {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/UserQuestions.java

         * Asks the user 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
        Boolean askYesNoQuestion(String question);
    
        /**
         * Asks the user a question that has a boolean result and returns the answer.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. pkg/dns/client/dns_test.go

    			answer.SetReply(msg)
    			answer.Rcode = dns.RcodeSuccess
    			if err := resp.WriteMsg(&answer); err != nil {
    				t.Fatalf("err: %s", err)
    			}
    		})
    	}
    	mux.HandleFunc("giant.", func(resp dns.ResponseWriter, msg *dns.Msg) {
    		answer := &dns.Msg{
    			Answer: giantResponse,
    		}
    		answer.SetReply(msg)
    		answer.Rcode = dns.RcodeSuccess
    		if err := resp.WriteMsg(answer); err != nil {
    			t.Fatalf("err: %s", err)
    		}
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProjectLayoutIntegrationTest.groovy

                }
            """
    
            when:
            configurationCacheRun 'answer'
    
            then:
            '42' == file('build/dir/answer.txt').text
            outputContains '42'
    
            where:
            desc   | provider
            'dir'  | 'dir(computedDirName).map { it.file("answer.txt") }'
            'file' | 'file(computedDirName.map { "$it/answer.txt" })'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateNonConst.txt

    expression: "The answer to ${QUESTION} is ${ANSWER}. The question is: ${QUESTION_MEANING}"
    constant: NOT_EVALUATED
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 148 bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildScanUserInputFixture.groovy

            """
                apply plugin: BuildScanPlugin
    
                task $DUMMY_TASK_NAME
            """
        }
    
        static String answerOutput(Boolean answer) {
            "$ANSWER_PREFIX $answer"
        }
    
        static void writeToStdInAndClose(GradleHandle gradleHandle, byte[] input) {
            gradleHandle.stdinPipe.write(input)
            writeLineSeparatorToStdInAndClose(gradleHandle)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.txt

    expression: "The answer to ${QUESTION} is ${ANSWER}."
    constant: "The answer to the ultimate question of life, the universe, and everything is 42."
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 173 bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

            val remoteScript = """
    
                apply(from = "./gradle/answer.gradle.kts")
    
            """
    
            withFile(
                "gradle/answer.gradle.kts",
                """
    
                val answer by extra { "42" }
    
                """
            )
    
            MockWebServer().use { server ->
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

            classFile.isFile()
            new ZipTestFixture(jarFile).with {
                hasDescendants("META-INF/MANIFEST.MF", "Thing.class", "answer.txt", "META-INF/some.Service")
                assertFileContent("answer.txt", "42")
            }
    
            when:
            file("src/main/resources/answer.txt").text = "forty-two"
            configurationCacheRun "build"
    
            then:
            assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top