Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for We (0.15 sec)

  1. cmd/xl-storage.go

    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// We should only update the in-memory cache if there were no changes
    	// to the in-memory cache since the disk loading began. If there
    	// were changes to the in-memory cache we should wait for the next
    	// cycle until we can safely update the in-memory cache.
    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. internal/s3select/select_test.go

    		input      []byte
    		requestXML []byte // override request XML
    		wantResult string
    		wantErr    bool
    	}{
    		{
    			name:  "select-all",
    			input: testInput,
    			query: ``,
    			// Since we are doing offset, no headers are used.
    			wantResult: `{"_1":"2","_2":"2017-01-02T03:04Z","_3":"-5","_4":" 0.765111","_5":""}`,
    			requestXML: []byte(`<?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		// Note: we should not be defer'ing the following closeBitrotReaders() call as
    		// we are inside a for loop i.e if we use defer, we would accumulate a lot of open files by the time
    		// we return from this function.
    		closeBitrotReaders(readers)
    		if err != nil {
    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/erasure-server-pool.go

    	go func() {
    		updateTicker := time.NewTicker(30 * time.Second)
    		defer updateTicker.Stop()
    		var lastUpdate time.Time
    
    		// We need to merge since we will get the same buckets from each pool.
    		// Therefore to get the exact bucket sizes we must merge before we can convert.
    		var allMerged dataUsageCache
    
    		update := func() {
    			mu.Lock()
    			defer mu.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/iam.go

    		// There are multiple role ARNs for parent user only when there
    		// are multiple openid provider configurations with the same ID
    		// provider. We lookup the provider associated with some one of
    		// the roleARNs to check if the user still exists. If they don't
    		// we can safely remove credentials for this parent user
    		// associated with any of the provider configurations.
    		//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/api-errors.go

    		Description:    "Access Denied.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrBadDigest: {
    		Code:           "BadDigest",
    		Description:    "The Content-Md5 you specified did not match what we received.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrEntityTooSmall: {
    		Code:           "EntityTooSmall",
    		Description:    "Your proposed upload is smaller than the minimum allowed object size.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  8. cmd/sts-handlers_test.go

        "version": 0,
        "policy": "readwrite",
        "updatedAt": "2024-04-23T21:34:43.815519816Z"
      }
    }
    `,
    		// Contains:
    		//
    		// 1. duplicate mapping with same policy, we should not error out;
    		//
    		// 2. non-LDAP group mapping, we should not error out;
    		groupPolicyMappingsFile: `{
        "cn=project.c,ou=groups,ou=swengg,DC=min,dc=io": {
            "version": 0,
            "policy": "consoleAdmin",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	//
    	// If we see an error at not-declared:xxx, the corresponding name is not declared.
    	// If we see an error at not-type:xxx, the corresponding name is not a type.
    	// If we see an error at not-int-const:xxx, the corresponding name is not an integer constant.
    	// If we see an error at not-num-const:xxx, the corresponding name is not a number constant.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    			// we will reject such group names.
    			if errors.Is(gerr, errNoSuchGroup) && hasSpaceBE(updReq.Group) {
    				writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    				return
    			}
    		}
    
    		if globalIAMSys.LDAPConfig.Enabled() {
    			// We don't allow internal group manipulation in this API when LDAP
    			// is enabled for now.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top