- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ToBytes (0.25 sec)
-
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) {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 20.2K bytes - Viewed (0) -
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) }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 5.2K bytes - Viewed (0) -
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
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) -
src/cmd/cgo/gcc.go
// which rounds up to 2 pointers after alignment. t.Go = c.string t.Size = c.ptrSize * 2 t.Align = c.ptrSize break } if dt.Name == "_GoBytes_" { // Special C name for Go []byte type. // Knows slice layout used by compilers: pointer, length, cap. t.Go = c.Ident("[]byte") t.Size = c.ptrSize + 4 + 4 t.Align = c.ptrSize break
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
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
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2) -
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
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
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
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0) -
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
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
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
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
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
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)