Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for James (0.17 sec)

  1. internal/dsync/drwmutex.go

    }
    
    // NewDRWMutex - initializes a new dsync RW mutex.
    func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex {
    	restClnts, _ := clnt.GetLockers()
    	sort.Strings(names)
    	return &DRWMutex{
    		writeLocks:           make([]string, len(restClnts)),
    		readLocks:            make([]string, len(restClnts)),
    		Names:                names,
    		clnt:                 clnt,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    			case *ast.ValueSpec:
    				if isDeprecated(n.Doc) {
    					for _, id := range n.Names {
    						mark(id)
    					}
    				}
    				return false
    			case *ast.Field:
    				if isDeprecated(n.Doc) {
    					for _, id := range n.Names {
    						mark(id)
    					}
    					if len(n.Names) == 0 {
    						// embedded field T or *T?
    						typ := n.Type
    						if ptr, ok := typ.(*ast.StarExpr); ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  3. internal/kms/kes.go

    	}, nil
    }
    
    // IsLocal returns true if the KMS is a local implementation
    func (c *kesClient) IsLocal() bool {
    	return env.IsSet(EnvKMSSecretKey)
    }
    
    // List returns an array of local KMS Names
    func (c *kesClient) List() []kes.KeyInfo {
    	var kmsSecret []kes.KeyInfo
    	envKMSSecretKey := env.Get(EnvKMSSecretKey, "")
    	values := strings.SplitN(envKMSSecretKey, ":", 2)
    	if len(values) == 2 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. tests/query_test.go

    		t.Fatalf("SQL should include selected names, but got %v", result.Statement.SQL.String())
    	}
    
    	result = DB.Session(&gorm.Session{DryRun: true}).Model(&User{}).Find(&User{}, user.ID)
    
    	if regexp.MustCompile("SELECT .*name.* FROM .*users").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("SQL should not include selected names, but got %v", result.Statement.SQL.String())
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    	"favicon-32x32.png": {},
    	"favicon-96x96.png": {},
    	"index.html":        {},
    	minioReservedBucket: {},
    }
    
    // Fetch redirect location if urlPath satisfies certain
    // criteria. Some special names are considered to be
    // redirectable, this is purely internal function and
    // serves only limited purpose on redirect-handler for
    // browser requests.
    func getRedirectLocation(r *http.Request) *xnet.URL {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    		if prefix == "" {
    			// if all objects are not deleted yet this call may fail.
    			return clnt.RemoveBucket(cctx, bucket)
    		}
    
    		objectsCh := make(chan minio.ObjectInfo)
    
    		// Send object names that are needed to be removed to objectsCh
    		go func() {
    			defer xioutil.SafeClose(objectsCh)
    			opts := minio.ListObjectsOptions{
    				Prefix:    prefix,
    				Recursive: true,
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    			}
    			buf.WriteString(signV4TrimAll(v))
    		}
    		buf.WriteByte('\n')
    	}
    	return buf.String()
    }
    
    // getSignedHeaders generate a string i.e alphabetically sorted, semicolon-separated list of lowercase request header names
    func getSignedHeaders(signedHeaders http.Header) string {
    	var headers []string
    	for k := range signedHeaders {
    		headers = append(headers, strings.ToLower(k))
    	}
    	sort.Strings(headers)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. cmd/admin-handlers_test.go

    	for i := 0; i < 4; i++ {
    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    	// Simulate DeleteObjects of 10 objects in a single request. i.e same lock
    	// request UID, but 10 different resource names associated with it.
    	var lris []lockRequesterInfo
    	uuid := mustGetUUID()
    	for i := 0; i < 10; i++ {
    		resource := fmt.Sprintf("bucket/delete-object-%d", i)
    		lri := lockRequesterInfo{
    			Name:   resource,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    // TestIssue12594 tests that the Writer does not attempt to populate the prefix
    // field when encoding a header in the GNU format. The prefix field is valid
    // in USTAR and PAX, but not GNU.
    func TestIssue12594(t *testing.T) {
    	names := []string{
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/file.txt",
    		"0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/file.txt",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    // Next returns the header 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
    // the [ErrInsecurePath] error and use the returned header.
    func (tr *Reader) Next() (*Header, error) {
    	if tr.err != nil {
    		return nil, tr.err
    	}
    	hdr, err := tr.next()
    	tr.err = err
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top