Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for Conn (0.05 sec)

  1. prepare_stmt.go

    	if err == nil {
    		return stmt.QueryRowContext(ctx, args...)
    	}
    	return &sql.Row{}
    }
    
    func (db *PreparedStmtDB) Ping() error {
    	conn, err := db.GetDBConn()
    	if err != nil {
    		return err
    	}
    	return conn.Ping()
    }
    
    type PreparedStmtTX struct {
    	Tx
    	PreparedStmtDB *PreparedStmtDB
    }
    
    func (db *PreparedStmtTX) GetDBConn() (*sql.DB, error) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

        req.start()
        return completableFuture
      }
    
      @Test
      fun urlConnection() {
        val conn = engine.openConnection(URL("https://google.com/robots.txt")) as HttpURLConnection
    
        val text =
          conn.inputStream.use {
            it.bufferedReader().readText()
          }
    
        assertEquals(200, conn.responseCode)
    
        assertTrue(text.contains("Disallow"))
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnectionTrace.java

     *
     */
    class SmbTreeConnectionTrace extends SmbTreeConnection {
    
        SmbTreeConnectionTrace(final CIFSContext ctx) {
            super(ctx);
        }
    
        SmbTreeConnectionTrace(final SmbTreeConnection conn) {
            super(conn);
        }
    
        @Override
        protected void finalize() throws Throwable {
            checkRelease();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Arrange - Create URL with handler
            URL url = new URL(null, "smb://host/share", handler);
    
            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile);
        }
    
        @Test
        @DisplayName("openConnection throws NPE for null URL")
        void testOpenConnectionWithNullUrl() {
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                            return conn;
                        }
                    }
                }
    
                conn = new SmbTransport(address, port, localAddr, localPort);
                CONNECTIONS.add(0, conn);
            }
    
            return conn;
        }
    
        class ServerData {
            byte flags;
            int flags2;
            int maxMpxCount;
            int maxBufferSize;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. internal/stmt_store/stmt_store.go

    //	key: The key representing the SQL query, used for caching and preparing the statement.
    //	isTransaction: Indicates whether this operation is part of a transaction, affecting cache strategy.
    //	conn: A connection pool that provides database connections.
    //	locker: A synchronization lock that is unlocked after initialization to avoid deadlocks.
    //
    // Returns:
    //
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. api/go1.7.txt

    pkg net/http/httptrace, type DNSStartInfo struct
    pkg net/http/httptrace, type DNSStartInfo struct, Host string
    pkg net/http/httptrace, type GotConnInfo struct
    pkg net/http/httptrace, type GotConnInfo struct, Conn net.Conn
    pkg net/http/httptrace, type GotConnInfo struct, IdleTime time.Duration
    pkg net/http/httptrace, type GotConnInfo struct, Reused bool
    pkg net/http/httptrace, type GotConnInfo struct, WasIdle bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  8. api/go1.15.txt

    pkg crypto/rsa, method (*PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/rsa, method (*PublicKey) Equal(crypto.PublicKey) bool
    pkg crypto/tls, method (*Dialer) Dial(string, string) (net.Conn, error)
    pkg crypto/tls, method (*Dialer) DialContext(context.Context, string, string) (net.Conn, error)
    pkg crypto/tls, method (ClientAuthType) String() string
    pkg crypto/tls, method (CurveID) String() string
    pkg crypto/tls, method (SignatureScheme) String() string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testOnConnectMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.onConnect((req, conn) -> {
                conn.setConnectTimeout(5000);
            });
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testParamMethod() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. interfaces.go

    	RollbackTo(tx *DB, name string) error
    }
    
    // TxBeginner tx beginner
    type TxBeginner interface {
    	BeginTx(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error)
    }
    
    // ConnPoolBeginner conn pool beginner
    type ConnPoolBeginner interface {
    	BeginTx(ctx context.Context, opts *sql.TxOptions) (ConnPool, error)
    }
    
    // TxCommitter tx committer
    type TxCommitter interface {
    	Commit() error
    	Rollback() error
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top