- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 920 for struct (0.28 seconds)
-
cmd/admin-router.go
if !handlerFlags.Has(noGZFlag) { handler = gzipHandler(handler) } return handler } // adminAPIHandlers provides HTTP handlers for MinIO admin API. type adminAPIHandlers struct{} // registerAdminRouter - Add handler functions for each service REST API routes. func registerAdminRouter(router *mux.Router, enableConfigOps bool) { adminAPI := adminAPIHandlers{} // Admin router
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 26.7K bytes - Click Count (0) -
cmd/erasure-healing_test.go
func TestIsObjectDangling(t *testing.T) { fi := newFileInfo("test-object", 2, 2) fi.Erasure.Index = 1 ifi := newFileInfo("test-object", 2, 2) ifi.SetInlineData() ifi.Erasure.Index = 1 testCases := []struct { name string metaArr []FileInfo errs []error dataErrs map[int][]int expectedMeta FileInfo expectedDangling bool }{ {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 48.5K bytes - Click Count (0) -
tests/generics_test.go
t.Fatalf("failed to find user, got error: %v", err) } else if u.Name != "" || u.Age != user.Age { t.Errorf("found invalid user, got %v, expect %v", u, user) } result := struct { ID int Name string }{} if err := gorm.G[User](DB).Where("name = ?", user.Name).Scan(ctx, &result); err != nil { t.Fatalf("failed to scan user, got error: %v", err)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
regs_batches $.DstOffset $N }} VST1.P [{{ .Regs }}], {{ .Size }}(DST) {{- end }} RET {{ end }} ` func main() { type Params struct { DstOffset int Sizes []int } params := Params{ DstOffset: dstOffset, Sizes: []int{1, 2, 4, 8}, } type RegsBatch struct { Size int Regs string // Comma-separated list of registers. } type LoadKeysArgs struct { FirstKey int NKeys int } type EncArgs struct { Key int N int WithMc bool } funcs := template.FuncMap{ "add": func(a, b int) int { return a + b }, "xrange": func(n int)...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
cmd/bucket-metadata-sys.go
"github.com/minio/pkg/v3/policy" "github.com/minio/pkg/v3/sync/errgroup" "golang.org/x/sync/singleflight" ) // BucketMetadataSys captures all bucket metadata for a given cluster. type BucketMetadataSys struct { objAPI ObjectLayer sync.RWMutex initialized bool group *singleflight.Group metadataMap map[string]BucketMetadata } // Count returns number of bucket metadata map entries.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.4K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
regs_batches $.DstOffset $N }} VST1.P [{{ .Regs }}], {{ .Size }}(DST) {{- end }} RET {{ end }} ` func main() { type Params struct { DstOffset int Sizes []int } params := Params{ DstOffset: dstOffset, Sizes: []int{1, 2, 4, 8}, } type RegsBatch struct { Size int Regs string // Comma-separated list of registers. } type LoadKeysArgs struct { FirstKey int NKeys int } type EncArgs struct { Key int N int WithMc bool } funcs := template.FuncMap{ "add": func(a, b int) int { return a + b }, "xrange": func(n int)...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
cmd/iam-object-store.go
"github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/sync/errgroup" "github.com/puzpuzpuz/xsync/v3" ) // IAMObjectStore implements IAMStorageAPI type IAMObjectStore struct { // Protect access to storage within the current server. sync.RWMutex *iamCache usersSysType UsersSysType objAPI ObjectLayer }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.6K bytes - Click Count (0) -
cmd/peer-rest-client.go
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/rest" xnet "github.com/minio/pkg/v3/net" ) // client to talk to peer Nodes. type peerRESTClient struct { host *xnet.Host restClient *rest.Client gridHost string // Function that returns the grid connection for this peer when initialized. // Will return nil if the grid connection is not initialized yet.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
cmd/api-errors.go
"github.com/minio/minio/internal/hash" "github.com/minio/pkg/v3/policy" ) // APIError structure type APIError struct { Code string Description string HTTPStatusCode int ObjectSize string RangeRequested string } // APIErrorResponse - error response format type APIErrorResponse struct { XMLName xml.Name `xml:"Error" json:"-"` Code string Message stringCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 93K bytes - Click Count (3) -
src/cmd/asm/internal/arch/arch.go
const ( RFP = -(iota + 1) RSB RSP RPC ) // Arch wraps the link architecture object with more architecture-specific information. type Arch struct { *obj.LinkArch // Map of instruction names to enumeration. Instructions map[string]obj.As // Map of register names to enumeration. Register map[string]int16Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 13 12:17:37 GMT 2025 - 21.7K bytes - Click Count (0)