- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 1,681 for go$$ (0.02 seconds)
-
src/archive/zip/zip_test.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Tests that involve both reading and writing. package zip import ( "bytes" "cmp" "errors" "fmt" "hash" "internal/testenv" "io" "runtime" "slices" "strings" "testing" "time" ) func TestOver65kFiles(t *testing.T) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
internal/ioutil/ioutil.go
// by the standard library. package ioutil import ( "context" "errors" "io" "os" "runtime/debug" "time" "github.com/dustin/go-humanize" "github.com/minio/minio/internal/bpool" "github.com/minio/minio/internal/disk" ) // Block sizes constant. const ( SmallBlock = 32 * humanize.KiByte // Default r/w block size for smaller objects.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
buildscripts/heal-manual.go
// limitations under the License. // package main import ( "context" "encoding/json" "fmt" "log" "os" "time" "github.com/minio/madmin-go/v3" ) func main() { // Note: YOUR-ACCESSKEYID, YOUR-SECRETACCESSKEY are // dummy values, please replace them with original values. // API requests are secure (HTTPS) if secure=true and insecure (HTTP) otherwise.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 27 09:47:58 GMT 2024 - 2.3K bytes - Click Count (0) -
cmd/site-replication_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" "github.com/minio/madmin-go/v3" "github.com/minio/minio-go/v7/pkg/set" ) // TestGetMissingSiteNames func TestGetMissingSiteNames(t *testing.T) { testCases := []struct { currSites []madmin.PeerInfo oldDepIDs set.StringSet newDepIDs set.StringSet
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 2.2K bytes - Click Count (0) -
docs/sts/custom-token-identity.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "context" "flag" "fmt" "log" "net/url" "time" "github.com/minio/minio-go/v7" cr "github.com/minio/minio-go/v7/pkg/credentials" ) var ( // LDAP integrated Minio endpoint stsEndpoint string // token to use with AssumeRoleWithCustomToken token string // Role ARN to use roleArn string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 27 00:58:09 GMT 2022 - 3.4K bytes - Click Count (0) -
cmd/shared-lock.go
// Send the lock context to anyone asking for it } } } } func mergeContext(ctx1, ctx2 context.Context) (context.Context, context.CancelFunc) { ctx, cancel := context.WithCancel(context.Background()) go func() { select { case <-ctx1.Done(): case <-ctx2.Done(): // The lock acquirer decides to cancel, exit this goroutine case <-ctx.Done(): } cancel() }() return ctx, cancel }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 13 09:26:38 GMT 2023 - 2.3K bytes - Click Count (0) -
internal/logger/console.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package logger import ( "encoding/json" "fmt" "os" "strings" "time" "github.com/minio/madmin-go/v3/logger/log" "github.com/minio/minio/internal/color" ) // ConsoleLoggerTgt is a stringified value to represent console logging const ConsoleLoggerTgt = "console+http"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.2K bytes - Click Count (0) -
cmd/data-usage.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "strings" "time" jsoniter "github.com/json-iterator/go" "github.com/minio/minio/internal/cachevalue" ) const ( dataUsageRoot = SlashSeparator dataUsageBucket = minioMetaBucket + SlashSeparator + bucketMetaPrefix dataUsageObjName = ".usage.json"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu May 09 00:51:34 GMT 2024 - 5.6K bytes - Click Count (0) -
internal/lock/lock_windows.go
// // The MSDN docs appear to say that a normal path that is 248 bytes long // will work; empirically the path must be less then 248 bytes long. if len(path) < 248 { // Don't fix. (This is how Go 1.7 and earlier worked, // not automatically generating the \\?\ form) return path } // The extended form begins with \\?\, as in // \\?\c:\windows\foo.txt or \\?\UNC\server\share\foo.txt.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
internal/config/dns/etcd_dns.go
package dns import ( "context" "encoding/json" "errors" "fmt" "net" "sort" "strings" "time" "github.com/minio/minio-go/v7/pkg/set" clientv3 "go.etcd.io/etcd/client/v3" ) // ErrNoEntriesFound - Indicates no entries were found for the given key (directory) var ErrNoEntriesFound = errors.New("No entries found for this key")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0)