- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,429 for varr (0.11 sec)
-
internal/handlers/proxy.go
// https://raw.githubusercontent.com/gorilla/handlers/master/LICENSE, forked // and heavily modified for MinIO's internal needs. package handlers import ( "net" "net/http" "regexp" "strings" ) var ( // De-facto standard header keys. xForwardedFor = http.CanonicalHeaderKey("X-Forwarded-For") xForwardedHost = http.CanonicalHeaderKey("X-Forwarded-Host") xForwardedPort = http.CanonicalHeaderKey("X-Forwarded-Port")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 5.1K bytes - Viewed (0) -
internal/config/policy/opa/config.go
type opaResult struct { Result bool `json:"result"` } respBody := bytes.NewReader(opaRespBytes) var result opaResult if err = json.NewDecoder(respBody).Decode(&result); err != nil { respBody.Seek(0, 0) var resultAllow opaResultAllow if err = json.NewDecoder(respBody).Decode(&resultAllow); err != nil { return false, err } return resultAllow.Result.Allow, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
private lateinit var localhostIpv4: InetAddress private lateinit var localhostIpv6: InetAddress private lateinit var serverIpv4: MockWebServer private lateinit var serverIpv6: MockWebServer private val listener = RecordingEventListener() private lateinit var client: OkHttpClient private lateinit var url: HttpUrl /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/storage-rest-common_gen.go
import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *nsScannerOptions) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7.9K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bytes" "encoding/json" "flag" "fmt" "io" "log" "net/http" "strings" ) var ( keyFile string certFile string ) func init() { flag.StringVar(&keyFile, "key-file", "", "Path to TLS cert key file") flag.StringVar(&certFile, "cert-file", "", "Path to TLS cert file") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen_test.go
v := PoolDecommissionInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodePoolDecommissionInfo(b *testing.B) { v := PoolDecommissionInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 12 02:48:43 UTC 2022 - 11K bytes - Viewed (0) -
cmd/batch-job-common-types_gen_test.go
func BenchmarkEncodeBatchJobKV(b *testing.B) { v := BatchJobKV{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBatchJobKV(b *testing.B) { v := BatchJobKV{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 11.3K bytes - Viewed (0) -
cmd/batch-rotate_gen_test.go
v := BatchJobKeyRotateEncryption{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBatchJobKeyRotateEncryption(b *testing.B) { v := BatchJobKeyRotateEncryption{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 29 18:27:23 UTC 2023 - 11.8K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen_test.go
v := xlMetaDataDirDecoder{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodexlMetaDataDirDecoder(b *testing.B) { v := xlMetaDataDirDecoder{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Nov 18 20:15:22 UTC 2021 - 11.5K bytes - Viewed (0) -
cmd/xl-storage-errors.go
func isSysErrPathNotFound(err error) bool { if runtime.GOOS != globalWindowsOSName { var pathErr *os.PathError if errors.As(err, &pathErr) { return pathErr.Err == syscall.ENOENT } return false } var pathErr *os.PathError if errors.As(err, &pathErr) { var errno syscall.Errno if errors.As(pathErr.Err, &errno) { // ERROR_PATH_NOT_FOUND return errno == 0x03 } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K bytes - Viewed (0)