Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for hocharacter (0.38 sec)

  1. tests/table_test.go

    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. 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)
  3. src/bytes/bytes.go

    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    // used, by convention, to distinguish byte values from 8-bit unsigned
    // integer values.
    type byte = uint8
    
    // rune is an alias for int32 and is equivalent to int32 in all ways. It is
    // used, by convention, to distinguish character values from integer values.
    type rune = int32
    
    // any is an alias for interface{} and is equivalent to interface{} in all ways.
    type any = interface{}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/globals.go

    	// this is kept in present form to be compatible with S3 owner ID
    	// requirements -
    	//
    	// ```
    	//    The canonical user ID is the Amazon S3–only concept.
    	//    It is 64-character obfuscated version of the account ID.
    	// ```
    	// http://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example4.html
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLexerInvalidChar: {
    		Code:           "LexerInvalidChar",
    		Description:    "The SQL expression contains an invalid character.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLexerInvalidOperator: {
    		Code:           "LexerInvalidOperator",
    		Description:    "The SQL expression contains an invalid literal.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  7. src/cmd/asm/internal/asm/parse.go

    		str, err := strconv.Unquote(tok.String())
    		if err != nil {
    			p.errorf("%s", err)
    		}
    		r, w := utf8.DecodeRuneInString(str)
    		if w == 1 && r == utf8.RuneError {
    			p.errorf("illegal UTF-8 encoding for character constant")
    		}
    		return uint64(r)
    	case '+':
    		return +p.factor()
    	case '-':
    		return -p.factor()
    	case '~':
    		return ^p.factor()
    	case '(':
    		v := p.expr()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. cmd/server_test.go

    // and then asserting the response with the expected one.
    func (s *TestSuiteCommon) TestListObjectsSpecialCharactersHandler(c *check) {
    	if runtime.GOOS == globalWindowsOSName {
    		c.Skip("skip special character test for windows")
    	}
    
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/asm/internal/lex/lex.go

    )
    
    // A ScanToken represents an input item. It is a simple wrapping of rune, as
    // returned by text/scanner.Scanner, plus a couple of extra values.
    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    	// a rune/ScanToken value for them - ugly but simple.
    	LSH          ScanToken = -1000 - iota // << Left shift.
    	RSH                                   // >> Logical right shift.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top