Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 185 for texts (0.19 sec)

  1. cmd/post-policy_test.go

    			}
    		}
    	}
    }
    
    // Wrapper for calling TestPostPolicyBucketHandler tests for both Erasure multiple disks and single node setup.
    func TestPostPolicyBucketHandler(t *testing.T) {
    	ExecObjectLayerTest(t, testPostPolicyBucketHandler)
    }
    
    // testPostPolicyBucketHandler - Tests validate post policy handler uploading objects.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. internal/grid/benchmark_test.go

    				}
    			})
    		}
    	})
    }
    
    func BenchmarkStream(b *testing.B) {
    	tests := []struct {
    		name string
    		fn   func(b *testing.B, n int)
    	}{
    		{name: "request", fn: benchmarkGridStreamReqOnly},
    		{name: "responses", fn: benchmarkGridStreamRespOnly},
    	}
    	for _, test := range tests {
    		b.Run(test.name, func(b *testing.B) {
    			for n := 2; n <= 32; n *= 2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/help.go

    			Description: `trust server TLS without verification` + defaultHelpPostfix(TLSSkipVerify),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         ServerInsecure,
    			Description: `allow plain text connection to AD/LDAP server` + defaultHelpPostfix(ServerInsecure),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         ServerStartTLS,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  4. internal/jwt/parser_test.go

    	j := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    	tk, _ := j.SignedString([]byte("HelloSecret"))
    	return tk
    }
    
    func TestParserParse(t *testing.T) {
    	// Iterate over test data set and run tests
    	for _, data := range jwtTestData {
    		data := data
    		t.Run(data.name, func(t *testing.T) {
    			// Parse the token
    			var err error
    
    			// Figure out correct claims type
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  5. cmd/update-notifier_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    )
    
    // Tests update notifier string builder.
    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. internal/event/target/postgresql.go

    			valid = false
    			return -1
    		}
    	}, name)
    
    	if valid {
    		// check for simple name or quoted name
    		// - letter/underscore followed by one or more letter/digit/underscore
    		// - any text between quotes (text cannot contain a quote itself)
    		if match, err := regexp.MatchString("^[a_][a0_$]*$", cleaned); err != nil {
    			return err
    		} else if match {
    			return nil
    		}
    	}
    
    	return errInvalidPsqlTablename
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. docs/debugging/hash-set/main.go

    		if err != nil {
    			log.Fatalln(err)
    		}
    		b = bytes.ReplaceAll(b, []byte("\r"), []byte{})
    		sc := bufio.NewScanner(bytes.NewBuffer(b))
    		for sc.Scan() {
    			object = strings.TrimSpace(sc.Text())
    			set := sipHashMod(prefix+object, setCount, id)
    			distrib[set] = append(distrib[set], prefix+object)
    		}
    		for set, files := range distrib {
    			fmt.Println("Set:", set+1, "Objects:", len(files))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  8. internal/bucket/encryption/bucket-sse-config_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sse
    
    import (
    	"bytes"
    	"encoding/xml"
    	"errors"
    	"testing"
    )
    
    // TestParseBucketSSEConfig performs basic sanity tests on ParseBucketSSEConfig
    func TestParseBucketSSEConfig(t *testing.T) {
    	actualAES256NoNSConfig := &BucketSSEConfig{
    		XMLName: xml.Name{
    			Local: "ServerSideEncryptionConfiguration",
    		},
    		Rules: []Rule{
    			{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    // The returned function should always be called to release resources.
    // An optional error can be sent which will be picked as text only error,
    // without its original type by the receiver.
    // waitForHTTPResponse should be used to the receiving side.
    func keepHTTPReqResponseAlive(w http.ResponseWriter, r *http.Request) (resp func(error), body io.ReadCloser) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. docs/bucket/replication/setup_3site_replication.sh

    s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9005/ -bucket olockbucket
    s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9006/ -bucket olockbucket
    
    # additional tests for encryption object alignment
    go install -v github.com/minio/multipart-debug@latest
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top