Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for great (0.17 sec)

  1. cmd/common-main.go

    		}
    		// Try to generate a data encryption key. Only try to create key if this fails.
    		// This implicitly checks that we can communicate to KES.
    		// We don't treat a policy error as failure condition since MinIO may not have the permission
    		// to create keys - just to generate/decrypt data encryption keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  2. internal/s3select/parquet/reader.go

    		// binary arrays) - perhaps we need to check the annotation to
    		// ensure it's UTF8 encoded.
    		value = string(val)
    	case [12]byte:
    		// TODO: This is returned for the parquet INT96 type. We just
    		// treat it same as []byte (but AWS S3 treats it as a large int)
    		// - fix this later.
    		value = string(val[:])
    	case int32:
    		value = int64(val)
    		if logicalType := se.GetLogicalType(); logicalType != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	s.fsType = info.FSType
    
    	if !globalIsCICD && !globalIsErasureSD {
    		var rootDrive bool
    		if globalRootDiskThreshold > 0 {
    			// Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if
    			// this disk is a root disk. treat those disks with
    			// size less than or equal to the threshold as rootDrives.
    			rootDrive = info.Total <= globalRootDiskThreshold
    		} else {
    			rootDrive, err = disk.IsRootDisk(s.drivePath, SlashSeparator)
    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)
  4. cmd/sts-handlers_test.go

    	defer cancel()
    
    	bucket := getRandomBucketName()
    	err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{ObjectLocking: true})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	// Create policy, user and associate policy
    	policy := "mypolicy"
    	policyBytes := []byte(fmt.Sprintf(`{
      "Version": "2012-10-17",
      "Statement": [
       {
    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)
  5. internal/config/identity/openid/openid.go

    		// by clearing the values. With multiple providers, we support
    		// individually enabling/disabling provider configurations. If
    		// the enable parameter's value is non-empty, we use that
    		// setting, otherwise we treat it as enabled if some important
    		// parameters are non-empty.
    		var (
    			cfgEnableVal        = getCfgVal(config.Enable)
    			isExplicitlyEnabled = cfgEnableVal != ""
    		)
    
    		var enabled bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    		case r == '_':
    			return false
    		}
    		return true
    	}
    	// Letters and digits are not separators
    	if unicode.IsLetter(r) || unicode.IsDigit(r) {
    		return false
    	}
    	// Otherwise, all we can do for now is treat spaces as separators.
    	return unicode.IsSpace(r)
    }
    
    // Title treats s as UTF-8-encoded bytes and returns a copy with all Unicode letters that begin
    // words mapped to their title case.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    			return
    		}
    
    		rs, rangeErr = parseRequestRangeSpec(rangeHeader)
    		// Handle only errInvalidRange. Ignore other
    		// parse error and treat it as regular Get
    		// request like Amazon S3.
    		if errors.Is(rangeErr, errInvalidRange) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRange), r.URL)
    			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)
  8. cmd/server_test.go

    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    	// Test the response when object name ends with a slash.
    	// This is a special case with size as '0' and object ends with
    	// a slash separator, we treat it like a valid operation and
    	// return success.
    	// The response Etag headers should contain Md5Sum of empty string.
    	objectName = "objectwith/"
    	// create HTTP request for object upload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. internal/ioutil/read_file.go

    	OsOpenFile = os.OpenFile
    )
    
    // ReadFileWithFileInfo reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    func ReadFileWithFileInfo(name string) ([]byte, fs.FileInfo, error) {
    	f, err := OsOpenFile(name, readMode, 0o666)
    	if err != nil {
    		return nil, nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    	defer cancel()
    
    	err := s.client.MakeBucket(ctx, "public", minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	err = s.client.MakeBucket(ctx, "private", minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	pubPolicyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
    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