- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 552 for Appendf (0.05 seconds)
-
cmd/erasure-metadata-utils_test.go
// Test for reduceErrs, reduceErr reduces collection // of errors into a single maximal error with in the list. func TestReduceErrs(t *testing.T) { canceledErrs := make([]error, 0, 5) for i := range 5 { canceledErrs = append(canceledErrs, fmt.Errorf("error %d: %w", i, context.Canceled)) } // List all of all test cases to validate various cases of reduce errors. testCases := []struct { errs []error ignoredErrs []error
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
scripts/contributors.py
pr_nodes: list[PullRequestNode] = [] pr_edges = get_graphql_pr_edges(settings=settings) while pr_edges: for edge in pr_edges: pr_nodes.append(edge.node) last_edge = pr_edges[-1] pr_edges = get_graphql_pr_edges(settings=settings, after=last_edge.cursor) return pr_nodes class ContributorsResults(BaseModel):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 8.6K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/mvn
echo "$parser_output" | sed 's/^/ /' >&2 exit 1 fi echo "$parser_output" fi } MAVEN_PROJECTBASEDIR="`find_maven_basedir "$@"`" # Read JVM config and append to MAVEN_OPTS, preserving special characters _jvm_config="`concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config"`" if [ -n "$_jvm_config" ]; then if [ -n "$MAVEN_OPTS" ]; then MAVEN_OPTS="$MAVEN_OPTS $_jvm_config"
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 9.2K bytes - Click Count (0) -
cmd/data-scanner-metric.go
if !ok { return true } obj, ok := value.(*currentPathTracker) if !ok { return true } strptr := (*string)(atomic.LoadPointer(obj.name)) if strptr != nil { res = append(res, pathJoin(prefix, name, *strptr)) } return true }) return res } // activeDrives returns the number of currently active disks. // (since this is concurrent it may not be 100% reliable)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 01 06:06:01 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/lock/lock_windows.go
// the kernel is arbitrarily okay with < 248 bytes. That // matches what the docs above say: // "When using an API to create a directory, the specified // path cannot be so long that you cannot append an 8.3 file // name (that is, the directory name cannot exceed MAX_PATH // minus 12)." Since MAX_PATH is 260, 260 - 12 = 248. // // The MSDN docs appear to say that a normal path that is 248 bytes long
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
misc/ios/go_ios_exec.go
} return nil } func runSimulator(appdir, bundleID string, args []string) error { xcrunArgs := []string{"simctl", "spawn", "booted", appdir + "/gotest", } xcrunArgs = append(xcrunArgs, args...) cmd := exec.Command("xcrun", xcrunArgs...) cmd.Stdout, cmd.Stderr = os.Stdout, os.Stderr err := cmd.Run() if err != nil { return fmt.Errorf("xcrun simctl launch booted %q: %v", bundleID, err)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 00:34:45 GMT 2025 - 8.7K bytes - Click Count (0) -
cmd/object-api-multipart_test.go
{"foo", object, uploadID, BucketNotFound{}}, {bucket, object, "foo-foo", InvalidUploadID{}}, {bucket, object, uploadID, nil}, } if runtime.GOOS != globalWindowsOSName { abortTestCases = append(abortTestCases, struct { bucketName string objName string uploadID string expectedErrType error }{bucket, "\\", uploadID, InvalidUploadID{}}) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 89.4K bytes - Click Count (0) -
cmd/event-notification.go
// which doesn't need to be listed as part of the ARN list // This list is only meant for external targets, filter // this out pro-actively. if !strings.HasPrefix(targetID.ID, "httpclient+") { arns = append(arns, targetID.ToARN(region).String()) } } return arns } // Loads notification policies for all buckets into EventNotifier. func (evnot *EventNotifier) set(bucket string, meta BucketMetadata) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 21 22:22:24 GMT 2024 - 7.7K bytes - Click Count (0) -
fastapi/security/oauth2.py
@app.post("/login") def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]): data = {} data["scopes"] = [] for scope in form_data.scopes: data["scopes"].append(scope) if form_data.client_id: data["client_id"] = form_data.client_id if form_data.client_secret: data["client_secret"] = form_data.client_secret return data ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 22K bytes - Click Count (0) -
internal/etag/etag.go
return nil } var n int64 h := md5.New() for _, etag := range etags { if !etag.IsMultipart() && !etag.IsEncrypted() { h.Write(etag) n++ } } etag := append(h.Sum(nil), '-') return strconv.AppendInt(etag, n, 10) } // Set adds the ETag to the HTTP headers. It overwrites any // existing ETag entry. // // Due to legacy S3 clients, that make incorrect assumptions
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0)