Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Char (0.24 sec)

  1. cmd/api-headers_test.go

    func TestNewRequestID(t *testing.T) {
    	// Ensure that it returns an alphanumeric result of length 16.
    	id := mustGetRequestID(UTCNow())
    
    	if len(id) != 16 {
    		t.Fail()
    	}
    
    	var e rune
    	for _, char := range id {
    		e = char
    
    		// Ensure that it is alphanumeric, in this case, between 0-9 and A-Z.
    		if !(('0' <= e && e <= '9') || ('A' <= e && e <= 'Z')) {
    			t.Fail()
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    // arguments.
    type SimpleArgFunc struct {
    	FunctionName string `parser:" @(\"AVG\" | \"MAX\" | \"MIN\" | \"SUM\" |  \"COALESCE\" | \"NULLIF\" | \"TO_STRING\" | \"TO_TIMESTAMP\" | \"UTCNOW\" | \"CHAR_LENGTH\" | \"CHARACTER_LENGTH\" | \"LOWER\" | \"UPPER\") "`
    
    	ArgsList []*Expression `parser:"\"(\" (@@ (\",\" @@)*)?\")\""`
    }
    
    // CountFunc represents the COUNT sql function
    type CountFunc struct {
    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)
  3. internal/s3select/sql/funceval.go

    	sqlFnExtract     FuncName = "EXTRACT"
    	sqlFnToString    FuncName = "TO_STRING"
    	sqlFnToTimestamp FuncName = "TO_TIMESTAMP"
    	sqlFnUTCNow      FuncName = "UTCNOW"
    
    	// String
    	sqlFnCharLength      FuncName = "CHAR_LENGTH"
    	sqlFnCharacterLength FuncName = "CHARACTER_LENGTH"
    	sqlFnLower           FuncName = "LOWER"
    	sqlFnSubstring       FuncName = "SUBSTRING"
    	sqlFnTrim            FuncName = "TRIM"
    	sqlFnUpper           FuncName = "UPPER"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    			s = "unsafe.Pointer"
    		case types.UntypedBool:
    			s = "ideal-bool"
    		case types.UntypedInt:
    			s = "ideal-int"
    		case types.UntypedRune:
    			// "ideal-char" for compatibility with old tool
    			// TODO(gri) change to "ideal-rune"
    			s = "ideal-char"
    		case types.UntypedFloat:
    			s = "ideal-float"
    		case types.UntypedComplex:
    			s = "ideal-complex"
    		case types.UntypedString:
    			s = "ideal-string"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    or misaligned data, are omitted in the Go struct, replaced by
    appropriate padding to reach the next field or the end of the struct.
    
    The standard C numeric types are available under the names
    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    C.long, C.ulong (unsigned long), C.longlong (long long),
    C.ulonglong (unsigned long long), C.float, C.double,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    	if err != nil {
    		t.Fatalf("os.Stat:1 %v", err)
    	}
    	hdr.Typeflag = TypeDir
    	// Force a PAX long name to be written. The name was taken from a practical example
    	// that fails and replaced ever char through numbers to anonymize the sample.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    var debugDefine = flag.Bool("debug-define", false, "print relevant #defines")
    var debugGcc = flag.Bool("debug-gcc", false, "print gcc invocations")
    
    var nameToC = map[string]string{
    	"schar":         "signed char",
    	"uchar":         "unsigned char",
    	"ushort":        "unsigned short",
    	"uint":          "unsigned int",
    	"ulong":         "unsigned long",
    	"longlong":      "long long",
    	"ulonglong":     "unsigned long long",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. internal/event/target/mysql.go

    )
    
    const (
    	mysqlTableExists = `SELECT 1 FROM %s;`
    	// Some MySQL has a 3072 byte limit on key sizes.
    	mysqlCreateNamespaceTable = `CREATE TABLE %s (
                 key_name VARCHAR(3072) NOT NULL,
                 key_hash CHAR(64) GENERATED ALWAYS AS (SHA2(key_name, 256)) STORED NOT NULL PRIMARY KEY,
                 value JSON)
               CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  9. src/archive/zip/writer_test.go

    		Mode:   0755 | fs.ModeSymlink,
    	},
    	{
    		Name:   "device",
    		Data:   []byte("device file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeDevice,
    	},
    	{
    		Name:   "chardevice",
    		Data:   []byte("char device file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeDevice | fs.ModeCharDevice,
    	},
    }
    
    func TestWriter(t *testing.T) {
    	largeData := make([]byte, 1<<17)
    	if _, err := rand.Read(largeData); err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/lex.go

    	switch t {
    	case scanner.EOF:
    		return "EOF"
    	case scanner.Ident:
    		return "identifier"
    	case scanner.Int:
    		return "integer constant"
    	case scanner.Float:
    		return "float constant"
    	case scanner.Char:
    		return "rune constant"
    	case scanner.String:
    		return "string constant"
    	case scanner.RawString:
    		return "raw string constant"
    	case scanner.Comment:
    		return "comment"
    	default:
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top