- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 721 for const (0.16 sec)
-
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) -
istioctl/pkg/tag/tag.go
"istio.io/istio/pkg/config/analysis/diag" "istio.io/istio/pkg/config/analysis/local" "istio.io/istio/pkg/config/resource" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) const ( // help strings and long formatted user outputs skipConfirmationFlagHelpStr = `The skipConfirmation determines whether the user is prompted for confirmation.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0) -
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) -
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) -
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) -
istioctl/pkg/dashboard/dashboard.go
zipkinPort = 0 skywalkingPort = 0 bindAddress = "" // open browser or not, default is true browser = true // label selector labelSelector = "" proxyAdminPort int ) const ( defaultPrometheusPort = 9090 defaultGrafanaPort = 3000 defaultKialiPort = 20001 defaultJaegerPort = 16686 defaultZipkinPort = 9411 defaultSkywalkingPort = 8080 )
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
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) -
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) -
src/archive/zip/writer.go
if err := writeHeader(w.cw, h); err != nil { return nil, err } // If we're creating a directory, fw is nil. w.last = fw return ow, nil } func writeHeader(w io.Writer, h *header) error { const maxUint16 = 1<<16 - 1 if len(h.Name) > maxUint16 { return errLongName } if len(h.Extra) > maxUint16 { return errLongExtra } var buf [fileHeaderLen]byte b := writeBuf(buf[:])
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arch.go
"cmd/internal/obj/riscv" "cmd/internal/obj/s390x" "cmd/internal/obj/wasm" "cmd/internal/obj/x86" "fmt" "strings" ) // Pseudo-registers whose names are the constant name without the leading R. const ( RFP = -(iota + 1) RSB RSP RPC ) // Arch wraps the link architecture object with more architecture-specific information. type Arch struct { *obj.LinkArch // Map of instruction names to enumeration.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 24 12:32:56 UTC 2024 - 21.5K bytes - Viewed (0)