- Sort Score
- Result 10 results
- Languages All
Results 2771 - 2780 of about 10,000 for four (0.06 sec)
-
clause/joins.go
package clause type JoinType string const ( CrossJoin JoinType = "CROSS" InnerJoin JoinType = "INNER" LeftJoin JoinType = "LEFT" RightJoin JoinType = "RIGHT" ) // Join clause for from type Join struct { Type JoinType Table Table ON Where Using []string Expression Expression } func (join Join) Build(builder Builder) { if join.Expression != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Nov 03 13:03:13 UTC 2022 - 901 bytes - Viewed (0) -
schema/utils.go
if len(foreignKeys) == 1 { for idx, r := range foreignValues { queryValues[idx] = r[0] } return clause.Column{Table: table, Name: foreignKeys[0]}, queryValues } columns := make([]clause.Column, len(foreignKeys)) for idx, key := range foreignKeys { columns[idx] = clause.Column{Table: table, Name: key} } for idx, r := range foreignValues { queryValues[idx] = r }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Aug 19 13:35:14 UTC 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
* Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate * implementation for Joiner since it fails on leading empty components. */ @Benchmark int stringBuilderIsEmpty(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { StringBuilder sb = new StringBuilder(); for (String comp : components) { if (sb.length() > 0) { sb.append(DELIMITER_STRING);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen_test.go
v := ActiveWorkerStat{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgActiveWorkerStat(b *testing.B) { v := ActiveWorkerStat{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 17.4K bytes - Viewed (0) -
logger/sql.go
vars[idx] = fmt.Sprintf("%.6f", rv.Interface()) } } else { for _, t := range convertibleTypes { if rv.Type().ConvertibleTo(t) { convertParams(rv.Convert(t).Interface(), idx) return } } vars[idx] = escaper + strings.ReplaceAll(fmt.Sprint(v), escaper, escaper+escaper) + escaper } } } for idx, v := range avars { convertParams(v, idx) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
schema/naming.go
return ns.TablePrefix + str } if ns.SingularTable { return ns.TablePrefix + ns.toDBName(str) } return ns.TablePrefix + inflection.Plural(ns.toDBName(str)) } // RelationshipFKName generate fk name for relation func (ns NamingStrategy) RelationshipFKName(rel Relationship) string { return ns.formatName("fk", rel.Schema.Table, ns.toDBName(rel.Name)) } // CheckerName generate checker name
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status_test.go
}, }), }, want: "testdata/multiXdsStatusSinglePilot.txt", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got := &bytes.Buffer{} sw := XdsStatusWriter{Writer: got} input := map[string]*discovery.DiscoveryResponse{} for key, ss := range tt.input { input[key] = ss } err := sw.PrintAll(input) if tt.wantErr {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 6.5K bytes - Viewed (0) -
docs_src/request_files/tutorial003.py
files: List[bytes] = File(description="Multiple files as bytes"), ): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_upload_files( files: List[UploadFile] = File(description="Multiple files as UploadFile"), ): return {"filenames": [file.filename for file in files]} @app.get("/") async def main(): content = """ <body>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 913 bytes - Viewed (0) -
docs_src/request_files/tutorial003_an.py
): return {"file_sizes": [len(file) for file in files]} @app.post("/uploadfiles/") async def create_upload_files( files: Annotated[ List[UploadFile], File(description="Multiple files as UploadFile") ], ): return {"filenames": [file.filename for file in files]} @app.get("/") async def main(): content = """ <body>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 987 bytes - Viewed (0) -
misc/chrome/gophertool/popup.js
function openURL(url) { chrome.tabs.create({ "url": url }) } function addLinks() { var links = document.getElementsByTagName("a"); for (var i = 0; i < links.length; i++) { var url = links[i].getAttribute("url"); if (url) links[i].addEventListener("click", function () { openURL(this.getAttribute("url")); }); } } window.addEventListener("load", function () { addLinks();
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sun Oct 21 17:05:21 UTC 2012 - 1020 bytes - Viewed (0)