Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 80 for Rashed (0.26 sec)

  1. cmd/encryption-v1.go

    )
    
    // metadataEncrypter returns a function that will read data from input,
    // encrypt it using the provided key and return the result.
    // 0 sized inputs are passed through.
    func metadataEncrypter(key crypto.ObjectKey) objectMetaEncryptFn {
    	return func(baseKey string, data []byte) []byte {
    		if len(data) == 0 {
    			return data
    		}
    		var buffer bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    			return nil, errDiskAccessDenied
    		}
    		storageLogOnceIf(GlobalContext, err, "check-format-json") // log unexpected errors
    		return nil, errCorruptedBackend
    	}
    	return fi, nil
    }
    
    // GetDiskID - returns the cached disk uuid
    func (s *xlStorage) GetDiskID() (string, error) {
    	s.RLock()
    	diskID := s.diskID
    	fileInfo := s.formatFileInfo
    	lastCheck := s.formatLastCheck
    
    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)
  3. cmd/storage-rest-server.go

    					return false
    				}
    				storage := newXLStorageDiskIDCheck(xl, true)
    				storage.SetDiskID(xl.diskID)
    				// We do not have to do SetFormatData() since 'xl'
    				// already captures formatData cached.
    
    				globalLocalDrivesMu.Lock()
    				defer globalLocalDrivesMu.Unlock()
    
    				globalLocalDrives = append(globalLocalDrives, storage)
    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)
  4. cni/pkg/nodeagent/podcgroupns.go

    }
    
    func GetFd(f fs.File) (uintptr, error) {
    	if fdable, ok := f.(interface{ Fd() uintptr }); ok {
    		return fdable.Fd(), nil
    	}
    
    	return 0, fmt.Errorf("unable to get fd")
    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. cmd/data-usage_test.go

    	got, err := scanDataFolder(context.Background(), nil, base, dataUsageCache{Info: dataUsageCacheInfo{Name: "bucket"}}, getSize, 0, weSleep)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if got.root() == nil {
    		t.Log("cached folders:")
    		for folder := range got.Cache {
    			t.Log("folder:", folder)
    		}
    		t.Fatal("got nil root.")
    	}
    
    	// Test dirs
    	want := []struct {
    		path       string
    		isNil      bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. cmd/iam.go

    	entityKeysInStorage := set.NewStringSet()
    	if iamOS, ok := sys.store.IAMStorageAPI.(*IAMObjectStore); ok {
    		// Load existing mapping keys from the cached listing for
    		// `IAMObjectStore`.
    		iamFilesListing := iamOS.cachedIAMListing.Load().(map[string][]string)
    		listKey := policyDBSTSUsersListKey
    		if isGroup {
    			listKey = policyDBGroupsListKey
    		}
    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/erasure-server-pool.go

    // that all buckets are present on all serverPools.
    func (z *erasureServerPools) ListBuckets(ctx context.Context, opts BucketOptions) (buckets []BucketInfo, err error) {
    	if opts.Cached {
    		listBucketsCache.InitOnce(time.Second,
    			cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    			func() ([]BucketInfo, error) {
    				ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    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)
  8. cmd/metrics-v2.go

    	}
    	for k, v := range m.VariableLabels {
    		metric.VariableLabels[k] = v
    	}
    	for k, v := range m.Histogram {
    		metric.Histogram[k] = v
    	}
    	return metric
    }
    
    // Get - returns cached value always upton the configured TTL,
    // once the TTL expires "read()" registered function is called
    // to return the new values and updated.
    func (g *MetricsGroupV2) Get() (metrics []MetricV2) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    						w.WriteHeader(ci.StatusCode)
    						return
    					}
    
    					// We did not satisfy any requirement from the cache, update the cache.
    					// this basically means that we do not have the Data for the object
    					// cached yet
    					update = true
    				})
    				if !update {
    					// No update is needed means we have written already to the client just return here.
    					return
    				}
    			}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. internal/config/errors.go

    		"Overlapping domain values",
    		"Please check the passed value",
    		"MINIO_DOMAIN only accepts non-overlapping domain values",
    	)
    
    	ErrInvalidDomainValue = newErrFn(
    		"Invalid domain value",
    		"Please check the passed value",
    		"Domain can only accept DNS compatible values",
    	)
    
    	ErrInvalidErasureSetSize = newErrFn(
    		"Invalid erasure set size",
    		"Please check the passed value",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top