- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 833 for struct_ (0.22 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/bucket/lifecycle/tag.go
package lifecycle import ( "encoding/xml" "io" "unicode/utf8" ) // Tag - a tag for a lifecycle configuration Rule filter. type Tag struct { XMLName xml.Name `xml:"Tag"` Key string `xml:"Key,omitempty"` Value string `xml:"Value,omitempty"` } var ( errInvalidTagKey = Errorf("The TagKey you have provided is invalid")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 2.4K bytes - Click Count (0) -
cmd/kms-router.go
"github.com/minio/mux" ) const ( kmsPathPrefix = minioReservedBucketPath + "/kms" kmsAPIVersion = "v1" kmsAPIVersionPrefix = SlashSeparator + kmsAPIVersion ) type kmsAPIHandlers struct{} // registerKMSRouter - Registers KMS APIs func registerKMSRouter(router *mux.Router) { kmsAPI := kmsAPIHandlers{} kmsRouter := router.PathPrefix(kmsPathPrefix).Subrouter() KMSVersions := []string{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 2.7K bytes - Click Count (0) -
cmd/copy-part-range_test.go
package cmd import "testing" // Test parseCopyPartRange() func TestParseCopyPartRangeSpec(t *testing.T) { // Test success cases. successCases := []struct { rangeString string offsetBegin int64 offsetEnd int64 }{ {"bytes=2-5", 2, 5}, {"bytes=2-9", 2, 9}, {"bytes=2-2", 2, 2}, {"bytes=0000-0006", 0, 6}, } objectSize := int64(10)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 2.5K bytes - Click Count (0) -
clause/from_test.go
package clause_test import ( "fmt" "testing" "gorm.io/gorm/clause" ) func TestFrom(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Select{}, clause.From{}}, "SELECT * FROM `users`", nil, }, { []clause.Interface{ clause.Select{}, clause.From{ Tables: []clause.Table{{Name: "users"}},
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jul 15 02:25:10 GMT 2020 - 1.9K bytes - Click Count (0) -
clause/set.go
package clause import "sort" type Set []Assignment type Assignment struct { Column Column Value interface{} } // Assigner assignments provider interface type Assigner interface { Assignments() []Assignment } func (set Set) Name() string { return "SET" } func (set Set) Build(builder Builder) { if len(set) > 0 { for idx, assignment := range set { if idx > 0 { builder.WriteByte(',')
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Sep 09 01:34:33 GMT 2025 - 1.7K bytes - Click Count (0) -
cmd/ilm-config.go
import ( "sync" "github.com/minio/minio/internal/config/ilm" ) var globalILMConfig = ilmConfig{ cfg: ilm.Config{ ExpirationWorkers: 100, TransitionWorkers: 100, }, } type ilmConfig struct { mu sync.RWMutex cfg ilm.Config } func (c *ilmConfig) getExpirationWorkers() int { c.mu.RLock() defer c.mu.RUnlock() return c.cfg.ExpirationWorkers }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Mar 05 02:50:24 GMT 2024 - 1.3K bytes - Click Count (0) -
internal/bucket/replication/error.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package replication import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...any) error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.3K bytes - Click Count (0) -
internal/grid/errors.go
// ErrIncorrectSequence is returned when an out-of-sequence item is received. ErrIncorrectSequence = errors.New("out-of-sequence item received") ) // ErrResponse is a remote error response. type ErrResponse struct { msg string } func (e ErrResponse) Error() string { return fmt.Sprintf("remote: %s", e.msg)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 1.4K bytes - Click Count (0) -
internal/dsync/locked_rand.go
package dsync import ( "math/rand" "sync" ) // lockedRandSource provides protected rand source, implements rand.Source interface. type lockedRandSource struct { lk sync.Mutex src rand.Source } // Int63 returns a non-negative pseudo-random 63-bit integer as an int64. func (r *lockedRandSource) Int63() (n int64) { r.lk.Lock() n = r.src.Int63() r.lk.Unlock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 1.3K bytes - Click Count (0) -
internal/config/config.go
} // ErrConfigGeneric is a generic config type type ErrConfigGeneric struct { msg string } func (ge *ErrConfigGeneric) setMsg(msg string) { ge.msg = msg } func (ge ErrConfigGeneric) Error() string { return ge.msg } // ErrConfigNotFound is an error to indicate // that a config parameter is not found type ErrConfigNotFound struct { ErrConfigGeneric } // Error creates an error message and wrapsCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0)