- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 275 for fatjar (0.08 sec)
-
cmd/signature-v4-utils_test.go
req, err := newTestRequest(http.MethodGet, "http://example.com:9000/bucket/object", 0, nil) if err != nil { t.Fatal(err) } if err = signRequestV4(req, globalActiveCred.AccessKey, globalActiveCred.SecretKey); err != nil { t.Fatal(err) } _, owner, s3Err := checkKeyValid(req, globalActiveCred.AccessKey) if s3Err != ErrNone {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
internal/s3select/json/preader_test.go
) func TestNewPReader(t *testing.T) { files, err := os.ReadDir("testdata") if err != nil { t.Fatal(err) } for _, file := range files { t.Run(file.Name(), func(t *testing.T) { f, err := os.Open(filepath.Join("testdata", file.Name())) if err != nil { t.Fatal(err) } r := NewPReader(f, &ReaderArgs{}) var record sql.Record for { record, err = r.Read(record)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 2.5K bytes - Viewed (0) -
internal/s3select/json/reader_test.go
) func TestNewReader(t *testing.T) { files, err := os.ReadDir("testdata") if err != nil { t.Fatal(err) } for _, file := range files { t.Run(file.Name(), func(t *testing.T) { f, err := os.Open(filepath.Join("testdata", file.Name())) if err != nil { t.Fatal(err) } r := NewReader(f, &ReaderArgs{}) var record sql.Record for { record, err = r.Read(record)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 2.5K bytes - Viewed (0) -
cmd/crossdomain-xml-handler_test.go
handler := setCrossDomainPolicyMiddleware(router) srv := httptest.NewServer(handler) resp, err := http.Get(srv.URL + crossDomainXMLEntity) if err != nil { t.Fatal(err) } if resp.StatusCode != http.StatusOK { t.Fatal("Unexpected http status received", resp.Status) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jul 08 14:31:42 UTC 2023 - 1.3K bytes - Viewed (0) -
src/bufio/scan_test.go
defer func() { err := recover() if err == nil { t.Fatal("should have panicked") } if msg, ok := err.(string); !ok || !strings.Contains(msg, "empty tokens") { panic(err) } }() for count := 0; s.Scan(); count++ { if count > 1000 { t.Fatal("looping") } } if s.Err() != nil { t.Fatal("after scan:", s.Err()) } } func TestBlankLines(t *testing.T) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
cmd/sftp-server.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
internal/logger/console.go
} } // Fatal prints only fatal error message with no stack trace // it will be called for input validation failures func Fatal(err error, msg string, data ...interface{}) { fatal(err, msg, data...) } func fatal(err error, msg string, data ...interface{}) { if msg == "" { if len(data) > 0 { msg = fmt.Sprint(data...) } else { msg = "a fatal error" } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 7.5K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 15.3K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
p.Ensure("123") found := false snap := p.ReadCurrentPodSnapshot() for k, v := range snap { if k == "123" && v == (WorkloadInfo{}) { found = true } } if !found { t.Fatal("expected pod 123 to be in the cache") } } func TestUpsertPodCacheWithLiveNetns(t *testing.T) { p := newPodNetnsCache(openNsTestOverride) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 4.2K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
if len(mockIntercept.lastRedirect) != 0 { t.Fatal("Didnt Expect nsenterFunc to be called because this pod does not contain a sidecar") } } func TestCmdAddExcludePod(t *testing.T) { pod, ns := buildFakePodAndNSForClient() mockIntercept := testDoAddRun(t, buildMockConf(true), "testExcludeNS", pod, ns) if len(mockIntercept.lastRedirect) != 0 { t.Fatal("failed to exclude pod") } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0)