Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 6,120 for stringy (0.07 sec)

  1. cmd/bucket-lifecycle.go

    		Bytes:     sz,
    		Error:     err,
    		Message:   getSource(4),
    		Custom:    metadata,
    	}
    }
    
    func (sys *LifecycleSys) trace(oi ObjectInfo) func(event string, metadata map[string]string, err error) {
    	startTime := time.Now()
    	return func(event string, metadata map[string]string, err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceILM) > 0 {
    			e := ""
    			if err != nil {
    				e = err.Error()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

             */
            private static final String RELEASE_VERSION_INDEX = String.valueOf(QUALIFIERS.indexOf(""));
    
            private final String value;
    
            StringItem(String value, boolean followedByDigit) {
                if (followedByDigit && value.length() == 1) {
                    // a1 = alpha-1, b1 = beta-1, m1 = milestone-1
                    switch (value.charAt(0)) {
                        case 'a':
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. internal/s3select/csv/record.go

    // always returns fields using sql.FromBytes so that the type
    // specified/implied by the query can be used, or can be automatically
    // converted based on the query.
    func (r *Record) Get(name string) (*sql.Value, error) {
    	index, found := r.nameIndexMap[name]
    	if !found {
    		// Check if index.
    		if strings.HasPrefix(name, "_") {
    			idx, err := strconv.Atoi(strings.TrimPrefix(name, "_"))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/debugging/hash-set/main.go

    import (
    	"bufio"
    	"bytes"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"log"
    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock_test.go

    			},
    			expected:        map[string]string{},
    			filterRetention: true,
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "off",
    			},
    			expected:        map[string]string{},
    			filterLegalHold: true,
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "on",
    			},
    			expected:        map[string]string{"x-amz-object-lock-legal-hold": "on"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret.go

    func (at *RemoteSecretAuthType) String() string { return string(*at) }
    func (at *RemoteSecretAuthType) Type() string   { return "RemoteSecretAuthType" }
    func (at *RemoteSecretAuthType) Set(in string) error {
    	*at = RemoteSecretAuthType(in)
    	return nil
    }
    
    func (at *SecretType) String() string { return string(*at) }
    func (at *SecretType) Type() string   { return "SecretType" }
    func (at *SecretType) Set(in string) error {
    	*at = SecretType(in)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. internal/grid/types.go

    		mssPool.Put(map[string]string(*m))
    		*m = nil
    	}
    }
    
    // ToQuery constructs a URL query string from the MSS, including "?" if there are any keys.
    func (m MSS) ToQuery() string {
    	if len(m) == 0 {
    		return ""
    	}
    	var buf strings.Builder
    	buf.WriteByte('?')
    	keys := make([]string, 0, len(m))
    	for k := range m {
    		keys = append(keys, k)
    	}
    	sort.Strings(keys)
    	for _, k := range keys {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. internal/event/target/elasticsearch.go

    	stop()
    	entryExists(context.Context, string, string) (bool, error)
    	removeEntry(context.Context, string, string) error
    	updateEntry(context.Context, string, string, event.Event) error
    	addEntry(context.Context, string, event.Event) error
    }
    
    // ElasticsearchArgs - Elasticsearch target arguments.
    type ElasticsearchArgs struct {
    	Enable     bool            `json:"enable"`
    	Format     string          `json:"format"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. cmd/metrics-router.go

    	// metrics router
    	metricsRouter := router.NewRoute().PathPrefix(minioReservedBucketPath).Subrouter()
    	authType := prometheusAuthType(strings.ToLower(env.Get(EnvPrometheusAuthType, string(prometheusJWT))))
    
    	auth := AuthMiddleware
    	if authType == prometheusPublic {
    		auth = NoAuthMiddleware
    	}
    
    	metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. association.go

    			}
    		}
    	}
    
    	selectedSaveColumns := []string{association.Relationship.Name}
    	omitColumns := []string{}
    	selectColumns, _ := association.DB.Statement.SelectAndOmitColumns(true, false)
    	for name, ok := range selectColumns {
    		columnName := ""
    		if strings.HasPrefix(name, association.Relationship.Name) {
    			if columnName = strings.TrimPrefix(name, association.Relationship.Name); columnName == ".*" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top