Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for Fontaine (0.16 sec)

  1. cmd/object-api-datatypes.go

    	Uploads []MultipartInfo
    
    	// When a prefix is provided in the request, The result contains only keys
    	// starting with the specified prefix.
    	Prefix string
    
    	// A character used to truncate the object prefixes.
    	// NOTE: only supported delimiter is '/'.
    	Delimiter string
    
    	// CommonPrefixes contains all (if there are any) keys between Prefix and the
    	// next occurrence of the string specified by delimiter.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  2. cmd/metacache-entries.go

    		for _, o := range m.o {
    			ext := strings.TrimPrefix(o.name, prefix)
    			if len(ext) != len(o.name) {
    				if !strings.Contains(ext, separator) {
    					dst = append(dst, o)
    				}
    			}
    		}
    	} else {
    		// No prefix, simpler
    		for _, o := range m.o {
    			if !strings.Contains(o.name, separator) {
    				dst = append(dst, o)
    			}
    		}
    	}
    	m.o = dst
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils_test.go

    	}
    
    	// Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers.
    	if extractedExpect != expectedExpect {
    		t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect)
    	}
    
    	// case where the headers don't contain the one of the signed header in the signed headers list.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    // Its valid to have a empty prefix.
    func IsValidObjectPrefix(object string) bool {
    	if hasBadPathComponent(object) {
    		return false
    	}
    	if !utf8.ValidString(object) {
    		return false
    	}
    	if strings.Contains(object, `//`) {
    		return false
    	}
    	// This is valid for AWS S3 but it will never
    	// work with file systems, we will reject here
    	// to return object name invalid rather than
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    	nTCP := 0
    	for _, filterChain := range getFilterChains(l) {
    		for _, filter := range filterChain.GetFilters() {
    			if filter.Name == HTTPListener {
    				nHTTP++
    			} else if filter.Name == TCPListener {
    				if !strings.Contains(string(filter.GetTypedConfig().GetValue()), util.BlackHoleCluster) {
    					nTCP++
    				}
    			}
    		}
    	}
    
    	if nHTTP > 0 {
    		if nTCP == 0 {
    			return "HTTP"
    		}
    		return "HTTP+TCP"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload_test.go

    	"root-cert.pem": true,
    	"cluster.env":   true,
    }
    
    const goldenSuffix = ".golden"
    
    // TestWorkloadEntryConfigure enumerates test cases based on subdirectories of testdata/vmconfig.
    // Each subdirectory contains two input files: workloadgroup.yaml and meshconfig.yaml that are used
    // to generate golden outputs from the VM command.
    func TestWorkloadEntryConfigure(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. src/bytes/example_test.go

    		// Found it!
    	}
    }
    
    func ExampleContains() {
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("bar")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("")))
    	fmt.Println(bytes.Contains([]byte(""), []byte("")))
    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  8. cmd/bucket-lifecycle-handlers_test.go

    		body []byte
    		// Expected response
    		expectedRespStatus int
    		lifecycleResponse  []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Filter contains more than (Prefix,Tag,And) rule
    		{
    			method:             http.MethodPut,
    			bucketName:         bucketName,
    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  9. chainable_api.go

    //
    //	// Get a user
    //	db.Table("users").Take(&result)
    func (db *DB) Table(name string, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if strings.Contains(name, " ") || strings.Contains(name, "`") || len(args) > 0 {
    		tx.Statement.TableExpr = &clause.Expr{SQL: name, Vars: args}
    		if results := tableRegexp.FindStringSubmatch(name); len(results) == 3 {
    			if results[1] != "" {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  10. src/archive/zip/reader.go

    //
    // If any file inside the archive uses a non-local name
    // (as defined by [filepath.IsLocal]) or a name containing backslashes
    // and the GODEBUG environment variable contains `zipinsecurepath=0`,
    // OpenReader returns the reader with an ErrInsecurePath error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top