- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 165 for RES (0.03 sec)
-
internal/event/target/elasticsearch.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0) -
internal/handlers/proxy_test.go
} for _, v := range headers { req := &http.Request{ Header: http.Header{ v.key: []string{v.val}, }, } res := GetSourceScheme(req) if res != v.expected { t.Errorf("wrong header for %s: got %s want %s", v.key, res, v.expected) } } } // TestGetSourceIP - check the source ip of a request is parsed correctly. func TestGetSourceIP(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 3.2K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
var res Result if accountValue == "minio" { res.Result = true } else { // All other users may not perform any `s3:Put*` operations. res.Result = true if strings.HasPrefix(actionValue, "s3:Put") { res.Result = false } } fmt.Printf("account: %v | action: %v | allowed: %v\n", accountValue, actionValue, res.Result) json.NewEncoder(w).Encode(res) return } func main() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
func matcher(text, pat string, leadingPercent bool) (res string, match bool) { if !leadingPercent { res = strings.TrimPrefix(text, pat) if len(text) == len(res) { return "", false } } else { parts := strings.SplitN(text, pat, 2) if len(parts) == 1 { return "", false } res = parts[1] } return res, true } func dropRune(text string) (res string, ok bool) { r := []rune(text)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
// The sidecar can be a normal container or init in Kubernetes 1.28+ func containers(pod *v1.Pod) []v1.Container { res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers)) res = append(res, pod.Spec.InitContainers...) res = append(res, pod.Spec.Containers...) return res } func (pi PodInfo) String() string { var b strings.Builder
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 3.7K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
// This happens with kernels as recent as Fedora38, e.g: 6.4.11-200.fc38.aarch64 func (m *realDeps) clearEntriesWithComment(name, comment string) error { res, err := netlink.IpsetList(name) if err != nil { return fmt.Errorf("failed to list ipset %s: %w", name, err) } for _, entry := range res.Entries { if entry.Comment == comment { err := netlink.IpsetDel(name, &entry) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/SuggestTests.java
String response = checkGetMethod(searchBody, "").asString(); final Map<String, Object> res = JsonPath.from(response).getMap("response.setting"); assertTrue(res.containsKey("total_words_num")); assertTrue(res.containsKey("document_words_num")); assertTrue(res.containsKey("query_words_num")); assertEquals(new Integer(0), JsonPath.from(response).get("response.status")); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient_test.go
// Fake out a test HTTP server and use that instead of a real HTTP server over gRPC to validate req/resp flows testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) })) defer func() { testServer.Close() }() cniC := fakeCNIEventClient(testServer.URL)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 4.2K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
res := make([]Value, len(e.Elements)) if len(e.Elements) == 1 { // If length 1, treat as single value. return e.Elements[0].evalNode(r, tableAlias) } for i, elt := range e.Elements { v, err := elt.evalNode(r, tableAlias) if err != nil { return nil, err } res[i] = *v } return FromArray(res), nil } const floatCmpTolerance = 0.000001
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0) -
cmd/kms-handlers.go
if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } if res, err := json.Marshal(metrics); err != nil { writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) } else { writeSuccessResponseJSON(w, res) } } // KMSAPIsHandler - GET /minio/kms/v1/apis
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 10.1K bytes - Viewed (0)