Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for Larsen (0.17 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. internal/amztime/parse.go

    	// Add new AMZ date formats here.
    }
    
    // ErrMalformedDate always returned for dates that cannot be parsed.
    var ErrMalformedDate = errors.New("malformed date")
    
    // Parse parses date string via supported amz date formats.
    func Parse(amzDateStr string) (time.Time, error) {
    	for _, dateFormat := range amzDateFormats {
    		amzDate, err := time.Parse(dateFormat, amzDateStr)
    		if err == nil {
    			return amzDate, nil
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. internal/config/lambda/parse.go

    Anis Eleuch <******@****.***> 1712232280 +0100
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. misc/cgo/gmp/gmp.go

    /*
    An example of wrapping a C library in Go. This is the GNU
    multiprecision library gmp's integer type mpz_t wrapped to look like
    the Go package big's integer type Int.
    
    This is a syntactically valid Go program—it can be parsed with the Go
    parser and processed by godoc—but it is not compiled directly by gc.
    Instead, a separate tool, cgo, processes it to produce three output
    files.  The first two, 6g.go and 6c.c, are a Go source file for 6g and
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  6. src/archive/tar/strconv.go

    			b = append(b, byte(c))
    		}
    	}
    	return string(b)
    }
    
    type parser struct {
    	err error // Last error seen
    }
    
    type formatter struct {
    	err error // Last error seen
    }
    
    // parseString parses bytes as a NUL-terminated C-style string.
    // If a NUL byte is not found then the whole slice is returned as a string.
    func (*parser) parseString(b []byte) string {
    	if i := bytes.IndexByte(b, 0); i >= 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  7. 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)
  8. istioctl/pkg/authz/listener.go

    					}
    				}
    			}
    
    			parsed.filterChains = append(parsed.filterChains, parsedFC)
    		}
    		parsedListeners = append(parsedListeners, parsed)
    	}
    	return parsedListeners
    }
    
    func extractName(name string) (string, string) {
    	// parts[1] is the namespace, parts[2] is the policy name, parts[3] is the rule index.
    	parts := re.FindStringSubmatch(name)
    	if len(parts) != 4 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. schema/constraint_test.go

    	Name2 string `gorm:"check:name <> 'jinzhu'"`
    	Name3 string `gorm:"check:,name <> 'jinzhu'"`
    }
    
    func TestParseCheck(t *testing.T) {
    	user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user check, got error %v", err)
    	}
    
    	results := map[string]schema.CheckConstraint{
    		"name_checker": {
    			Name:       "name_checker",
    			Constraint: "name <> 'jinzhu'",
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top