- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 234 for iteration (0.14 seconds)
-
internal/config/identity/plugin/config.go
} // AuthNErrorResponse - represents an error response from the authN plugin. type AuthNErrorResponse struct { Reason string `json:"reason"` } // AuthNResponse - represents a result of the authentication operation. type AuthNResponse struct { Success *AuthNSuccessResponse Failure *AuthNErrorResponse } const ( minValidityDurationSeconds int = 900 maxValidityDurationSeconds int = 365 * 24 * 3600 )Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.3K bytes - Click Count (0) -
internal/store/queuestore.go
package store import ( "bytes" "encoding/json" "errors" "os" "path/filepath" "sort" "sync" "time" "github.com/google/uuid" jsoniter "github.com/json-iterator/go" "github.com/klauspost/compress/s2" "github.com/valyala/bytebufferpool" ) const ( defaultLimit = 100000 // Default store limit. defaultExt = ".unknown" compressExt = ".snappy" )
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
return } pools, ok := objectAPI.(*erasureServerPools) if !ok { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL) return } // Cancel any ongoing rebalance operation globalNotificationSys.StopRebalance(r.Context()) writeSuccessResponseHeadersOnly(w) adminLogIf(ctx, pools.saveRebalanceStats(GlobalContext, 0, rebalSaveStoppedAt)) globalNotificationSys.LoadRebalanceMeta(ctx, false)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (0) -
internal/store/queuestore_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package store import ( "bytes" "fmt" "os" "path/filepath" "reflect" "testing" jsoniter "github.com/json-iterator/go" "github.com/valyala/bytebufferpool" ) type TestItem struct { Name string `json:"Name"` Property string `json:"property"` } var ( // TestDir
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0) -
generics.go
data[a.Column.Name] = a.Value } var r T return s.c.g.apply(ctx).Model(r).Create(data).Error } return nil } // executeAssociationOperation executes an association operation func (s setCreateOrUpdateG[T]) executeAssociationOperation(ctx context.Context, op clause.Association) error { var r T base := s.c.g.apply(ctx).Model(r) switch op.Type { case clause.OpCreate:
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 25.9K bytes - Click Count (0) -
cmd/sftp-server-driver.go
func (f *sftpDriver) AccessKey() string { return f.permissions.CriticalOptions["AccessKey"] } func (f *sftpDriver) Fileread(r *sftp.Request) (ra io.ReaderAt, err error) { // This is not timing the actual read operation, but the time it takes to prepare the reader. stopFn := globalSftpMetrics.log(r, f.AccessKey()) defer stopFn(0, err) flags := r.Pflags() if !flags.Read { // sanity check return nil, os.ErrInvalid
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 10 16:35:49 GMT 2025 - 11.6K bytes - Click Count (0) -
cmd/iam-etcd-store.go
package cmd import ( "context" "encoding/json" "errors" "path" "strings" "sync" "time" jsoniter "github.com/json-iterator/go" "github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/kms" "github.com/puzpuzpuz/xsync/v3" "go.etcd.io/etcd/api/v3/mvccpb"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (0) -
cmd/bucket-object-lock.go
} // https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes // If you try to delete objects protected by governance mode and have s3:BypassGovernanceRetention, the operation will succeed. if checkRequestAuthType(ctx, r, policy.BypassGovernanceRetentionAction, bucket, object.ObjectName) != ErrNone { return errAuthentication } } } return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 02:38:25 GMT 2025 - 13.3K bytes - Click Count (0) -
src/builtin/builtin.go
// to the zero value of the respective element type. If the argument // type is a type parameter, the type parameter's type set must // contain only map or slice types, and clear performs the operation // implied by the type argument. If t is nil, clear is a no-op. func clear[T ~[]Type | ~map[Type]Type1](t T) // The close built-in function closes a channel, which must be either
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 30 23:59:23 GMT 2024 - 12.8K bytes - Click Count (0) -
cmd/iam-store.go
groupSet.Add(k) return true }) return groupSet.ToSlice(), nil } // ListGroups - lists groups. Since this is not going to be a frequent // operation, we fetch this info from storage, and refresh the cache as well. func (store *IAMStoreSys) ListGroups(ctx context.Context) (res []string, err error) { cache := store.lock() defer store.unlock()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 87.1K bytes - Click Count (0)