Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 589 for CONST (0.05 sec)

  1. cmd/data-scanner.go

    	"github.com/minio/minio/internal/config/heal"
    	"github.com/minio/minio/internal/event"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v3/console"
    	uatomic "go.uber.org/atomic"
    )
    
    const (
    	dataScannerSleepPerFolder        = time.Millisecond                 // Time to wait between folders.
    	dataUsageUpdateDirCycles         = 16                               // Visit all folders every n cycles.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    	for _, path := range []string{
    		"../foo",
    		"/foo",
    		"a/b/../../../c",
    	} {
    		var buf bytes.Buffer
    		tw := NewWriter(&buf)
    		tw.WriteHeader(&Header{
    			Name: path,
    		})
    		const securePath = "secure"
    		tw.WriteHeader(&Header{
    			Name: securePath,
    		})
    		tw.Close()
    
    		tr := NewReader(&buf)
    		h, err := tr.Next()
    		if err != ErrInsecurePath {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. cmd/bucket-metadata.go

    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/minio/sio"
    )
    
    const (
    	legacyBucketObjectLockEnabledConfigFile = "object-lock-enabled.json"
    	legacyBucketObjectLockEnabledConfig     = `{"x-amz-bucket-object-lock-enabled":true}`
    
    	bucketMetadataFile    = ".metadata.bin"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    			case '$':
    				a.Type = obj.TYPE_CONST
    			case '*':
    				a.Type = obj.TYPE_INDIR // Can appear but is illegal, will be rejected by the linker.
    			default:
    				a.Type = obj.TYPE_MEM
    			}
    			// fmt.Printf("CONST %d %s\n", a.Offset, obj.Dconv(&emptyProg, 0, a))
    			p.expectOperandEnd()
    			return
    		}
    		// fmt.Printf("offset %d \n", a.Offset)
    	}
    
    	// Register indirection: (reg) or (index*scale). We are on the opening paren.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. cmd/api-router.go

    		methods: []string{http.MethodDelete, http.MethodPut, http.MethodGet},
    		queries: []string{"analytics", ""},
    	},
    }
    
    // Set of s3 handler options as bit flags.
    type s3HFlag uint8
    
    const (
    	// when provided, disables Gzip compression.
    	noGZS3HFlag = 1 << iota
    
    	// when provided, enables only tracing of headers. Otherwise, both headers
    	// and body are traced.
    	traceHdrsS3HFlag
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/ast.go

    	if !ok {
    		return
    	}
    
    	for _, exp := range f.ExpFunc {
    		if exp.Func.Name.Name == n.Name.Name {
    			exp.Func = n
    			break
    		}
    	}
    }
    
    type astContext int
    
    const (
    	ctxProg astContext = iota
    	ctxEmbedType
    	ctxType
    	ctxStmt
    	ctxExpr
    	ctxField
    	ctxParam
    	ctxAssign2 // assignment of a single expression to two variables
    	ctxSwitch
    	ctxTypeSwitch
    	ctxFile
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex.go

    		lockRetryMinInterval,
    		100*time.Millisecond,
    		5*time.Second,
    	)
    }
    
    func log(format string, data ...interface{}) {
    	if dsyncLog {
    		console.Printf(format, data...)
    	}
    }
    
    const (
    	// dRWMutexAcquireTimeout - default tolerance limit to wait for lock acquisition before.
    	drwMutexAcquireTimeout = 1 * time.Second // 1 second.
    
    	// dRWMutexRefreshTimeout - default timeout for the refresh call
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    	"github.com/minio/minio-go/v7/pkg/s3utils"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio-go/v7/pkg/signer"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/pkg/v3/env"
    )
    
    const (
    	testDefaultTimeout = 30 * time.Second
    )
    
    // API suite container for IAM
    type TestSuiteIAM struct {
    	TestSuiteCommon
    
    	ServerTypeDescription string
    
    	// Flag to turn on tests for etcd backend IAM
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    // It returns -1 if rune is not present in s.
    // If r is [utf8.RuneError], it returns the first instance of any
    // invalid UTF-8 byte sequence.
    func IndexRune(s []byte, r rune) int {
    	const haveFastIndex = bytealg.MaxBruteForce > 0
    	switch {
    	case 0 <= r && r < utf8.RuneSelf:
    		return IndexByte(s, byte(r))
    	case r == utf8.RuneError:
    		for i := 0; i < len(s); {
    			r1, n := utf8.DecodeRune(s[i:])
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  10. cmd/common-main.go

    	// another way to look at this is we are turning off retries.
    	minio.MaxRetry = 1
    	madmin.MaxRetry = 1
    
    	currentReleaseTime, _ = GetCurrentReleaseTime()
    }
    
    const consolePrefix = "CONSOLE_"
    
    func minioConfigToConsoleFeatures() {
    	os.Setenv("CONSOLE_PBKDF_SALT", globalDeploymentID())
    	os.Setenv("CONSOLE_PBKDF_PASSPHRASE", globalDeploymentID())
    	if globalMinioEndpoint != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top