Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Larsen (0.21 sec)

  1. internal/s3select/sql/parser.go

    }
    
    // FuncExpr represents a function call
    type FuncExpr struct {
    	SFunc     *SimpleArgFunc `parser:"  @@"`
    	Count     *CountFunc     `parser:"| @@"`
    	Cast      *CastFunc      `parser:"| @@"`
    	Substring *SubstringFunc `parser:"| @@"`
    	Extract   *ExtractFunc   `parser:"| @@"`
    	Trim      *TrimFunc      `parser:"| @@"`
    	DateAdd   *DateAddFunc   `parser:"| @@"`
    	DateDiff  *DateDiffFunc  `parser:"| @@"`
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    			// atime and ctime fields, which are often left unused.
    			//
    			// In order to continue reading tar files created by former, buggy
    			// versions of Go, we skeptically parse the atime and ctime fields.
    			// If we are unable to parse them and the prefix field looks like
    			// an ASCII string, then we fallback on the pre-Go1.8 behavior
    			// of treating these fields as the USTAR prefix field.
    			//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/ldap.go

    func (l Config) ParsesAsDN(dn string) bool {
    	_, err := ldap.ParseDN(dn)
    	return err == nil
    }
    
    // IsLDAPUserDN determines if the given string could be a user DN from LDAP.
    func (l Config) IsLDAPUserDN(user string) bool {
    	udn, err := ldap.ParseDN(user)
    	if err != nil {
    		return false
    	}
    	for _, baseDN := range l.LDAP.UserDNSearchBaseDistNames {
    		if baseDN.Parsed.AncestorOf(udn) {
    			return true
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. cmd/signature-v4-parser_test.go

    		if actualErrCode == ErrNone {
    			// validating the extracted/parsed credential fields.
    			validateCredentialfields(t, i+1, testCase.expectedAuthField.Credential, parsedAuthField.Credential)
    
    			// validating the extraction/parsing of signature field.
    			if !compareSignatureV4(testCase.expectedAuthField.Signature, parsedAuthField.Signature) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock.go

    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    // ParseObjectLockConfig parses ObjectLockConfig from xml
    func ParseObjectLockConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxObjectLockConfigSize)).Decode(&config); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  6. internal/config/notify/parse.go

    		if err != nil {
    			return nil, err
    		}
    
    		qosEnv := target.EnvMQTTQoS
    		if k != config.Default {
    			qosEnv = qosEnv + config.Default + k
    		}
    
    		// Parse uint8 value
    		qos, err := strconv.ParseUint(env.Get(qosEnv, kv.Get(target.MqttQoS)), 10, 8)
    		if err != nil {
    			return nil, err
    		}
    
    		topicEnv := target.EnvMQTTTopic
    		if k != config.Default {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    			return true
    		}
    		if !rule.Transition.IsNull() { // this allows for Transition.Days to be zero.
    			return true
    		}
    
    	}
    	return false
    }
    
    // ParseLifecycleConfigWithID - parses for a Lifecycle config and assigns
    // unique id to rules with empty ID.
    func ParseLifecycleConfigWithID(r io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(r).Decode(&lc); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    func (w *Walker) parseFile(dir, file string) (*ast.File, error) {
    	filename := filepath.Join(dir, file)
    	if f := parsedFileCache[filename]; f != nil {
    		return f, nil
    	}
    
    	f, err := parser.ParseFile(fset, filename, nil, parser.ParseComments)
    	if err != nil {
    		return nil, err
    	}
    	parsedFileCache[filename] = f
    
    	return f, nil
    }
    
    // Disable before debugging non-obvious errors from the type-checker.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusLengthRequired,
    		},
    		// Test case - 4.
    		// setting the readSeeker to `nil`, bucket policy parser will fail.
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: nil,
    
    			policyLen:          10,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm64.go

    	if cond == "" {
    		return true
    	}
    	bits, ok := parseARM64Suffix(cond)
    	if !ok {
    		return false
    	}
    	prog.Scond = bits
    	return true
    }
    
    // parseARM64Suffix parses the suffix attached to an ARM64 instruction.
    // The input is a single string consisting of period-separated condition
    // codes, such as ".P.W". An initial period is ignored.
    func parseARM64Suffix(cond string) (uint8, bool) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
Back to top