Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bradfitz/go-sql-test
/ functions
Functions
1,284 in github.com/bradfitz/go-sql-test
⨍
Functions
1,284
◇
Types & classes
170
↓ 1 callers
Function
lenTime
(t time.Time)
src/github.com/ziutek/mymysql/native/codecs.go:415
↓ 1 callers
Method
listenerConnLoop
Main logic is here: receive messages from the postgres backend, forward notifications and query replies and keep the internal state in sync with the p
src/github.com/lib/pq/notify.go:127
↓ 1 callers
Method
listenerConnLoop
Main logic here: maintain a connection to the server when possible, wait for notifications and emit events.
src/github.com/lib/pq/notify.go:695
↓ 1 callers
Method
listenerConnMain
This is the main routine for the goroutine receiving on the database connection. Most of the main logic is in listenerConnLoop.
src/github.com/lib/pq/notify.go:178
↓ 1 callers
Method
listenerMain
()
src/github.com/lib/pq/notify.go:747
↓ 1 callers
Function
max
(numbers ...int)
src/github.com/tgulacsi/goracle/oracle/connection.go:373
↓ 1 callers
Function
network
(o values)
src/github.com/lib/pq/conn.go:205
↓ 1 callers
Function
newScanner
newScanner returns a new scanner initialized with the option string s.
src/github.com/lib/pq/conn.go:242
↓ 1 callers
Function
newStartupMessage
()
src/github.com/jackc/pgx/messages.go:31
↓ 1 callers
Method
numberFromFloat
(value float64, dst unsafe.Pointer)
src/github.com/tgulacsi/goracle/oracle/numbervar.go:95
↓ 1 callers
Method
numberFromInt
(value int64, dst unsafe.Pointer)
src/github.com/tgulacsi/goracle/oracle/numbervar.go:87
↓ 1 callers
Function
numberVar_formatForString
(text string)
src/github.com/tgulacsi/goracle/oracle/numbervar.go:102
↓ 1 callers
Function
openTestConn
(t Fatalistic)
src/github.com/lib/pq/hstore/hstore_test.go:14
↓ 1 callers
Function
parseBytea
Parse a bytea value received from the server. Both "hex" and the legacy "escape" format are supported.
src/github.com/lib/pq/encode.go:278
↓ 1 callers
Function
parseDSN
(dsn string)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:43
↓ 1 callers
Method
prepareCopyIn
(q string)
src/github.com/lib/pq/copy.go:61
↓ 1 callers
Function
putUrlHandler
(w http.ResponseWriter, req *http.Request)
src/github.com/jackc/pgx/examples/url_shortener/main.go:59
↓ 1 callers
Method
readBinaryRows
(rc *rowsContent)
src/code.google.com/p/go-mysql-driver/mysql/packets.go:835
↓ 1 callers
Method
readBytes
readBytes reads count bytes and returns as []byte
src/github.com/jackc/pgx/msg_reader.go:183
↓ 1 callers
Function
readDate
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:427
↓ 1 callers
Function
readDuration
Date and time
src/github.com/ziutek/mymysql/native/codecs.go:257
↓ 1 callers
Method
readInitPacket
****************************************************************************** * Initialisation Process
src/code.google.com/p/go-mysql-driver/mysql/packets.go:131
↓ 1 callers
Method
readInt64
()
src/github.com/jackc/pgx/msg_reader.go:108
↓ 1 callers
Function
readNTB
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:217
↓ 1 callers
Function
readNTS
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:234
↓ 1 callers
Method
readPrepareResultPacket
****************************************************************************** * Prepared Statements
src/code.google.com/p/go-mysql-driver/mysql/packets.go:656
↓ 1 callers
Method
readRows
Read Packets as Field Packets until EOF-Packet or an Error appears
src/code.google.com/p/go-mysql-driver/mysql/packets.go:565
↓ 1 callers
Function
readSlice
****************************************************************************** * Read data-types from bytes
src/code.google.com/p/go-mysql-driver/mysql/utils.go:123
↓ 1 callers
Method
readUntilReadyForQuery
()
src/github.com/jackc/pgx/query.go:64
↓ 1 callers
Function
recvNotification
(r *readBuf)
src/github.com/lib/pq/notify.go:25
↓ 1 callers
Method
releaseSenderLock
()
src/github.com/lib/pq/notify.go:99
↓ 1 callers
Method
resploop
()
src/github.com/lib/pq/copy.go:139
↓ 1 callers
Method
resync
Synchronize the list of channels we want to be listening on with the server after the connection has been established.
src/github.com/lib/pq/notify.go:592
↓ 1 callers
Method
rxAuthenticationX
(r *msgReader)
src/github.com/jackc/pgx/conn.go:606
↓ 1 callers
Method
rxBackendKeyData
(r *msgReader)
src/github.com/jackc/pgx/conn.go:654
↓ 1 callers
Method
rxErrorResponse
(r *msgReader)
src/github.com/jackc/pgx/conn.go:634
↓ 1 callers
Method
rxNotificationResponse
(r *msgReader)
src/github.com/jackc/pgx/conn.go:689
↓ 1 callers
Method
rxParameterDescription
(r *msgReader)
src/github.com/jackc/pgx/conn.go:679
↓ 1 callers
Method
rxParameterStatus
(r *msgReader)
src/github.com/jackc/pgx/conn.go:628
↓ 1 callers
Function
sanitizeArg
(arg interface{})
src/github.com/jackc/pgx/values.go:476
↓ 1 callers
Function
scramblePassword
Encrypt password using 4.1+ method http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol#4.1_and_later
src/code.google.com/p/go-mysql-driver/mysql/utils.go:88
↓ 1 callers
Method
sendCmdExec
()
src/github.com/ziutek/mymysql/native/prepared.go:46
↓ 1 callers
Method
sendQuery
(sql string, arguments ...interface{})
src/github.com/jackc/pgx/conn.go:395
↓ 1 callers
Method
sendSimpleQuery
Attempt to send a query on the connection. Returns an error if sending the query failed, and the caller should initiate closure of this connection. T
src/github.com/lib/pq/notify.go:241
↓ 1 callers
Method
setArrayReflectValue
(value reflect.Value)
src/github.com/tgulacsi/goracle/oracle/variable.go:1097
↓ 1 callers
Method
setBindVariablesByPos
Create or set bind variables by position.
src/github.com/tgulacsi/goracle/oracle/cursor.go:654
↓ 1 callers
Method
setError
(err error)
src/github.com/lib/pq/copy.go:162
↓ 1 callers
Method
setErrorOffset
(err error)
src/github.com/tgulacsi/goracle/oracle/cursor.go:295
↓ 1 callers
Method
simpleQuery
(q string)
src/github.com/lib/pq/conn.go:445
↓ 1 callers
Function
sqlBlobParam
(t params, size int)
src/sqltest/sql_test.go:338
↓ 1 callers
Method
ssl
(o values)
src/github.com/lib/pq/conn.go:708
↓ 1 callers
Method
startTLS
()
src/github.com/jackc/pgx/conn.go:697
↓ 1 callers
Method
startup
(o values)
src/github.com/lib/pq/conn.go:738
↓ 1 callers
Method
toArray
()
src/gopkg.in/inconshreveable/log15.v2/logger.go:162
↓ 1 callers
Function
tryParse
(str string)
src/github.com/lib/pq/encode_test.go:67
↓ 1 callers
Method
txStartupMessage
(msg *startupMessage)
src/github.com/jackc/pgx/conn.go:718
↓ 1 callers
Function
userCurrent
()
src/github.com/lib/pq/user_posix.go:9
↓ 1 callers
Method
varDefine
Allocate a variable and define it for the given statement.
src/github.com/tgulacsi/goracle/oracle/variable.go:797
↓ 1 callers
Function
varTypeByOracleDescriptor
Return a variable type given an Oracle descriptor.
src/github.com/tgulacsi/goracle/oracle/variable.go:467
↓ 1 callers
Method
varTypeByOracleDescriptor
(param *C.OCIParam)
src/github.com/tgulacsi/goracle/oracle/variable.go:152
↓ 1 callers
Method
variableDefineHelper
Helper routine for Variable_Define() used so that constant calls to OCIDescriptorFree() is not necessary.
src/github.com/tgulacsi/goracle/oracle/variable.go:705
↓ 1 callers
Method
writeAuthPacket
* Client Authentication Packet Bytes Name ----- ---- 4 client_flags 4
src/code.google.com/p/go-mysql-driver/mysql/packets.go:199
↓ 1 callers
Function
writeDate
(wr io.Writer, d mysql.Date)
src/github.com/ziutek/mymysql/native/codecs.go:439
↓ 1 callers
Function
writeDuration
(wr io.Writer, d time.Duration)
src/github.com/ziutek/mymysql/native/codecs.go:321
↓ 1 callers
Function
writeTime
(wr io.Writer, t time.Time)
src/github.com/ziutek/mymysql/native/codecs.go:411
Method
AffectedRows
()
src/github.com/ziutek/mymysql/native/result.go:50
Method
AttrSet
(parent unsafe.Pointer, parentTyp C.ub4, key C.ub4, value unsafe.Pointer, valueLength int)
src/github.com/tgulacsi/goracle/oracle/environment.go:136
Method
Begin
()
src/code.google.com/p/go-mysql-driver/mysql/connection.go:133
Method
Begin
()
src/github.com/lib/pq/conn.go:353
Method
Begin
Begin acquires a connection and begins a transaction on it. When the transaction is closed the connection will be automatically released.
src/github.com/jackc/pgx/conn_pool.go:201
Method
Begin
Begin starts a transaction with the default isolation level for the current connection. To use a specific isolation level see BeginIso.
src/github.com/jackc/pgx/tx.go:20
Method
Begin
()
src/github.com/jackc/pgx/stdlib/sql.go:151
Method
Begin
begins a transaction
src/github.com/tgulacsi/goracle/godrv/driver.go:57
Method
Begin
()
src/github.com/ziutek/mymysql/godrv/driver.go:36
Method
Begin
Starts a new transaction
src/github.com/ziutek/mymysql/native/mysql.go:699
Method
Begin
Begins a new transaction. No any other thread can send command on this connection until Commit or Rollback will be called.
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:186
Method
Begin
()
src/github.com/mattn/go-sqlite3/sqlite3.go:68
Method
BeginIso
BeginIso acquires a connection and begins a transaction in isolation mode iso on it. When the transaction is closed the connection will be automatical
src/github.com/jackc/pgx/conn_pool.go:219
Function
BenchmarkAppendEscapedText
(b *testing.B)
src/github.com/lib/pq/encode_test.go:358
Function
BenchmarkAppendEscapedTextNoEscape
(b *testing.B)
src/github.com/lib/pq/encode_test.go:368
Function
BenchmarkConnPool
(b *testing.B)
src/github.com/jackc/pgx/bench_test.go:8
Function
BenchmarkCopyIn
(b *testing.B)
src/github.com/lib/pq/copy_test.go:278
Function
BenchmarkDecodeBool
(b *testing.B)
src/github.com/lib/pq/bench_test.go:340
Function
BenchmarkDecodeFloat64
(b *testing.B)
src/github.com/lib/pq/bench_test.go:332
Function
BenchmarkDecodeInt64
(b *testing.B)
src/github.com/lib/pq/bench_test.go:324
Function
BenchmarkDecodeTimestamptz
(b *testing.B)
src/github.com/lib/pq/bench_test.go:357
Function
BenchmarkDiscard
(b *testing.B)
src/gopkg.in/inconshreveable/log15.v2/bench_test.go:21
Function
BenchmarkEncodeBool
(b *testing.B)
src/github.com/lib/pq/bench_test.go:308
Function
BenchmarkEncodeByteaEscape
(b *testing.B)
src/github.com/lib/pq/bench_test.go:302
Function
BenchmarkEncodeByteaHex
(b *testing.B)
src/github.com/lib/pq/bench_test.go:297
Function
BenchmarkEncodeFloat64
(b *testing.B)
src/github.com/lib/pq/bench_test.go:289
Function
BenchmarkEncodeInt64
(b *testing.B)
src/github.com/lib/pq/bench_test.go:283
Function
BenchmarkEncodeTimestamptz
(b *testing.B)
src/github.com/lib/pq/bench_test.go:316
Function
BenchmarkInsertSelect
(b *testing.B)
src/github.com/ziutek/mymysql/native/native_test.go:963
Function
BenchmarkJsonNoCtx
(b *testing.B)
src/gopkg.in/inconshreveable/log15.v2/bench_test.go:44
Function
BenchmarkLogfmtNoCtx
(b *testing.B)
src/gopkg.in/inconshreveable/log15.v2/bench_test.go:30
Function
BenchmarkMockPreparedSelectSeries
(b *testing.B)
src/github.com/lib/pq/bench_test.go:242
Function
BenchmarkMockPreparedSelectString
See the comment for BenchmarkMockSelectString.
src/github.com/lib/pq/bench_test.go:218
Function
BenchmarkMockSelectSeries
(b *testing.B)
src/github.com/lib/pq/bench_test.go:130
Function
BenchmarkMockSelectString
This benchmark is meant to be the same as BenchmarkSelectString, but takes out some of the factors this package can't control. The numbers are less no
src/github.com/lib/pq/bench_test.go:90
← previous
next →
601–700 of 1,284, ranked by callers