Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 589 for CONST (0.06 sec)

  1. internal/config/identity/openid/openid.go

    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // OpenID keys and envs.
    const (
    	ClientID      = "client_id"
    	ClientSecret  = "client_secret"
    	ConfigURL     = "config_url"
    	ClaimName     = "claim_name"
    	ClaimUserinfo = "claim_userinfo"
    	RolePolicy    = "role_policy"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    	enableODirect               bool
    	gzipObjects                 bool
    	rootAccess                  bool
    	syncEvents                  bool
    	objectMaxVersions           int64
    }
    
    const (
    	cgroupV1MemLimitFile = "/sys/fs/cgroup/memory/memory.limit_in_bytes"
    	cgroupV2MemLimitFile = "/sys/fs/cgroup/memory.max"
    )
    
    func cgroupMemLimit() (limit uint64) {
    	buf, err := os.ReadFile(cgroupV2MemLimitFile)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. internal/s3select/csv/reader.go

    	dst = append(dst, in...)
    	return dst, err
    }
    
    // csvSplitSize is the size of each block.
    // Blocks will read this much and find the first following newline.
    // 128KB appears to be a very reasonable default.
    const csvSplitSize = 128 << 10
    
    // startReaders will read the header if needed and spin up a parser
    // and a number of workers based on GOMAXPROCS.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. internal/event/target/amqp.go

    	QueueDir          string   `json:"queueDir"`
    	QueueLimit        uint64   `json:"queueLimit"`
    }
    
    //lint:file-ignore ST1003 We cannot change these exported names.
    
    // AMQP input constants.
    const (
    	AmqpQueueDir   = "queue_dir"
    	AmqpQueueLimit = "queue_limit"
    
    	AmqpURL               = "url"
    	AmqpExchange          = "exchange"
    	AmqpRoutingKey        = "routing_key"
    	AmqpExchangeType      = "exchange_type"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. internal/event/targetlist.go

    package event
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"sync"
    	"sync/atomic"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/store"
    	"github.com/minio/pkg/v3/workers"
    )
    
    const (
    	logSubsys = "notify"
    
    	// The maximum allowed number of concurrent Send() calls to all configured notifications targets
    	maxConcurrentAsyncSend = 50000
    )
    
    // Target - event target interface
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    	"github.com/minio/pkg/v3/mimedb"
    	"github.com/pkg/sftp"
    	"golang.org/x/crypto/ssh"
    )
    
    // Maximum write offset for incoming SFTP blocks.
    // Set to 100MiB to prevent hostile DOS attacks.
    const ftpMaxWriteOffset = 100 << 20
    
    type sftpDriver struct {
    	permissions *ssh.Permissions
    	endpoint    string
    }
    
    //msgp:ignore sftpMetrics
    type sftpMetrics struct{}
    
    var globalSftpMetrics sftpMetrics
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	"github.com/minio/pkg/v3/console"
    	"github.com/minio/pkg/v3/env"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/minio/pkg/v3/workers"
    	"gopkg.in/yaml.v3"
    )
    
    var globalBatchConfig batch.Config
    
    const (
    	// Keep the completed/failed job stats 3 days before removing it
    	oldJobsExpiration = 3 * 24 * time.Hour
    )
    
    // BatchJobRequest this is an internal data structure not for external consumption.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    	"errors"
    	"io"
    	"io/fs"
    	"maps"
    	"os"
    	"path"
    	"slices"
    	"sort"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"testing/iotest"
    	"time"
    )
    
    func bytediff(a, b []byte) string {
    	const (
    		uniqueA  = "-  "
    		uniqueB  = "+  "
    		identity = "   "
    	)
    	var ss []string
    	sa := strings.Split(strings.TrimSpace(hex.Dump(a)), "\n")
    	sb := strings.Split(strings.TrimSpace(hex.Dump(b)), "\n")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return KeyPairGenerator.getInstance(keyAlgorithm).run {
            initialize(keySize, SecureRandom())
            generateKeyPair()
          }
        }
    
        companion object {
          private const val DEFAULT_DURATION_MILLIS = 1000L * 60 * 60 * 24 // 24 hours.
        }
      }
    
      companion object {
        private val PEM_REGEX = Regex("""-----BEGIN ([!-,.-~ ]*)-----([^-]*)-----END \1-----""")
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. cmd/api-response.go

    	"github.com/minio/minio/internal/hash"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    	xxml "github.com/minio/xxml"
    )
    
    const (
    	maxObjectList  = 1000  // Limit number of objects in a listObjectsResponse/listObjectsVersionsResponse.
    	maxDeleteList  = 1000  // Limit number of objects deleted in a delete call.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top