- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 250 for maxarg (0.27 sec)
-
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
* will not be used and a network request will be made. * * @param maxAge a non-negative duration. This is stored and transmitted with [TimeUnit.SECONDS] * precision; finer precision will be lost. */ fun maxAge(maxAge: Duration) = apply { val maxAgeSeconds = maxAge.inWholeSeconds
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 10K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 15.3K bytes - Viewed (0) -
src/math/big/sqrt_test.go
diff := new(Float).Sub(sq, x) err := diff.Abs(diff).SetPrec(prec) // maxErr = 2**(-p+1)*√x one := new(Float).SetPrec(prec).SetInt64(1) maxErr := new(Float).Mul(new(Float).SetMantExp(one, -int(prec)+1), got) if err.Cmp(maxErr) >= 0 { t.Errorf("prec = %d, Sqrt(%v) =\ngot err %g;\nwant maxErr %g", prec, test.x, err, maxErr) } } } } func TestFloatSqrtSpecial(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 4.8K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt
fun Project.execAndGetStdout(workingDir: File, ignoreExitValue: Boolean, vararg args: String): String { val out = ByteArrayOutputStream() exec { isIgnoreExitValue = ignoreExitValue commandLine(*args) standardOutput = out this.workingDir = workingDir } return out.toString().trim() } fun Project.execAndGetStdoutIgnoringError(vararg args: String) = execAndGetStdout(File("."), true, *args)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 933 bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
} if nd.RawArg == "-args" || nd.RawArg == "--args" { // -args or --args signals that everything that follows // should be passed to the test. explicitArgs = append(explicitArgs, remainingArgs...) break } if firstUnknownFlag == "" { firstUnknownFlag = nd.RawArg } explicitArgs = append(explicitArgs, nd.RawArg) args = remainingArgs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/CodeGeneratingSignatureTreeVisitor.java
result.beginControlFlow("if (invocation.getArgsCount() > $L)", paramIndex); result.addStatement("Object arg$1L = invocation.getArgument($1L)", paramIndex); } // Visit non-vararg invocations first and varargs after: children.forEach((entry, child) -> { if (entry.kind != VARARG) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 8.9K bytes - Viewed (0) -
analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/varargComplexParameter.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jan 12 10:48:21 UTC 2023 - 146 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt
} } @Test fun `maps Groovy named arguments to Kotlin vararg of Pair`() { apiKotlinExtensionsGenerationFor(GroovyNamedArguments::class, Consumer::class) { assertGeneratedExtensions( """ inline fun org.gradle.kotlin.dsl.fixtures.codegen.GroovyNamedArguments.`rawMap`(vararg `args`: Pair<String, Any?>): Unit = `rawMap`(mapOf(*`args`))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 12 16:16:08 UTC 2023 - 22.3K bytes - Viewed (0) -
src/cmd/go/internal/cmdflag/flag.go
} // A NonFlagError indicates an argument that is not a syntactically-valid flag. type NonFlagError struct { RawArg string } func (e NonFlagError) Error() string { return fmt.Sprintf("not a flag: %q", e.RawArg) } // ParseOne sees if args[0] is present in the given flag set and if so, // sets its value and returns the flag along with the remaining (unused) arguments. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 02:38:04 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/go/internal/fix/fix.go
} else if pkg.Standard { goVersion = build.Default.ReleaseTags[len(build.Default.ReleaseTags)-1] } var fixArg []string if *fixes != "" { fixArg = []string{"-r=" + *fixes} } base.Run(str.StringList(cfg.BuildToolexec, base.Tool("fix"), "-go="+goVersion, fixArg, files)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:52:29 UTC 2022 - 2.2K bytes - Viewed (0)