- Sort Score
- Result 10 results
- Languages All
Results 1051 - 1060 of 1,179 for _func (0.02 sec)
-
internal/config/compress/help.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package compress import "github.com/minio/minio/internal/config" // Help template for compress feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{ Key: config.Enable, Description: "Enable or disable object compression",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 1.8K bytes - Viewed (0) -
.golangci.yml
- exportloopref - gocritic - gosec - ineffassign - misspell - prealloc - unconvert - unparam - goimports - whitespace linters-settings: whitespace: multi-func: true goimports:
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Nov 05 00:37:37 UTC 2022 - 291 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p3/golden.txt
pkg p3, func BadHop(int, int, int) (bool, bool, *ThirdBase, *ThirdBase, error) pkg p3, method (*ThirdBase) GoodPlayer() (int, int, int)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jan 29 00:45:45 UTC 2013 - 166 bytes - Viewed (0) -
internal/http/check_port_test.go
package http import ( "fmt" "net" "runtime" "strconv" "testing" ) // Tests for port availability logic written for server startup sequence. func TestCheckPortAvailability(t *testing.T) { if runtime.GOOS != "linux" { t.Skip() } l, err := net.Listen("tcp", "localhost:0") // ask kernel for a free port. if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
cmd/routers.go
package cmd import ( "net/http" "github.com/minio/minio/internal/grid" "github.com/minio/mux" ) // Composed function registering routers for only distributed Erasure setup. func registerDistErasureRouters(router *mux.Router, endpointServerPools EndpointServerPools) { var ( lockGrid = globalLockGrid.Load() commonGrid = globalGrid.Load() )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0) -
internal/config/policy/opa/legacy.go
const ( EnvIamOpaURL = "MINIO_IAM_OPA_URL" EnvIamOpaAuthToken = "MINIO_IAM_OPA_AUTHTOKEN" ) // SetPolicyOPAConfig - One time migration code needed, for migrating from older config to new for PolicyOPAConfig. func SetPolicyOPAConfig(s config.Config, opaArgs Args) { if opaArgs.URL == nil || opaArgs.URL.String() == "" { // Do not enable if opaArgs was empty. return } s[config.PolicyOPASubSys][config.Default] = config.KVS{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0) -
internal/config/storageclass/legacy.go
package storageclass import ( "github.com/minio/minio/internal/config" ) // SetStorageClass - One time migration code needed, for migrating from older config to new for StorageClass. func SetStorageClass(s config.Config, cfg Config) { if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 { // Do not enable storage-class if no settings found. return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
internal/kms/context.go
// the Context. // MarshalText sorts the context keys and writes the sorted // key-value pairs as canonical JSON object. The sort order // is based on the un-escaped keys. It never returns an error. func (c Context) MarshalText() ([]byte, error) { if len(c) == 0 { return []byte{'{', '}'}, nil } // Pre-allocate a buffer - 128 bytes is an arbitrary // heuristic value that seems like a good starting size.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 6K bytes - Viewed (0) -
cmd/metacache-bucket_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "testing" ) func Benchmark_bucketMetacache_findCache(b *testing.B) { bm := newBucketMetacache("", false) const elements = 50000 const paths = 100 if elements%paths != 0 { b.Fatal("elements must be divisible by the number of paths")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 25 23:29:45 UTC 2022 - 1.8K bytes - Viewed (0) -
cmd/metrics-v3-ilm.go
ilmVersionsScannedMD = NewCounterMD(versionsScanned, "Total number of object versions checked for ILM actions since server start") ) // loadILMMetrics - `MetricsLoaderFn` for ILM metrics. func loadILMMetrics(_ context.Context, m MetricValues, _ *metricsCache) error { if globalExpiryState != nil { m.Set(expiryPendingTasks, float64(globalExpiryState.PendingTasks())) } if globalTransitionState != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 06 09:36:25 UTC 2024 - 2.3K bytes - Viewed (0)