Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Character (0.15 sec)

  1. internal/s3select/sql/stringfuncs.go

    			}
    
    			text, ok = matcher(text, string(s), hasLeadingPercent)
    			if !ok {
    				return false, nil
    			}
    			hasLeadingPercent = true
    			s = []rune{}
    
    			if i == patLen-1 {
    				// Last pattern character is a %, so
    				// we are done.
    				return true, nil
    			}
    
    		case underscore:
    			if len(s) == 0 {
    				text, ok = dropRune(text)
    				if !ok {
    					return false, nil
    				}
    				continue
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  2. cmd/benchmark-utils_test.go

    	runPutObjectBenchmarkParallel(b, objLayer, objSize)
    }
    
    // randomly picks a character and returns its equivalent byte array.
    func getRandomByte() []byte {
    	const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    	// seeding the random number generator.
    	rand.Seed(UTCNow().UnixNano())
    	// pick a character randomly.
    	return []byte{letterBytes[rand.Intn(len(letterBytes))]}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  3. internal/event/target/mqtt.go

    func (target *MQTTTarget) init() error {
    	return target.initOnce.Do(target.initMQTT)
    }
    
    func (target *MQTTTarget) initMQTT() error {
    	args := target.args
    
    	// Using hex here, to make sure we avoid 23
    	// character limit on client_id according to
    	// MQTT spec.
    	clientID := fmt.Sprintf("%x", time.Now().UnixNano())
    
    	options := mqtt.NewClientOptions().
    		SetClientID(clientID).
    		SetCleanSession(true).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  4. internal/lock/lock_windows.go

    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    // fixLongPath returns the extended-length (\\?\-prefixed) form of
    // path when needed, in order to avoid the default 260 character file
    // path limit imposed by Windows. If path is not easily converted to
    // the extended-length form (for example, if path is a relative path
    // or contains .. elements), or is short enough, fixLongPath returns
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. helm/minio/templates/_helper_create_svcacct.txt

    MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
    {{- else }}
    MC="/usr/bin/mc --insecure"
    {{- end }}
    
    # AccessKey and secretkey credentials file are added to prevent shell execution errors caused by special characters.
    # Special characters for example : ',",<,>,{,}
    MINIO_ACCESSKEY_SECRETKEY_TMP="/tmp/accessKey_and_secretKey_svcacct_tmp"
    
    # connectToMinio
    # Use a check-sleep-check loop to wait for MinIO service to be available
    connectToMinio() {
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/crypto/error.go

    	// ErrInvalidEncryptionKeyID returns error when KMS key id contains invalid characters
    	ErrInvalidEncryptionKeyID = Errorf("KMS KeyID contains unsupported characters")
    )
    
    var (
    	errMissingInternalIV            = Errorf("The object metadata is missing the internal encryption IV")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. internal/bucket/encryption/bucket-sse-config.go

    				return nil, errors.New("MasterKeyID is missing with aws:kms")
    			}
    			spaces := strings.HasPrefix(keyID, " ") || strings.HasSuffix(keyID, " ")
    			if spaces {
    				return nil, errors.New("MasterKeyID contains unsupported characters")
    			}
    		}
    	}
    
    	if config.XMLNS == "" {
    		config.XMLNS = xmlNS
    	}
    	return &config, nil
    }
    
    // ApplyOptions ask for specific features to be enabled,
    // when bucketSSEConfig is empty.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/rule.go

    	NoncurrentVersionTransition NoncurrentVersionTransition `xml:"NoncurrentVersionTransition,omitempty"`
    }
    
    var (
    	errInvalidRuleID                  = Errorf("ID length is limited to 255 characters")
    	errEmptyRuleStatus                = Errorf("Status should not be empty")
    	errInvalidRuleStatus              = Errorf("Status must be set to either Enabled or Disabled")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. internal/logger/console.go

    	quiet(msg string, args ...interface{})
    	pretty(msg string, args ...interface{})
    }
    
    func consoleLog(console Logger, msg string, args ...interface{}) {
    	switch {
    	case jsonFlag:
    		// Strip escape control characters from json message
    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. internal/kms/context.go

    	}
    }
    
    // htmlSafeSet holds the value true if the ASCII character with the given
    // array position can be safely represented inside a JSON string, embedded
    // inside of HTML <script> tags, without any additional escaping.
    //
    // All values are true except for the ASCII control characters (0-31), the
    // double quote ("), the backslash character ("\"), HTML opening and closing
    // tags ("<" and ">"), and the ampersand ("&").
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
Back to top