- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 831 for valid (0.04 sec)
-
cmd/httprange.go
// Check if range string contains delimiter '-', else return error. eg. "bytes=8" sepIndex := strings.Index(byteRangeString, "-") if sepIndex == -1 { return nil, fmt.Errorf("'%s' does not have a valid range value", rangeString) } offsetBeginString := byteRangeString[:sepIndex] offsetBegin := int64(-1) // Convert offsetBeginString only if its not empty. if len(offsetBeginString) > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 08:44:07 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/version.go
// contain release numbers ("go1.20.1" is not a valid goVersion). type goVersion string // asGoVersion returns v as a goVersion (e.g., "go1.20.1" becomes "go1.20"). // If v is not a valid Go version, the result is the empty string. func asGoVersion(v string) goVersion { return goVersion(version.Lang(v)) } // isValid reports whether v is a valid Go version. func (v goVersion) isValid() bool { return v != "" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 20:44:57 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/interfaces.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUpgradeIntegrationTest.groovy
and: failure.assertHasDescription("Invalid version specified for argument '--gradle-version'") failure.assertHasCause("'$badVersion' is not a valid Gradle version string (examples: '1.0', '1.0-rc-1')") failure.assertHasResolution("Specify a valid Gradle release listed on https://gradle.org/releases/.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2K bytes - Viewed (0) -
pkg/kubelet/util/util_test.go
expectError: false, }, { description: "valid hostDomain, setHostnameAsFQDN false", hostname: "test.pod.hostname", hostDomain: "svc.subdomain.local", setHostnameAsFQDN: false, expectedHostname: "test.pod.hostname", expectError: false, }, { description: "valid hostDomain, setHostnameAsFQDN true", hostname: "test.pod.hostname",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 14:16:02 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/registry/storage/volumeattributesclass/strategy_test.go
} if Strategy.AllowCreateOnUpdate() { t.Errorf("VolumeAttributesClassStrategy should not allow create on update") } class := &storage.VolumeAttributesClass{ ObjectMeta: metav1.ObjectMeta{ Name: "valid-class", }, DriverName: "fake", Parameters: map[string]string{ "foo": "bar", }, } Strategy.PrepareForCreate(ctx, class) errs := Strategy.Validate(ctx, class) if len(errs) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/DefaultRuleActionAdapterTest.groovy
when: ruleActionAdapter.createFromClosure(String, {List subject -> }) then: def failure = thrown(InvalidUserCodeException) failure.message == "The closure provided is not valid as a rule for 'context'." failure.cause instanceof RuleActionValidationException failure.cause.message == "First parameter of rule action closure must be of type 'String'." }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.7K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial005.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 4.3K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial006.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 4K bytes - Viewed (0) -
internal/auth/credentials_test.go
func TestCreateCredentials(t *testing.T) { testCases := []struct { accessKey string secretKey string valid bool expectedErr error }{ // Valid access and secret keys with minimum length. {alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil}, // Valid access and/or secret keys are longer than minimum length.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Mar 01 21:09:42 UTC 2024 - 5.4K bytes - Viewed (0)