Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Integer (0.15 sec)

  1. cmd/api-errors.go

    	},
    	ErrInvalidMaxUploads: {
    		Code:           "InvalidArgument",
    		Description:    "Argument max-uploads must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMaxKeys: {
    		Code:           "InvalidArgument",
    		Description:    "Argument maxKeys must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidEncodingMethod: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. internal/s3select/select_test.go

    			wantResult: `{"_1":1}`,
    		},
    		{
    			name:       "arithmetic_integer_operand",
    			query:      `SELECT 1 / 2 FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":0}`,
    		},
    		{
    			name:       "arithmetic_float_operand",
    			query:      `SELECT 1.0 / 2.0 * .3 FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":0.15}`,
    		},
    		{
    			name:       "arithmetic_integer_float_operand",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    		Number          string     `gorm:"type:varchar(51);NOT NULL"`
    		TextArray       []string   `gorm:"type:text[];NOT NULL"`
    		NestedTextArray [][]string `gorm:"type:text[][]"`
    		NestedIntArray  [][]int64  `gorm:"type:integer[3][3]"`
    	}
    
    	var err error
    	DB.Migrator().DropTable(&ArrayTypeModel{})
    
    	err = DB.AutoMigrate(&ArrayTypeModel{})
    	AssertEqual(t, nil, err)
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    					break
    				}
    				switch base(types[i]).(type) {
    				case *dwarf.IntType, *dwarf.UintType:
    					// This has an integer type so it's
    					// not really a floating point
    					// constant. This can happen when the
    					// C compiler complains about using
    					// the value as an integer constant,
    					// but not as a general constant.
    					// Treat this as a variable of the
    					// appropriate type, not a constant,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    		}
    
    		// While not recommended, it is valid to append to a shifted buffer.
    		// This forces Write to copy the input.
    		if rn.Intn(8) == 0 && cap(b) > 0 {
    			b = b[1:1:cap(b)]
    		}
    
    		// Append a random integer of varying width.
    		n := int64(rn.Intn(1 << rn.Intn(30)))
    		want = append(strconv.AppendInt(want, n, 10), ' ')
    		b = append(strconv.AppendInt(b, n, 10), ' ')
    		w.Write(b)
    	}
    	w.Flush()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top