- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for RawBytes (0.19 sec)
-
src/database/sql/convert_test.go
// To RawBytes {s: nil, d: &scanraw, wantraw: nil}, {s: []byte("byteslice"), d: &scanraw, wantraw: RawBytes("byteslice")}, {s: "string", d: &scanraw, wantraw: RawBytes("string")}, {s: 123, d: &scanraw, wantraw: RawBytes("123")}, {s: int8(123), d: &scanraw, wantraw: RawBytes("123")}, {s: int64(123), d: &scanraw, wantraw: RawBytes("123")},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 10 20:23:22 UTC 2024 - 17K bytes - Viewed (0) -
src/reflect/benchmark_test.go
} func BenchmarkBytes(b *testing.B) { for i := 0; i < b.N; i++ { sinkAll.RawBytes = sourceAll.Bytes.Bytes() } } func BenchmarkNamedBytes(b *testing.B) { for i := 0; i < b.N; i++ { sinkAll.RawBytes = sourceAll.NamedBytes.Bytes() } } func BenchmarkBytesArray(b *testing.B) { for i := 0; i < b.N; i++ { sinkAll.RawBytes = sourceAll.BytesArray.Bytes() } } func BenchmarkSliceLen(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Nov 19 17:09:03 UTC 2023 - 8.8K bytes - Viewed (0) -
src/database/sql/convert.go
case *string: if d == nil { return errNilPtr } *d = s return nil case *[]byte: if d == nil { return errNilPtr } *d = []byte(s) return nil case *RawBytes: if d == nil { return errNilPtr } *d = rows.setrawbuf(append(rows.rawbuf(), s...)) return nil } case []byte: switch d := dest.(type) { case *string: if d == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
src/database/sql/sql.go
} return rs.raw } // setrawbuf updates the RawBytes buffer with the result of appending a new value to it. // It returns the new value. func (rs *Rows) setrawbuf(b []byte) RawBytes { if rs == nil { // convertAssignRows can take a nil *Rows; for simplicity handle it here return RawBytes(b) } off := len(rs.raw) rs.raw = b return RawBytes(rs.raw[off:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
scan.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 47.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 47.1K bytes - Viewed (0) -
src/database/sql/sql_test.go
// Issue #65201. // // If a RawBytes is reused across multiple queries, // subsequent queries shouldn't overwrite driver-owned memory from previous queries. func TestRawBytesReuse(t *testing.T) { db := newTestDB(t, "people") defer closeDB(t, db) if _, err := db.Exec("USE_RAWBYTES"); err != nil { t.Fatal(err) } var raw RawBytes // The RawBytes in this query aliases driver-owned memory.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"NullTime.Time", Field, 13}, {"NullTime.Valid", Field, 13}, {"Open", Func, 0}, {"OpenDB", Func, 10}, {"Out", Type, 9}, {"Out.Dest", Field, 9}, {"Out.In", Field, 9}, {"RawBytes", Type, 0}, {"Register", Func, 0}, {"Result", Type, 0}, {"Row", Type, 0}, {"Rows", Type, 0}, {"Scanner", Type, 0}, {"Stmt", Type, 0}, {"Tx", Type, 0}, {"TxOptions", Type, 8},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg database/sql, type NullInt64 struct, Valid bool pkg database/sql, type NullString struct pkg database/sql, type NullString struct, String string pkg database/sql, type NullString struct, Valid bool pkg database/sql, type RawBytes []uint8 pkg database/sql, type Result interface { LastInsertId, RowsAffected } pkg database/sql, type Result interface, LastInsertId() (int64, error) pkg database/sql, type Result interface, RowsAffected() (int64, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)