Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for agaric (0.39 sec)

  1. cmd/sftp-server-driver.go

    		n = len(b)
    	}
    
    again:
    	nextOut, ok := w.buffer[w.nextOffset]
    	if ok {
    		n, err = w.w.Write(nextOut)
    		delete(w.buffer, w.nextOffset)
    		w.nextOffset += int64(n)
    		if n != len(nextOut) {
    			return 0, fmt.Errorf("expected write size %d but wrote %d bytes", len(nextOut), n)
    		}
    		if err != nil {
    			return 0, err
    		}
    		goto again
    	}
    
    	return len(b), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. internal/store/batch_test.go

    	if len(items) != 1 {
    		t.Fatalf("Expected length of the batch items to be 1 but got %v", len(items))
    	}
    	if len(keys) != 1 {
    		t.Fatalf("Expected length of the batch keys to be 1 but got %v", len(items))
    	}
    	// try adding again after Get.
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(i, i); err != nil {
    			t.Fatalf("failed to add item %v to batch after Get; %v", i, err)
    		}
    		if _, ok := batch.GetByKey(i); !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    	ExecObjectLayerAPIAnonTest(t, obj, "PutBucketPolicyHandler", bucketName, "", instanceType, apiRouter, anonReq, getAnonWriteOnlyBucketPolicy(bucketName))
    
    	// HTTP request for testing when `objectLayer` is set to `nil`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  4. docs/distributed/decom-encrypted-sse-s3.sh

    ./mc encrypt set sse-s3 myminio/versioned
    
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    ## Soft delete (creates delete markers)
    ./mc rm -r --force myminio/versioned >/dev/null
    
    ## mirror again to create another set of version on top
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    expected_checksum=$(./mc cat internal/dsync/drwmutex.go | md5sum)
    
    user_count=$(./mc admin user list myminio/ | wc -l)
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. internal/config/errors.go

    		`Revert MINIO_KMS_KES_KEY_NAME or MINIO_ROOT_USER/MINIO_ROOT_PASSWORD (for older MinIO versions) to be able to decrypt the internal data again.`,
    	)
    
    	ErrInvalidCredentials = newErrFn(
    		"Invalid credentials",
    		"Please provide correct credentials",
    		`Access key length should be at least 3, and secret key length at least 8 characters`,
    	)
    
    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)
  6. internal/dsync/drwmutex.go

    	wg.Wait()
    
    	// Return true if releaseAll was successful, otherwise we return 'false'
    	// to indicate we haven't sufficiently unlocked lockers to avoid deadlocks.
    	//
    	// Caller may use this as an indication to call again.
    	return !checkFailedUnlocks(*locks, tolerance)
    }
    
    // Unlock unlocks the write lock.
    //
    // It is a run-time error if dm is not locked on entry to Unlock.
    func (dm *DRWMutex) Unlock(ctx context.Context) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cmd/global-heal.go

    		tracker.setObject("")
    		tracker.setBucket(bucket)
    		// Heal current bucket again in case if it is failed
    		// in the beginning of erasure set healing
    		if _, err := objAPI.HealBucket(ctx, bucket, madmin.HealOpts{
    			ScanMode: scanMode,
    		}); err != nil {
    			// Set this such that when we return this function
    			// we let the caller retry this disk again for the
    			// buckets that failed healing.
    			retErr = err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  8. cmd/data-usage-cache.go

    		return cycles == 1
    	}
    	return uint32(xxhash.Sum64String(string(h))>>32)%(cycles) == cycle%cycles
    }
    
    // addChild will add a child based on its hash.
    // If it already exists it will not be added again.
    func (e *dataUsageEntry) addChild(hash dataUsageHash) {
    	if _, ok := e.Children[hash.Key()]; ok {
    		return
    	}
    	if e.Children == nil {
    		e.Children = make(dataUsageHashMap, 1)
    	}
    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)
  9. cmd/notification.go

    			return err
    		}, index)
    	}
    	return sys.collectPeerMetrics(ctx, peerChannels, g)
    }
    
    // ServiceFreeze freezes all S3 API calls when 'freeze' is true,
    // 'freeze' is 'false' would resume all S3 API calls again.
    // NOTE: once a tenant is frozen either two things needs to
    // happen before resuming normal operations.
    //   - Server needs to be restarted 'mc admin service restart'
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    }
    
    // This test assumes that the policy for `accessKey` allows listing on the given
    // bucket. It creates a session policy that restricts listing on the bucket and
    // then enables it again in a session policy update call.
    func (c *check) assertSvcAccSessionPolicyUpdate(ctx context.Context, s *TestSuiteIAM, madmClient *madmin.AdminClient, accessKey, bucket string) {
    	c.Helper()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top