Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,405 for Golang (0.04 sec)

  1. cmd/bitrot.go

    package cmd
    
    import (
    	"bytes"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"hash"
    	"io"
    
    	"github.com/minio/highwayhash"
    	"github.com/minio/minio/internal/hash/sha256"
    	"golang.org/x/crypto/blake2b"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    )
    
    // magic HH-256 key as HH-256 hash of the first 100 decimals of π as utf-8 string with a zero key.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.34.md

    - github.com/go-stack/stack: [v1.8.0](https://github.com/go-stack/stack/tree/v1.8.0)
    - github.com/golang-jwt/jwt/v4: [v4.5.2](https://github.com/golang-jwt/jwt/tree/v4.5.2)
    - github.com/golang/mock: [v1.1.1](https://github.com/golang/mock/tree/v1.1.1)
    - github.com/google/shlex: [e7afc7f](https://github.com/google/shlex/tree/e7afc7f)
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 10 01:13:50 UTC 2025
    - 333.3K bytes
    - Viewed (1)
  3. cmd/http-stats.go

    		}
    		apiStats[k] = v
    	}
    	return apiStats
    }
    
    // HTTPStats holds statistics information about
    // HTTP requests made by all clients
    type HTTPStats struct {
    	s3RequestsInQueue       int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_                       int32 // For 64 bits alignment
    	s3RequestsIncoming      uint64
    	rejectedRequestsAuth    uint64
    	rejectedRequestsTime    uint64
    	rejectedRequestsHeader  uint64
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. docs/bucket/lifecycle/DESIGN.md

    ### Additional notes
    
    Tiering and lifecycle transition are applicable only to erasure/distributed MinIO.
    
    ## Explore Further
    
    - [MinIO | Golang Client API Reference](https://docs.min.io/community/minio-object-store/developers/go/API.html#SetBucketLifecycle)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bandwidth
    
    //go:generate msgp -file=$GOFILE -unexported
    
    import (
    	"context"
    	"slices"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. internal/disk/stat_linux.go

    package disk
    
    import (
    	"bufio"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"syscall"
    
    	"github.com/prometheus/procfs/blockdevice"
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, firstTime bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.20.md

    - go.opencensus.io: v0.22.2 → v0.22.3
    - golang.org/x/crypto: 75b2880 → 7f63de1
    - golang.org/x/exp: da58074 → 6cc2880
    - golang.org/x/lint: fdd1cda → 738671d
    - golang.org/x/net: ab34263 → 69a7880
    - golang.org/x/oauth2: 858c2ad → bf48bf1
    - golang.org/x/sys: ed371f2 → 5cba982
    - golang.org/x/text: v0.3.3 → v0.3.4
    - golang.org/x/time: 555d28b → 3af7569
    - golang.org/x/xerrors: 9bdfabe → 5ec99f8
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  8. internal/lru/lru.go

    package lru
    
    // golang -lru
    // https://github.com/hashicorp/golang-lru
    import (
    	"sync"
    	"time"
    )
    
    // EvictCallback is used to get a callback when a cache entry is evicted
    type EvictCallback[K comparable, V any] func(key K, value V)
    
    // LRU implements a thread-safe LRU with expirable entries.
    type LRU[K comparable, V any] struct {
    	size      int
    	evictList *LruList[K, V]
    	items     map[K]*Entry[K, V]
    	onEvict   EvictCallback[K, V]
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. internal/http/response-recorder.go

    }
    
    func (lrw *ResponseRecorder) Write(p []byte) (int, error) {
    	if !lrw.headersLogged {
    		// We assume the response code to be '200 OK' when WriteHeader() is not called,
    		// that way following Golang HTTP response behavior.
    		lrw.WriteHeader(http.StatusOK)
    	}
    	n, err := lrw.ResponseWriter.Write(p)
    	lrw.bytesWritten += n
    	if lrw.ttfbBody == 0 {
    		lrw.ttfbBody = time.Now().UTC().Sub(lrw.StartTime)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. internal/rest/client.go

    }
    
    // Unwrap returns the error wrapped in NetworkError.
    func (n *NetworkError) Unwrap() error {
    	return n.Err
    }
    
    // Client - http based RPC client.
    type Client struct {
    	connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top