- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 536 for fprintf (0.3 sec)
-
clause/returning_test.go
}, clause.Returning{ []clause.Column{{Name: "name"}, {Name: "age"}}, }}, "SELECT * FROM `users` RETURNING `users`.`id`,`name`,`age`", nil, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) { checkBuildClauses(t, result.Clauses, result.Result, result.Vars) }) }
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Tue Jun 02 01:18:01 UTC 2020 - 845 bytes - Viewed (0) -
buildscripts/cross-compile.sh
} function _build() { local osarch=$1 IFS=/ read -r -a arr <<<"$osarch" os="${arr[0]}" arch="${arr[1]}" package=$(go list -f '{{.ImportPath}}') printf -- "--> %15s:%s\n" "${osarch}" "${package}" # go build -trimpath to build the binary. export GOOS=$os export GOARCH=$arch export GO111MODULE=on go build -trimpath -tags kqueue -o /dev/null }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Dec 19 01:08:22 UTC 2023 - 958 bytes - Viewed (0) -
internal/hash/reader_test.go
size: 4, actualSize: 4, md5hex: "e2fc714c4727ee9395f324cd2e7f331f", err: ioutil.ErrOverread, }, } for i, testCase := range testCases { t.Run(fmt.Sprintf("case-%d", i+1), func(t *testing.T) { r, err := NewReader(context.Background(), testCase.src, testCase.size, testCase.md5hex, testCase.sha256hex, testCase.actualSize) if err != nil {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 10.3K bytes - Viewed (0) -
src/archive/zip/example_test.go
if err != nil { log.Fatal(err) } defer r.Close() // Iterate through the files in the archive, // printing some of their contents. for _, f := range r.File { fmt.Printf("Contents of %s:\n", f.Name) rc, err := f.Open() if err != nil { log.Fatal(err) } _, err = io.CopyN(os.Stdout, rc, 68) if err != nil { log.Fatal(err) } rc.Close() fmt.Println() }
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
cmd/batch-expire.go
} func (oiCache objInfoCache) Add(toDel ObjectToDelete, oi *ObjectInfo) { oiCache[fmt.Sprintf("%s-%s", toDel.ObjectName, toDel.VersionID)] = oi } func (oiCache objInfoCache) Get(toDel ObjectToDelete) (*ObjectInfo, bool) { oi, ok := oiCache[fmt.Sprintf("%s-%s", toDel.ObjectName, toDel.VersionID)] return oi, ok }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 21.9K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
switch { case errors.Is(rebalErr, context.Canceled): status = rebalStopped traceMsg = fmt.Sprintf("stopped at %s", now) case rebalErr == nil: status = rebalCompleted traceMsg = fmt.Sprintf("completed at %s", now) default: status = rebalFailed traceMsg = fmt.Sprintf("stopped at %s with err: %v", now, rebalErr) } z.rebalMu.Lock()
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 13:20:19 UTC 2024 - 28.4K bytes - Viewed (0) -
docs/sts/ldap.go
if bucketToList == "" { bucketToList = ldapUsername } fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList) objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{}) for obj := range objCh { if obj.Err != nil { log.Fatalf("Listing error: %v", obj.Err) } fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 07 12:59:47 UTC 2024 - 4K bytes - Viewed (0) -
cmd/endpoint.go
} hostIPCache[host] = hostIPSet } } if IPSet, ok := pathIPMap[endpoint.Path]; ok { if !IPSet.Intersection(hostIPSet).IsEmpty() { return nil, setupType,
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 34.2K bytes - Viewed (0) -
docs/select/select.py
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sat Aug 18 00:11:39 UTC 2018 - 1K bytes - Viewed (0) -
internal/kms/errors.go
Err string // The error message returned to the client Cause error // Optional, lower level error cause. } func (e Error) Error() string { if e.Cause == nil { return e.Err } return fmt.Sprintf("%s: %v", e.Err, e.Cause) } func errKeyCreationFailed(err error) Error { return Error{ Code: http.StatusInternalServerError, APICode: "kms:KeyCreationFailed", Err: "failed to create KMS key",
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Jul 16 14:03:03 UTC 2024 - 3.6K bytes - Viewed (0)