- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 913 for parse (0.58 sec)
-
utils/utils_test.go
func TestIsInvalidDBNameChar(t *testing.T) { for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} { if fields := strings.FieldsFunc(db, IsInvalidDBNameChar); len(fields) != 1 { t.Fatalf("failed to parse db name %v", db) } } } func TestCheckTruth(t *testing.T) { checkTruthTests := []struct { v string out bool }{ {"123", true}, {"true", true}, {"", false}, {"false", false},
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 4.9K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
type ResyncTargetDecision struct { Replicate bool ResetID string ResetBeforeDate time.Time } var errInvalidReplicateDecisionFormat = fmt.Errorf("ReplicateDecision has invalid format") // parse k-v pairs of target ARN to stringified ReplicateTargetDecision delimited by ',' into a // ReplicateDecision struct func parseReplicateDecision(ctx context.Context, bucket, s string) (r ReplicateDecision, err error) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 26.1K bytes - Viewed (0) -
internal/crypto/sse-s3.go
if err != nil || len(encryptedKey) != 64 { return keyID, kmsKey, sealedKey, Errorf("The internal sealed key for SSE-S3 is invalid") } if idPresent && kmsKeyPresent { // We are using a KMS -> parse the sealed KMS data key. kmsKey, err = base64.StdEncoding.DecodeString(b64KMSSealedKey) if err != nil { return keyID, kmsKey, sealedKey, Errorf("The internal sealed KMS data key for SSE-S3 is invalid") } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
*/ @get:JvmName("cacheControl") val cacheControl: CacheControl get() { var result = lazyCacheControl if (result == null) { result = CacheControl.parse(headers) lazyCacheControl = result } return result } @JvmName("-deprecated_url") @Deprecated( message = "moved to val",Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 14.7K bytes - Viewed (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
throws VersionResolverException; /** * Parses the specified version string, for example "1.0". * <p> * Shortcut for {@code getService(VersionParser.class).parseVersion(...)}. * * @param version the version string to parse * @return the version parsed from the given string * @throws org.apache.maven.api.services.VersionParserException if the parsing failedRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
return err } // While AWS documentation mentions that the date specified // must be present in ISO 8601 format, in reality they allow // users to provide RFC 3339 compliant dates. expDate, err := time.Parse(time.RFC3339, dateStr) if err != nil { return errLifecycleInvalidDate } // Allow only date timestamp specifying midnight GMT hr, m, sec := expDate.Clock() nsec := expDate.Nanosecond() loc := expDate.Location()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
checkFromStringCase("google.com:25\t", 1, null, 99, false); checkFromStringCase("google.com:0x25 ", 1, null, 99, false); } public void testFromStringUnparseableNonsense() { // Some nonsense that causes parse failures. checkFromStringCase("[goo.gl]", 1, null, 99, false); checkFromStringCase("[goo.gl]:80", 1, null, 99, false); checkFromStringCase("[", 1, null, 99, false); checkFromStringCase("[]:", 1, null, 99, false);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
checkFromStringCase("google.com:25\t", 1, null, 99, false); checkFromStringCase("google.com:0x25 ", 1, null, 99, false); } public void testFromStringUnparseableNonsense() { // Some nonsense that causes parse failures. checkFromStringCase("[goo.gl]", 1, null, 99, false); checkFromStringCase("[goo.gl]:80", 1, null, 99, false); checkFromStringCase("[", 1, null, 99, false); checkFromStringCase("[]:", 1, null, 99, false);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 9.5K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
} if !bytes.Equal(tmp[:], []byte{'\n', '\r', '\n'}) { if cr.debug { fmt.Printf("got %q, want %q\n", string(tmp[:]), "\n\r\n") } return errMalformedEncoding } break } // Parse trailers. wantTrailers := make(map[string]struct{}, len(cr.trailers)) for k := range cr.trailers { wantTrailers[strings.ToLower(k)] = struct{}{} } input := bufio.NewScanner(bytes.NewReader(valueBuffer.Bytes()))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
ci/official/utilities/setup.sh
set -exo pipefail -o history -o allexport # Set TFCI_GIT_DIR, the root directory for all commands, to two directories # above the location of this file (setup.sh). We could also use "git rev-parse # --show-toplevel", but that wouldn't work for non-git repos (like if someone # downloaded TF as a zip archive). export TFCI_GIT_DIR=$(cd $(dirname "$0"); realpath ../../) cd "$TFCI_GIT_DIR"
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 6.2K bytes - Viewed (0)