Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 227 for conn (0.01 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. finisher_api.go

    	if db.Error != nil {
    		return db.Error
    	}
    
    	tx := db.getInstance()
    	sqlDB, err := tx.DB()
    	if err != nil {
    		return
    	}
    
    	conn, err := sqlDB.Conn(tx.Statement.Context)
    	if err != nil {
    		return
    	}
    
    	defer conn.Close()
    	tx.Statement.ConnPool = conn
    	return fc(tx)
    }
    
    // Transaction start a transaction as a block, return error will rollback, otherwise to commit. Transaction executes an
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. 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)
  7. tests/transaction_test.go

    		return nil
    	}); err == nil {
    		t.Errorf("should returns error when commit with closed conn, got error %v", err)
    	}
    
    	if err := DB.Session(&gorm.Session{PrepareStmt: true}).Transaction(func(tx *gorm.DB) error {
    		return nil
    	}); err == nil {
    		t.Errorf("should returns error when commit with closed conn, got error %v", err)
    	}
    }
    
    func TestTransactionWithHooks(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. docs/features/connections.md

     * They don't specify whether a specific proxy server should be used or how to authenticate with that proxy server.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  9. gorm.go

    	TranslateError bool
    	// PropagateUnscoped propagate Unscoped to every other nested statement
    	PropagateUnscoped bool
    
    	// ClauseBuilders clause builder
    	ClauseBuilders map[string]clause.ClauseBuilder
    	// ConnPool db conn pool
    	ConnPool ConnPool
    	// Dialector database dialector
    	Dialector
    	// Plugins registered plugins
    	Plugins map[string]Plugin
    
    	callbacks  *callbacks
    	cacheStore *sync.Map
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. apache-maven/src/assembly/maven/bin/m2.conf

    # under the License.
    
    set maven.mainClass default org.apache.maven.cling.MavenCling
    
    main is ${maven.mainClass} from plexus.core
    
    set maven.conf default ${maven.home}/conf
    set maven.installation.conf default ${maven.conf}
    
    [plexus.core]
    load       ${maven.conf}/logging
    optionally ${maven.home}/lib/ext/redisson/*.jar
    optionally ${maven.home}/lib/ext/hazelcast/*.jar
    optionally ${user.home}/.m2/ext/*.jar
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 28 07:45:35 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top