- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 123 for begitu (0.05 sec)
-
tests/connpool_test.go
return c.db.Ping() } // If you use BeginTx returned *sql.Tx as shown below then you can't record queries in a transaction. // // func (c *wrapperConnPool) BeginTx(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error) { // return c.db.BeginTx(ctx, opts) // } // // You should use BeginTx returned gorm.Tx which could wrap *sql.Tx then you can record all queries.
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K bytes - Viewed (0) -
prepare_stmt.go
} db.Mux.Lock() cacheStmt.Stmt = stmt db.Mux.Unlock() return cacheStmt, nil } func (db *PreparedStmtDB) BeginTx(ctx context.Context, opt *sql.TxOptions) (ConnPool, error) { if beginner, ok := db.ConnPool.(TxBeginner); ok { tx, err := beginner.BeginTx(ctx, opt) return &PreparedStmtTX{PreparedStmtDB: db, Tx: tx}, err } beginner, ok := db.ConnPool.(ConnPoolBeginner) if !ok {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 6.6K bytes - Viewed (0) -
finisher_api.go
if err = fc(tx); err == nil { panicked = false return tx.Commit().Error } } panicked = false return } // Begin begins a transaction with any transaction options opts func (db *DB) Begin(opts ...*sql.TxOptions) *DB { var ( // clone statement tx = db.getInstance().Session(&Session{Context: db.Statement.Context, NewDB: db.clone == 1}) opt *sql.TxOptions err error )
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 22.8K bytes - Viewed (0) -
cmd/object-api-datatypes.go
type ListMultipartsInfo struct { // Together with upload-id-marker, this parameter specifies the multipart upload // after which listing should begin. KeyMarker string // Together with key-marker, specifies the multipart upload after which listing // should begin. If key-marker is not specified, the upload-id-marker parameter // is ignored. UploadIDMarker string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
| """.trimMargin() val pkcs8Pem = """ |-----BEGIN PRIVATE KEY----- |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J |lu/GJQZoU9lDrCPeUcQ28tzOWw== |-----END PRIVATE KEY----- | """.trimMargin() val bcPkcs8Pem = """ |-----BEGIN PRIVATE KEY----- |ME0CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEMzAxAgEBBCA7ODT0xhGSNn4ESj6J
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
statsCache.asMap().entrySet().stream().forEach(e -> { final StatsObject data = e.getValue(); final Long begin = data.remove(BEGIN_KEY); if (begin != null) { printStats(e.getKey(), data, begin, false); } }); } public void begin(final Object keyObj) { getCacheKey(keyObj).ifPresent(key -> { try { statsCache.get(key);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
localLogMsg.set(buf.toString()); } }; crawlerStatsHelper.init(); } public void test_beginDone() { String key = "test"; crawlerStatsHelper.begin(key); crawlerStatsHelper.done(key); logger.info(localLogMsg.get()); String[] values = localLogMsg.get().split("\t"); assertEquals(3, values.length); assertEquals("url:test", values[0]);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
val session = FakeSSLSession() assertThat(verifier.verify("localhost", session)).isFalse() } @Test fun verifyCn() { // CN=foo.com val session = session( """ -----BEGIN CERTIFICATE----- MIIERjCCAy6gAwIBAgIJAIz+EYMBU6aQMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYD VQQGEwJDQTELMAkGA1UECBMCQkMxEjAQBgNVBAcTCVZhbmNvdXZlcjEWMBQGA1UE
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 40.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
this.name = name; this.parts = parts; } /** * The index in the {@link #parts()} list at which the public suffix begins. For example, for the * domain name {@code myblog.blogspot.co.uk}, the value would be 1 (the index of the {@code * blogspot} part). The value is negative (specifically, {@link #NO_SUFFIX_FOUND}) if no public
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
companion object { private val PEM_REGEX = Regex("""-----BEGIN ([!-,.-~ ]*)-----([^-]*)-----END \1-----""") /** * Decodes a multiline string that contains both a [certificate][certificatePem] and a * [private key][privateKeyPkcs8Pem], both [PEM-encoded][rfc_7468]. A typical input string looks * like this: * * ``` * -----BEGIN CERTIFICATE-----
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0)