- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for decSizes (0.19 sec)
-
cmd/encryption-v1_test.go
// for the read. readLen := int64(6)*humanize.MiByte + 1 if lsum(test.decSizes) >= readLen { o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(&HTTPRangeSpec{true, -readLen, -1}) if err != nil { t.Errorf("Case %d: unexpected err: %v", i, err) } oRef, lRef, skipRef, snRef, psRef := decryptedRangeRef(test.decSizes, 0, readLen, true)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Sep 24 04:17:08 UTC 2022 - 19.9K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/switch.go
return s.TooNew != nil && (HasAuto() || HasPath()) } // Switch decides whether to switch to a newer toolchain // to resolve any of the saved errors. // It switches if toolchain switches are permitted and there is at least one TooNewError. // // If Switch decides not to switch toolchains, it prints the errors using base.Error and returns. // // If Switch decides to switch toolchains but cannot identify a toolchain to use.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 7K bytes - Viewed (0) -
test/fixedbugs/issue16760.go
// arguments until those arguments are evaluated and known // not to unconditionally panic. If they unconditionally panic, // we write some args but never do the call. That messes up // the logic which decides how big the argout section needs to be. package main type W interface { Write([]byte) } type F func(W) func foo(f F) { defer func() { if r := recover(); r != nil { usestack(1000)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 22 22:53:51 UTC 2021 - 796 bytes - Viewed (0) -
test/indirect.go
println("crash", len(a1)+cap(a1)) } func nocrash() { // this is spaced funny so that // the compiler will print a different // line number for each len call if // it decides there are type errors. // it might also help in the traceback. x := len(m0) + len(m3) if x != 1 { println("wrong maplen") panic("fail") } x = len(s0) + len(s3) if x != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 07:47:26 UTC 2012 - 1.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/PublicTaskSpecification.java
* limitations under the License. */ package org.gradle.api.internal.tasks; import com.google.common.base.Strings; import org.gradle.api.Task; import org.gradle.api.specs.Spec; /** * Decides whether a {@link org.gradle.api.Task} is a public task or not. */ public final class PublicTaskSpecification implements Spec<Task> { public static final Spec<Task> INSTANCE = new PublicTaskSpecification();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 02 16:56:13 UTC 2016 - 1.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/DependencyInsightOutputNormalizer.groovy
output.replaceAll("(?x)" + "# Captures first half of the table\n" + "(\\s+\\|\\s+org\\.gradle\\.jvm\\.version\\s+\\|\\s+\\|\\s+)" + "# Decides between a single digit + spacing (e.g. '8 '), or two digits (e.g. 17)\n" + "# This is the value being replaced.\n" + "(?:\\d\\s|\\d{2})" + "# Capture the tail end of the table\n" +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/object/matcher.go
"k8s.io/klog/v2" ) type ObjectSelectorProvider interface { // GetObjectSelector gets the webhook ObjectSelector field. GetParsedObjectSelector() (labels.Selector, error) } // Matcher decides if a request selected by the ObjectSelector. type Matcher struct { } func matchObject(obj runtime.Object, selector labels.Selector) bool { if obj == nil { return false } accessor, err := meta.Accessor(obj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 26 00:41:14 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/goaway.go
See the License for the specific language governing permissions and limitations under the License. */ package filters import ( "math/rand" "net/http" "sync" ) // GoawayDecider decides if server should send a GOAWAY type GoawayDecider interface { Goaway(r *http.Request) bool } var ( // randPool used to get a rand.Rand and generate a random number thread-safely,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 28 20:27:28 UTC 2020 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/string_util.h
std::string AttrAsString(mlir::Attribute& attr); // b/281863212 enable automatic without Op/AttrAsString. // We add logging via a wrapper struct in order to respect ODS and avoid // multiple symbol definitions if MLIR or someone else decides to add ostream // definitions for the MLIR symbols. struct LoggableOperation { mlir::Operation& v; // NOLINTNEXTLINE(google-explicit-constructor) LoggableOperation(mlir::Operation& v) : v(v) {} };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 15 19:47:52 UTC 2023 - 2.2K bytes - Viewed (0) -
test/indirect1.go
var b2 *[]int = &b0 var b3 []int = []int{1, 2, 3} var b4 *[]int = &b3 func f() { // this is spaced funny so that // the compiler will print a different // line number for each len call when // it decides there are type errors. x := len(m0)+ len(m1)+ // ERROR "illegal|invalid|must be" len(m2)+ // ERROR "illegal|invalid|must be" len(m3)+ len(m4)+ // ERROR "illegal|invalid|must be" len(s0)+
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 07:47:26 UTC 2012 - 1.5K bytes - Viewed (0)