- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 619 for dprintf (0.07 sec)
-
ci/official/containers/linux_arm64/devel.usertools/get_test_list.sh
# Hides all extra output and always exits with success for now. OUTPUT=$1 shift
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 1K bytes - Viewed (0) -
tests/scanner_valuer_test.go
func (point Point) GormDataType() string { return "geo" } func (point Point) GormValue(ctx context.Context, db *gorm.DB) clause.Expr { return clause.Expr{ SQL: "ST_PointFromText(?)", Vars: []interface{}{fmt.Sprintf("POINT(%d %d)", point.X, point.Y)}, } } func TestGORMValuer(t *testing.T) { type UserWithPoint struct { Name string Point Point } dryRunDB := DB.Session(&gorm.Session{DryRun: true})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* * As another example, this code prints the human-readable query parameters of a Twitter search: * * ```java * HttpUrl url = HttpUrl.parse("https://twitter.com/search?q=cute%20%23puppies&f=images"); * for (int i = 0, size = url.querySize(); i < size; i++) { * System.out.println(url.queryParameterName(i) + ": " + url.queryParameterValue(i)); * } * ``` * * which prints: * * ``` * q: cute #puppies * f: images
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/DotListener.kt
reason: String, ) { printStatus("-") } private fun printStatus(s: String) { if (++testCount % 80 == 0) { printStatus("\n") } originalSystemErr?.print(s) } override fun executionFinished( testIdentifier: TestIdentifier, testExecutionResult: TestExecutionResult, ) { if (!testIdentifier.isContainer) { when (testExecutionResult.status!!) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/config/bool-flag.go
b := BoolFlag(true) if s == "" { // Empty string is treated as valid. *bf = b } else if b, err = ParseBoolFlag(s); err == nil { *bf = b } } return err } // FormatBool prints stringified version of boolean. func FormatBool(b bool) string { if b { return "on" } return "off" } // ParseBool returns the boolean value represented by the string.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 07 15:10:40 UTC 2022 - 2.3K bytes - Viewed (0) -
src/cmd/api/api_test.go
w.export(pkg) if *updateGolden { os.Remove(goldenFile) f, err := os.Create(goldenFile) if err != nil { t.Fatal(err) } for _, feat := range w.Features() { fmt.Fprintf(f, "%s\n", feat) } f.Close() } bs, err := os.ReadFile(goldenFile) if err != nil { t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 17:31:12 UTC 2024 - 7.1K bytes - Viewed (0) -
utils/utils.go
results[idx] = string(v) case uint: results[idx] = strconv.FormatUint(uint64(v), 10) default: results[idx] = "nil" vv := reflect.ValueOf(v) if vv.IsValid() && !vv.IsZero() { results[idx] = fmt.Sprint(reflect.Indirect(vv).Interface()) } } } return strings.Join(results, "_") } func Contains(elems []string, elem string) bool { for _, e := range elems { if elem == e { return true }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
ci/official/utilities/convert_msys_paths_to_win_paths.py
converted_vars[var] = value var_str = '\n'.join(f'{k}="{v}"' for k, v in converted_vars.items()) # The string can then be piped into `source`, to re-set the # 'converted' variables. print(var_str) if __name__ == '__main__': parser = argparse.ArgumentParser(description=( 'Convert MSYS paths in environment variables to Windows paths.')) parser.add_argument('--blacklist',
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 2.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial008d.py
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun":
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 694 bytes - Viewed (0) -
cmd/iam.go
sa, _, err := sys.getServiceAccount(ctx, siteReplicatorSvcAcc) if err == nil { globalSiteReplicatorCred.Set(sa.Credentials.SecretKey) } } if firstTime { bootstrapTraceMsg(fmt.Sprintf("globalIAMSys.Load(): (duration: %s)", loadDuration)) if globalIsDistErasure { logger.Info("IAM load(startup) finished. (duration: %s)", loadDuration) } } select { case <-sys.configLoaded:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0)