Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for above (0.14 sec)

  1. cmd/data-usage-cache.go

    			// spl interval: [1024B, 1MiB)
    			res[szInt.name] = splCount
    		case humanize.KiByte <= szInt.start && szInt.end <= humanize.MiByte-1:
    			// intervals that fall within the spl interval above; they
    			// appear earlier in this array of intervals, see
    			// ObjectsHistogramIntervals
    			splCount += count
    			fallthrough
    		default:
    			res[szInt.name] = count
    		}
    	}
    	return res
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. internal/auth/credentials.go

    	Description  string                 `xml:"-" json:"description,omitempty"`
    
    	// Deprecated: In favor of Description - when reading credentials from
    	// storage the value of this field is placed in the Description field above
    	// if the existing Description from storage is empty.
    	Comment string `xml:"-" json:"comment,omitempty"`
    }
    
    func (cred Credentials) String() string {
    	var s strings.Builder
    	s.WriteString(cred.AccessKey)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    // This keeps the cache size at a reasonable size for all buckets.
    //
    // Whenever a branch is scanned, it is assumed that it will be un-compacted
    // before it hits any of the above limits.
    // This will make the branch rebalance itself when scanned if the distribution of objects has changed.
    
    // scanDataFolder will scanner the basepath+cache.Info.Name and return an updated cache.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    directives, not the environment variables, so that builds work in
    unmodified environments. Flags obtained from environment variables
    are not subject to the security limitations described above.
    
    All the cgo CPPFLAGS and CFLAGS directives in a package are concatenated and
    used to compile C files in that package. All the CPPFLAGS and CXXFLAGS
    directives in a package are concatenated and used to compile C++ files in that
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  5. internal/logger/target/http/http.go

    				// Even if there is nothing in the queue.
    				if time.Since(lastBatchProcess).Seconds() < 1 {
    					continue
    				}
    			}
    		}
    
    		lastBatchProcess = time.Now()
    
    	retry:
    		// If the channel reaches above half capacity
    		// we spawn more workers. The workers spawned
    		// from this main worker routine will exit
    		// once the channel drops below half capacity
    		// and when it's been at least 30 seconds since
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. cmd/iam-object-store.go

    				fmt.Errorf("unable to load user during STS purge: %w (%s)", err, item))
    		}
    
    	}
    	// Loading the STS policy mappings from disk ensures that stale entries
    	// (removed during loadUser() in the loop above) are removed from memory.
    	for _, item := range iamListing[policyDBSTSUsersListKey] {
    		stsName := strings.TrimSuffix(item, ".json")
    		err := iamOS.loadMappedPolicy(ctx, stsName, stsUser, false, stsAccPoliciesFromStore)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    			hr := healResp{respBytes, apiErr, errMsg}
    			respCh <- hr
    		}()
    	}
    
    	// Due to the force-starting functionality, the Launch
    	// call above can take a long time - to keep the
    	// connection alive, we start sending whitespace
    	keepConnLive(w, r, respCh)
    }
    
    // getAggregatedBackgroundHealState returns the heal state of disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  8. src/cmd/cgo/gcc.go

    // Note that the specific integers used to identify the
    // specific tagged classes can and will change from release
    // to release (that's why this stuff is in CF*Internal*.h),
    // as can the definition of type info vs payload above.
    //
    #if __LP64__
    #define CF_IS_TAGGED_OBJ(PTR)	((uintptr_t)(PTR) & 0x1)
    #define CF_TAGGED_OBJ_TYPE(PTR)	((uintptr_t)(PTR) & 0xF)
    #else
    #define CF_IS_TAGGED_OBJ(PTR)	0
    #define CF_TAGGED_OBJ_TYPE(PTR)	0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    	opts := ObjectOptions{}
    	// Initiate Multipart Upload on the above created bucket.
    	res, err := obj.NewMultipartUpload(context.Background(), bucket, object, opts)
    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    			_, err := io.CopyBuffer(&rdrBuf, r, buf)
    			if err != nil {
    				t.Fatal(err)
    			}
    			r.Close()
    			idx := idxCB()
    			if !tt.wantIdx && len(idx) > 0 {
    				t.Errorf("index returned above threshold")
    			}
    			if tt.wantIdx {
    				if idx == nil {
    					t.Errorf("no index returned")
    				}
    				var index s2.Index
    				_, err = index.Load(s2.RestoreIndexHeaders(idx))
    				if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top