Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for from (0.24 sec)

  1. internal/s3select/sql/value.go

    	}
    }
    
    // FromFloat creates a Value from a number
    func FromFloat(f float64) *Value {
    	return &Value{value: f}
    }
    
    // FromInt creates a Value from an int
    func FromInt(f int64) *Value {
    	return &Value{value: f}
    }
    
    // FromString creates a Value from a string
    func FromString(str string) *Value {
    	return &Value{value: str}
    }
    
    // FromBool creates a Value from a bool
    func FromBool(b bool) *Value {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    }
    
    // ScanRange represents the ScanRange parameter.
    type ScanRange struct {
    	// Start is the byte offset to read from (from the start of the file).
    	Start *uint64 `xml:"Start"`
    	// End is the offset of the last byte that should be returned when Start
    	// is set, otherwise it is the offset from EOF to start reading.
    	End *uint64 `xml:"End"`
    }
    
    // Validate if the scan range is valid.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    	ChecksumCRC32
    	// ChecksumCRC32C indicates a CRC32 checksum with Castagnoli table.
    	ChecksumCRC32C
    	// ChecksumInvalid indicates an invalid checksum.
    	ChecksumInvalid
    	// ChecksumMultipart indicates the checksum is from a multipart upload.
    	ChecksumMultipart
    	// ChecksumIncludesMultipart indicates the checksum also contains part checksums.
    	ChecksumIncludesMultipart
    
    	// ChecksumNone indicates no checksum.
    	ChecksumNone ChecksumType = 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/update.go

    		if strings.Contains(scanner.Text(), "chart=") {
    			helmChartVersion := strings.TrimPrefix(scanner.Text(), "chart=")
    			// remove quotes from the chart version
    			return strings.Trim(helmChartVersion, `"`)
    		}
    	}
    
    	return ""
    }
    
    // IsSourceBuild - returns if this binary is a non-official build from
    // source code.
    func IsSourceBuild() bool {
    	_, err := minioVersionToReleaseTime(Version)
    	return err != nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. internal/config/identity/openid/openid.go

    	}
    	for k, v := range r.ProviderCfgs {
    		cfg.ProviderCfgs[k] = v
    	}
    	for k, v := range r.roleArnPolicyMap {
    		cfg.roleArnPolicyMap[k] = v
    	}
    	return cfg
    }
    
    // LookupConfig lookup jwks from config, override with any ENVs.
    func LookupConfig(s config.Config, transport http.RoundTripper, closeRespFn func(io.ReadCloser), serverRegion string) (c Config, err error) {
    	openIDClientTransport := http.DefaultTransport
    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. internal/event/target/nats.go

    		}
    	}
    
    	if n.QueueDir != "" {
    		if !filepath.IsAbs(n.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    	}
    
    	return nil
    }
    
    // To obtain a nats connection from args.
    func (n NATSArgs) connectNats() (*nats.Conn, error) {
    	connOpts := []nats.Option{nats.Name("Minio Notification"), nats.MaxReconnects(-1)}
    	if n.Username != "" && n.Password != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/bucket-targets.go

    )
    
    type arnTarget struct {
    	Client      *TargetClient
    	lastRefresh time.Time
    }
    
    // arnErrs represents number of errors seen for a ARN and if update is in progress
    // to refresh remote targets from bucket metadata.
    type arnErrs struct {
    	count            int64
    	updateInProgress bool
    	bucket           string
    }
    
    // BucketTargetSys represents bucket targets subsystem
    type BucketTargetSys struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. internal/jwt/parser.go

    //
    // This method parses the token but doesn't validate the signature. It's only
    // ever useful in cases where you know the signature is valid (because it has
    // been checked previously in the stack) and you want to extract values from
    // it.
    func ParseUnverifiedStandardClaims(token []byte, claims *StandardClaims, buf []byte) (*SigningMethodHMAC, error) {
    	if bytes.Count(token, []byte(".")) != 2 {
    		return nil, jwtgo.ErrSignatureInvalid
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  9. internal/grid/types.go

    	return (*m)[key]
    }
    
    // Set a key, value pair.
    func (m *MSS) Set(key, value string) {
    	if m == nil {
    		*m = mssPool.Get().(map[string]string)
    	}
    	(*m)[key] = value
    }
    
    // UnmarshalMsg deserializes m from the provided byte slice and returns the
    // remainder of bytes.
    func (m *MSS) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	if m == nil {
    		return bts, errors.New("MSS: UnmarshalMsg on nil pointer")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance.go

    	ID              string             `msg:"id"`     // ID of the ongoing rebalance operation
    	PercentFreeGoal float64            `msg:"pf"`     // Computed from total free space and capacity at the start of rebalance
    	PoolStats       []*rebalanceStats  `msg:"rss"`    // Per-pool rebalance stats keyed by pool index
    }
    
    var errRebalanceNotStarted = errors.New("rebalance not started")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top