Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 673 for mirrors (0.07 sec)

  1. tests/named_argument_test.go

    		t.Errorf("should return record not found error, but got %v", err)
    	}
    
    	DB.Delete(&namedUser)
    
    	var result8 NamedUser
    	if err := DB.Where("name1 = @name OR name2 = @name", map[string]interface{}{"name": "jinzhu-new"}).First(&result8).Error; err == nil || !errors.Is(err, gorm.ErrRecordNotFound) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  2. internal/crypto/key.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	"bytes"
    	"context"
    	"crypto/hmac"
    	"crypto/rand"
    	"encoding/binary"
    	"errors"
    	"io"
    	"path"
    
    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/sio"
    )
    
    // ObjectKey is a 256 bit secret key used to encrypt the object.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. internal/kms/kms.go

    func (c *kmsConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error {
    	if err := c.client.CreateKey(ctx, c.enclave, &kms.CreateKeyRequest{
    		Name: req.Name,
    	}); err != nil {
    		if errors.Is(err, kms.ErrKeyExists) {
    			return ErrKeyExists
    		}
    		if errors.Is(err, kms.ErrPermission) {
    			return ErrPermission
    		}
    		return errKeyCreationFailed(err)
    	}
    	return nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 24 15:33:57 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            final List<ProfileActivationException> errors = new ArrayList<>();
    
            List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
                throw errors.get(0);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. internal/s3select/csv/args.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import (
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	none   = "none"
    	use    = "use"
    	ignore = "ignore"
    
    	defaultRecordDelimiter      = "\n"
    	defaultFieldDelimiter       = ","
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 20 18:31:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. internal/bucket/encryption/bucket-sse-config.go

    	// Only one rule is allowed on AWS S3
    	if len(config.Rules) != 1 {
    		return nil, errors.New("only one server-side encryption rule is allowed at a time")
    	}
    
    	for _, rule := range config.Rules {
    		switch rule.DefaultEncryptionAction.Algorithm {
    		case AES256:
    			if rule.DefaultEncryptionAction.MasterKeyID != "" {
    				return nil, errors.New("MasterKeyID is allowed with aws:kms only")
    			}
    		case AWSKms:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. internal/ringbuffer/ring_buffer.go

    	ErrIsEmpty = errors.New("ringbuffer is empty")
    
    	// ErrIsNotEmpty is returned when the buffer is not empty and not blocking.
    	ErrIsNotEmpty = errors.New("ringbuffer is not empty")
    
    	// ErrAcquireLock is returned when the lock is not acquired on Try operations.
    	ErrAcquireLock = errors.New("unable to acquire lock")
    
    	// ErrWriteOnClosed is returned when write on a closed ringbuffer.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. cmd/erasure-metadata-utils_test.go

    	}
    }
    
    // Test for reduceErrs, reduceErr reduces collection
    // of errors into a single maximal error with in the list.
    func TestReduceErrs(t *testing.T) {
    	canceledErrs := make([]error, 0, 5)
    	for i := range 5 {
    		canceledErrs = append(canceledErrs, fmt.Errorf("error %d: %w", i, context.Canceled))
    	}
    	// List all of all test cases to validate various cases of reduce errors.
    	testCases := []struct {
    		errs        []error
    		ignoredErrs []error
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. tests/preload_test.go

    		Account:   true,
    		Pets:      2,
    		Toys:      3,
    		Company:   true,
    		Manager:   true,
    		Team:      4,
    		Languages: 3,
    		Friends:   1,
    	})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	var user2 User
    	DB.Preload(clause.Associations).Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. cmd/api-errors_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    	"testing"
    
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    )
    
    var toAPIErrorTests = []struct {
    	err     error
    	errCode APIErrorCode
    }{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top