Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ToBytes (0.17 sec)

  1. internal/s3select/sql/value.go

    	return
    }
    
    // ToTimestamp returns the timestamp value if present.
    func (v Value) ToTimestamp() (t time.Time, ok bool) {
    	t, ok = v.value.(time.Time)
    	return
    }
    
    // ToBytes returns the value if byte-slice.
    func (v Value) ToBytes() (val []byte, ok bool) {
    	val, ok = v.value.([]byte)
    	return
    }
    
    // ToArray returns the value if it is a slice of values.
    func (v Value) ToArray() (val []Value, ok bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  2. internal/s3select/json/record.go

    		v = sql.FormatSQLTimestamp(t)
    	} else if s, ok := value.ToString(); ok {
    		v = s
    	} else if value.IsNull() {
    		v = nil
    	} else if value.IsMissing() {
    		return r, nil
    	} else if b, ok := value.ToBytes(); ok {
    		// This can either be raw json or a CSV value.
    		// Only treat objects and arrays as JSON.
    		if len(b) > 0 && (b[0] == '{' || b[0] == '[') {
    			v = RawJSON(b)
    		} else {
    			v = string(b)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    	// C string to Go string
    	func C.GoString(*C.char) string
    
    	// C data with explicit length to Go string
    	func C.GoStringN(*C.char, C.int) string
    
    	// C data with explicit length to Go []byte
    	func C.GoBytes(unsafe.Pointer, C.int) []byte
    
    As a special case, C.malloc does not call the C library malloc directly
    but instead calls a Go helper function that wraps the C library malloc
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  4. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type IfData struct, Mtu uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Noproto uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Obytes uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Oerrors uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Omcasts uint32
    pkg syscall (freebsd-386-cgo), type IfData struct, Opackets uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type IfData struct, Mtu uint64
    pkg syscall (netbsd-arm64-cgo), type IfData struct, Noproto uint64
    pkg syscall (netbsd-arm64-cgo), type IfData struct, Obytes uint64
    pkg syscall (netbsd-arm64-cgo), type IfData struct, Oerrors uint64
    pkg syscall (netbsd-arm64-cgo), type IfData struct, Omcasts uint64
    pkg syscall (netbsd-arm64-cgo), type IfData struct, Opackets uint64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  6. api/go1.14.txt

    pkg syscall (freebsd-arm64), type IfData struct, Mtu uint64
    pkg syscall (freebsd-arm64), type IfData struct, Noproto uint64
    pkg syscall (freebsd-arm64), type IfData struct, Obytes uint64
    pkg syscall (freebsd-arm64), type IfData struct, Oerrors uint64
    pkg syscall (freebsd-arm64), type IfData struct, Omcasts uint64
    pkg syscall (freebsd-arm64), type IfData struct, Opackets uint64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  7. api/go1.16.txt

    pkg syscall (darwin-arm64), type IfData struct, Metric uint32
    pkg syscall (darwin-arm64), type IfData struct, Mtu uint32
    pkg syscall (darwin-arm64), type IfData struct, Noproto uint32
    pkg syscall (darwin-arm64), type IfData struct, Obytes uint32
    pkg syscall (darwin-arm64), type IfData struct, Oerrors uint32
    pkg syscall (darwin-arm64), type IfData struct, Omcasts uint32
    pkg syscall (darwin-arm64), type IfData struct, Opackets uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg syscall (darwin-386), type IfData struct, Metric uint32
    pkg syscall (darwin-386), type IfData struct, Mtu uint32
    pkg syscall (darwin-386), type IfData struct, Noproto uint32
    pkg syscall (darwin-386), type IfData struct, Obytes uint32
    pkg syscall (darwin-386), type IfData struct, Oerrors uint32
    pkg syscall (darwin-386), type IfData struct, Omcasts uint32
    pkg syscall (darwin-386), type IfData struct, Opackets uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. api/go1.20.txt

    pkg syscall (freebsd-riscv64), type IfData struct, Mtu uint64 #53466
    pkg syscall (freebsd-riscv64), type IfData struct, Noproto uint64 #53466
    pkg syscall (freebsd-riscv64), type IfData struct, Obytes uint64 #53466
    pkg syscall (freebsd-riscv64), type IfData struct, Oerrors uint64 #53466
    pkg syscall (freebsd-riscv64), type IfData struct, Omcasts uint64 #53466
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top