Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 517 for jconst (0.05 sec)

  1. cmd/streaming-signature-v4.go

    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // Streaming AWS Signature Version '4' constants.
    const (
    	emptySHA256                   = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    	streamingContentSHA256        = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. docs/bucket/versioning/DESIGN.md

     ModTime   int64     // Unix nanoseconds.
     Signature [4]byte   // Signature of metadata.
     Type      uint8     // Type if the version
     Flags     uint8
    }
    ```
    
    The following flags are defined:
    
    ```
    const (
     FreeVersion = 1 << 0
     UsesDataDir = 1 << 1
     InlineData  = 1 << 2
    )
    ```
    
    The "Metadata" section contains a single version, encoded in similar fashion as each version in the `Versions` array
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  3. cmd/globals.go

    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v3/certs"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // minio configuration related constants.
    const (
    	GlobalMinioDefaultPort = "9000"
    
    	globalMinioDefaultRegion = ""
    	// This is a sha256 output of ``arn:aws:iam::minio:user/admin``,
    	// this is kept in present form to be compatible with S3 owner ID
    	// requirements -
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. cmd/metacache-marker.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    // markerTagVersion is the marker version.
    // Should not need to be updated unless a fundamental change is made to the marker format.
    const markerTagVersion = "v2"
    
    // parseMarker will parse a marker possibly encoded with encodeMarker
    func (o *listPathOptions) parseMarker() {
    	s := o.Marker
    	if !strings.Contains(s, "[minio_cache:"+markerTagVersion) {
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. internal/deadlineconn/deadlineconn.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package deadlineconn implements net.Conn wrapper with configured deadlines.
    package deadlineconn
    
    import (
    	"net"
    	"time"
    )
    
    const updateInterval = 250 * time.Millisecond
    
    // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout.
    type DeadlineConn struct {
    	net.Conn
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 17:40:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. internal/s3select/jstream/scanner.go

    package jstream
    
    import (
    	"io"
    	"sync/atomic"
    )
    
    const (
    	chunk    = 4095 // ~4k
    	maxUint  = ^uint(0)
    	maxInt   = int64(maxUint >> 1)
    	nullByte = byte(0)
    )
    
    type scanner struct {
    	pos       int64 // position in reader
    	ipos      int64 // internal buffer position
    	ifill     int64 // internal buffer fill
    	end       int64
    	buf       [chunk + 1]byte // internal buffer (with a lookback size of 1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics.go

    package cmd
    
    import (
    	"fmt"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/rcrowley/go-metrics"
    )
    
    //go:generate msgp -file $GOFILE
    
    const (
    	// beta is the weight used to calculate exponential moving average
    	beta = 0.1 // Number of averages considered = 1/(1-beta)
    )
    
    // rateMeasurement captures the transfer details for one bucket/target
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. internal/lock/lock_windows.go

    	"path/filepath"
    	"syscall"
    	"unsafe"
    
    	"golang.org/x/sys/windows"
    )
    
    var (
    	modkernel32    = windows.NewLazySystemDLL("kernel32.dll")
    	procLockFileEx = modkernel32.NewProc("LockFileEx")
    )
    
    const (
    	// https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx
    	lockFileExclusiveLock   = 2
    	lockFileFailImmediately = 1
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_param_models/test_tutorial001.py

                            "msg": "ensure this value is greater than or equal to 0",
                            "ctx": {"limit_value": 0},
                        },
                        {
                            "type": "value_error.const",
                            "loc": ["query", "order_by"],
                            "msg": "unexpected value; permitted: 'created_at', 'updated_at'",
                            "ctx": {
                                "given": "invalid",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. internal/s3select/json/reader.go

    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // Limit single document size to 10MiB, 10x the AWS limit:
    // https://docs.aws.amazon.com/AmazonS3/latest/userguide/selecting-content-from-objects.html
    const maxDocumentSize = 10 << 20
    
    // Reader - JSON record reader for S3Select.
    type Reader struct {
    	args       *ReaderArgs
    	decoder    *jstream.Decoder
    	valueCh    chan *jstream.MetaValue
    	readCloser io.ReadCloser
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top