- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 882 for Range (0.02 seconds)
-
internal/jwt/parser.go
return &buf }, } hmacSigners = []*SigningMethodHMAC{ {Name: "HS256", Hash: crypto.SHA256}, {Name: "HS384", Hash: crypto.SHA384}, {Name: "HS512", Hash: crypto.SHA512}, } for i := range hmacSigners { h := hmacSigners[i].Hash hmacSigners[i].HasherPool.New = func() hash.Hash { return h.New() } } } // HashBorrower allows borrowing hashes and will keep track of them.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (0) -
src/archive/tar/tar_test.go
}}, }} b.Run("Writer", func(b *testing.B) { for _, v := range vectors { b.Run(v.label, func(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { // Writing to io.Discard because we want to // test purely the writer code and not bring in disk performance into this. tw := NewWriter(io.Discard) for _, file := range v.files { if err := tw.WriteHeader(file.hdr); err != nil {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
cmd/site-replication-metrics.go
n.LastMinute = n.LastMinute.merge(o.LastMinute) n.LastHour = n.LastHour.merge(rt.LastHour) n.LastHour = n.LastHour.merge(o.LastHour) n.ErrCounts = make(map[string]int) maps.Copy(n.ErrCounts, rt.ErrCounts) for k, v := range o.ErrCounts { n.ErrCounts[k] += v } return n } // SRStats has replication stats at site level type SRStats struct { // Total Replica size in bytes ReplicaSize int64 `json:"replicaSize"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
clause/order_by.go
return "ORDER BY" } // Build build where clause func (orderBy OrderBy) Build(builder Builder) { if orderBy.Expression != nil { orderBy.Expression.Build(builder) } else { for idx, column := range orderBy.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column.Column) if column.Desc { builder.WriteString(" DESC") } } } }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Nov 03 02:30:05 GMT 2020 - 1.1K bytes - Click Count (0) -
scripts/playwright/cookie_param_models/image01.py
# --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/cookie_param_models/tutorial001.py"] ) try: for _ in range(3): try: response = httpx.get("http://localhost:8000/docs") except httpx.ConnectError: time.sleep(1) break with sync_playwright() as playwright:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 17 18:54:10 GMT 2024 - 1.2K bytes - Click Count (0) -
src/bytes/reader_test.go
{seek: io.SeekStart, n: 5, want: "01234"}, {seek: io.SeekCurrent, n: 5, want: "56789"}, {seek: io.SeekEnd, off: -1, n: 1, wantpos: 9, want: "9"}, } for i, tt := range tests { pos, err := r.Seek(tt.off, tt.seek) if err == nil && tt.seekerr != "" { t.Errorf("%d. want seek error %q", i, tt.seekerr) continue } if err != nil && err.Error() != tt.seekerr {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Click Count (0) -
clause/from_test.go
}, }, }, }, "SELECT * FROM `users` INNER JOIN `articles` ON `articles`.`id` = `users`.`id` LEFT JOIN `companies` USING (`company_name`)", 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) }) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jul 15 02:25:10 GMT 2020 - 1.9K bytes - Click Count (0) -
cmd/object-api-multipart_test.go
if err != nil { t.Fatalf("%s : %s", instanceType, err.Error()) } var dataDir string for _, folder := range dataDirs { if strings.HasSuffix(folder, SlashSeparator) { dataDir = folder break } } toDel := (len(erasureDisks) / 2) + 1 for _, disk := range erasureDisks[:toDel] {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/object-api-putobject_test.go
// Failed to create object, abort. t.Fatalf("%s : %s", instanceType, err.Error()) } for _, disk := range disks { tmpMetaDir := path.Join(disk, minioMetaTmpBucket) files, err := os.ReadDir(tmpMetaDir) if err != nil { t.Fatal(err) } var found bool for _, fi := range files { if fi.Name() == ".trash" { continue } found = true } if found {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 25.8K bytes - Click Count (0) -
cmd/ftp-server.go
var ( port int publicIP string portRange string tlsPrivateKey string tlsPublicCert string forceTLS bool ) var err error for _, arg := range args { tokens := strings.SplitN(arg, "=", 2) if len(tokens) != 2 { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server") } switch tokens[0] { case "address":
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0)