Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 63 for DECIMAL (0.04 seconds)

  1. internal/s3select/sql/parser_test.go

    	)
    
    	validCases := []string{
    		"count(*)",
    		"sum(2 + s.id)",
    		"sum(t)",
    		"avg(s.id[1])",
    		"coalesce(s.id[1], 2, 2 + 3)",
    
    		"cast(s as string)",
    		"cast(s AS INT)",
    		"cast(s as DECIMAL)",
    		"extract(YEAR from '2018-01-09')",
    		"extract(month from '2018-01-09')",
    
    		"extract(hour from '2018-01-09')",
    		"extract(day from '2018-01-09')",
    		"substring('abcd' from 2 for 2)",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  2. misc/cgo/gmp/gmp.go

    		return os.ErrInvalid
    	}
    	p := C.CString(s)
    	defer C.free(unsafe.Pointer(p))
    	if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 {
    		return os.ErrInvalid
    	}
    	return nil
    }
    
    // String returns the decimal representation of z.
    func (z *Int) String() string {
    	if z == nil {
    		return "nil"
    	}
    	z.doinit()
    	p := C.mpz_get_str(nil, 10, &z.i[0])
    	s := C.GoString(p)
    	C.free(unsafe.Pointer(p))
    	return s
    }
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            // Arrange
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
            int len = 6;
    
            // Set up buffer with test data
            // available = 0x1234 (4660 in decimal)
            SMBUtil.writeInt2(0x1234, buffer, bufferIndex);
            // next 2 bytes (ignored in implementation)
            SMBUtil.writeInt2(0xABCD, buffer, bufferIndex + 2);
            // status = STATUS_CONNECTION_OK (3)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/Doubles.java

         * java.util.regex (where we want them in order to avoid catastrophic backtracking).
         */
        String decimal = "(?:\\d+#(?:\\.\\d*#)?|\\.\\d+#)";
        String completeDec = decimal + "(?:[eE][+-]?\\d+#)?[fFdD]?";
        String hex = "(?:[0-9a-fA-F]+#(?:\\.[0-9a-fA-F]*#)?|\\.[0-9a-fA-F]+#)";
        String completeHex = "0[xX]" + hex + "[pP][+-]?\\d+#[fFdD]?";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  5. src/archive/tar/reader.go

    //
    // Note that the GNU manual says that numeric values should be encoded in octal
    // format. However, the GNU tar utility itself outputs these values in decimal.
    // As such, this library treats values as being encoded in decimal.
    func readGNUSparseMap1x0(r io.Reader) (sparseDatas, error) {
    	var (
    		cntNewline int64
    		buf        bytes.Buffer
    		blk        block
    		totalSize  int
    	)
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  6. internal/s3select/jstream/decoder.go

    	// . followed by 1 or more digits
    	if c == '.' {
    		isFloat = true
    		d.scratch.add(c)
    
    		// first char following must be digit
    		if c = d.next(); c < '0' || c > '9' {
    			return 0, d.mkError(ErrSyntax, "after decimal point in numeric literal")
    		}
    		d.scratch.add(c)
    
    		for {
    			if d.remaining() == 0 {
    				return 0, d.mkError(ErrUnexpectedEOF)
    			}
    			if c = d.next(); c < '0' || c > '9' {
    				break
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  7. internal/s3select/sql/funceval.go

    }
    
    // Allowed cast types
    const (
    	castBool      = "BOOL"
    	castInt       = "INT"
    	castInteger   = "INTEGER"
    	castString    = "STRING"
    	castFloat     = "FLOAT"
    	castDecimal   = "DECIMAL"
    	castNumeric   = "NUMERIC"
    	castTimestamp = "TIMESTAMP"
    )
    
    func (e *Expression) castTo(r Record, castType string, tableAlias string) (res *Value, err error) {
    	v, err := e.evalNode(r, tableAlias)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        // Benchmarks indicate this is probably not worth optimizing.
        return Integer.toString(toUnsignedInt(x), radix);
      }
    
      /**
       * Returns the unsigned {@code byte} value represented by the given decimal string.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code byte}
       *     value
       * @throws NullPointerException if {@code string} is null (in contrast to {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  9. doc/go_spec.html

    <p>
    A floating-point literal is a decimal or hexadecimal representation of a
    <a href="#Constants">floating-point constant</a>.
    </p>
    
    <p>
    A decimal floating-point literal consists of an integer part (decimal digits),
    a decimal point, a fractional part (decimal digits), and an exponent part
    (<code>e</code> or <code>E</code> followed by an optional sign and decimal digits).
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  10. docs/tr/docs/tutorial/extra-data-types.md

    * `bytes`:
        * Standart Python `bytes`.
        * request'lerde ve response'larda `str` gibi ele alınır.
        * Üretilen schema, bunun `binary` "format"ına sahip bir `str` olduğunu belirtir.
    * `Decimal`:
        * Standart Python `Decimal`.
        * request'lerde ve response'larda `float` ile aynı şekilde işlenir.
    * Geçerli tüm Pydantic veri tiplerini burada görebilirsiniz: [Pydantic veri tipleri](https://docs.pydantic.dev/latest/usage/types/types/).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top