- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 1,274 for Var (0.02 seconds)
-
cmd/api-router.go
path string } var rejectedObjAPIs = []rejectedAPI{ { api: "torrent", methods: []string{http.MethodPut, http.MethodDelete, http.MethodGet}, queries: []string{"torrent", ""}, path: "/{object:.+}", }, { api: "acl", methods: []string{http.MethodDelete}, queries: []string{"acl", ""}, path: "/{object:.+}", }, } var rejectedBucketAPIs = []rejectedAPI{ {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 23.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
private val http2Connection: Http2Connection, ) : ExchangeCodec { @Volatile private var stream: Http2Stream? = null private val protocol: Protocol = if (Protocol.H2_PRIOR_KNOWLEDGE in client.protocols) { Protocol.H2_PRIOR_KNOWLEDGE } else { Protocol.HTTP_2 } @Volatile private var canceled = false override val isResponseComplete: BooleanCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 7K bytes - Click Count (0) -
internal/config/lambda/parse.go
} } } return targetList, nil } // DefaultLambdaKVS - default notification list of kvs. var ( DefaultLambdaKVS = map[string]config.KVS{ config.LambdaWebhookSubSys: DefaultWebhookKVS, } ) // DefaultWebhookKVS - default KV for webhook config var ( DefaultWebhookKVS = config.KVS{ config.KV{ Key: config.Enable, Value: config.EnableOff, }, config.KV{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0) -
internal/http/response-recorder.go
n, _ := fmt.Fprintf(w, "%s: %s\n", k, v[0]) lrw.headerBytesWritten += n } } // blobBody returns a dummy body placeholder for blob (binary stream) var blobBody = []byte("<BLOB>") // gzippedBody returns a dummy body placeholder for gzipped content var gzippedBody = []byte("<GZIP>") // Body - Return response body. func (lrw *ResponseRecorder) Body() []byte { if lrw.Header().Get("Content-Encoding") == "gzip" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.5K bytes - Click Count (0) -
internal/grid/handlers.go
func (r *RemoteErr) Is(other error) bool { if r == nil || other == nil { return r == other } var o RemoteErr if errors.As(other, &o) { return r == &o } return false } // IsRemoteErr returns the value if the error is a RemoteErr. func IsRemoteErr(err error) *RemoteErr { var r RemoteErr if errors.As(err, &r) { return &r } return nil } type (
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 27.7K bytes - Click Count (0) -
cmd/authtype_string.go
package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[authTypeUnknown-0] _ = x[authTypeAnonymous-1] _ = x[authTypePresigned-2] _ = x[authTypePresignedV2-3] _ = x[authTypePostPolicy-4] _ = x[authTypeStreamingSigned-5] _ = x[authTypeSigned-6]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat May 06 02:53:12 GMT 2023 - 1.1K bytes - Click Count (0) -
internal/config/bool-flag_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package config import ( "testing" ) // Test BoolFlag.String() func TestBoolFlagString(t *testing.T) { var bf BoolFlag testCases := []struct { flag BoolFlag expectedResult string }{ {bf, "off"}, {BoolFlag(true), "on"}, {BoolFlag(false), "off"}, } for _, testCase := range testCases {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.5K bytes - Click Count (0) -
internal/config/callhome/callhome.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 2.6K bytes - Click Count (0) -
src/bytes/export_test.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bytes // Export func for testing
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Apr 24 00:56:36 GMT 2019 - 244 bytes - Click Count (0) -
internal/config/notify/parse.go
) func logOnceIf(ctx context.Context, err error, id string, errKind ...any) { logger.LogOnceIf(ctx, logSubsys, err, id, errKind...) } // ErrTargetsOffline - Indicates single/multiple target failures. var ErrTargetsOffline = errors.New("one or more targets are offline. Please use `mc admin info --json` to check the offline targets") // TestSubSysNotificationTargets - tests notification targets of given subsystem
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 47.5K bytes - Click Count (0)