Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for heslo (0.19 sec)

  1. cmd/xl-storage_unix_test.go

    	if err = disk.AppendFile(context.Background(), testCase.volName, pathJoin("hello-world.txt", xlStorageFormatFile), []byte("Hello World")); err != nil {
    		t.Fatalf("Create a file `test` failed with %s expected to pass.", err)
    	}
    
    	// CheckFile - stat the file.
    	if _, err := disk.StatInfoFile(context.Background(), testCase.volName, "hello-world.txt/"+xlStorageFormatFile, false); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	req.RequestURI = "/?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=USWUXHGYZQYFYFFIT3RE%2F20170529%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170529T190139Z&X-Amz-Expires=600&X-Amz-Signature=19b58080999df54b446fc97304eb8dda60d3df1812ae97f3e8783351bfd9781d&X-Amz-SignedHeaders=host&prefix=Hello%2AWorld%2A"
    	req.Header.Set("content-md5", "====test")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. internal/http/server_test.go

    	"testing"
    
    	"github.com/minio/pkg/v2/certs"
    )
    
    func TestNewServer(t *testing.T) {
    	nonLoopBackIP := getNonLoopBackIP(t)
    	handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		fmt.Fprintf(w, "Hello, world")
    	})
    
    	testCases := []struct {
    		addrs   []string
    		handler http.Handler
    		certFn  certs.GetCertificateFunc
    	}{
    		{[]string{"127.0.0.1:9000"}, handler, nil},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. docs/sts/client-grants.go

    	}
    
    	u, err := url.Parse(stsEndpoint)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	clnt, err := minio.New(u.Host, opts)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	d := bytes.NewReader([]byte("Hello, World"))
    	n, err := clnt.PutObject(context.Background(), "my-bucketname", "my-objectname", d, d.Size(), minio.PutObjectOptions{})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  5. internal/s3select/json/testdata/3.json

    {"hello":"wor{l}d"}...
    Json
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 20 bytes
    - Viewed (0)
  6. cmd/xl-storage_windows_test.go

    	}
    
    	err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to create a file that includes a file in its path components.
    	// In *nix, this returns syscall.ENOTDIR while in windows we receive the following error.
    	err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello"))
    	if err != errFileAccessDenied {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  7. internal/event/config_test.go

    		filterRuleList FilterRuleList
    		expectedResult string
    	}{
    		{FilterRuleList{}, ""},
    		{FilterRuleList{[]FilterRule{{"prefix", "Hello/世界"}}}, "Hello/世界*"},
    		{FilterRuleList{[]FilterRule{{"suffix", "foo/bar"}}}, "*foo/bar"},
    		{FilterRuleList{[]FilterRule{{"prefix", "Hello/世界"}, {"suffix", "foo/bar"}}}, "Hello/世界*foo/bar"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.filterRuleList.Pattern()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  8. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create file, %s", err)
    	}
    
    	if err := xlStorage.AppendFile(context.Background(), "src-vol", "file2", []byte("Hello, world")); err != nil {
    		t.Fatalf("Unable to create file, %s", err)
    	}
    	if err := xlStorage.AppendFile(context.Background(), "src-vol", "file3", []byte("Hello, world")); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  9. internal/pubsub/pubsub_test.go

    	doneCh1 := make(chan struct{})
    	defer close(doneCh1)
    	if err := ps.Subscribe(MaskAll, ch1, doneCh1, func(entry Maskable) bool { return true }); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	val := maskString("hello")
    	ps.Publish(val)
    	msg := <-ch1
    	if msg != val {
    		t.Fatalf(fmt.Sprintf("expected %s , found %s", val, msg))
    	}
    }
    
    func TestMultiPubSub(t *testing.T) {
    	ps := New[Maskable, Maskable](2)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    	}
    
    	objectName := `\../.minio.sys/config/hello.txt`
    
    	// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    	rec := httptest.NewRecorder()
    	// construct HTTP request for Get Object end point.
    	req, err := newTestSignedRequestV4(http.MethodPut, getPutObjectURL("", bucketName, objectName),
    		int64(5), bytes.NewReader([]byte("hello")), credentials.AccessKey, credentials.SecretKey, map[string]string{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top