Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for begitu (0.07 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * <ol>
       *   <li>execution will not stop until the task queue is empty.
       *   <li>tasks will begin execution with the thread marked as not interrupted - any interruption
       *       applies only to the task that was running at the point of interruption.
       *   <li>if the thread was interrupted before the SequentialExecutor's worker begins execution,
       *       the interrupt will be restored to the thread after it completes so that its {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  4. tests/transaction_test.go

    package tests_test
    
    import (
    	"context"
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestTransaction(t *testing.T) {
    	tx := DB.Begin()
    	user := *GetUser("transaction", Config{})
    
    	if err := tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    	if err := tx.First(&User{}, "name = ?", "transaction").Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        @Override
        protected void implCloseChannel() {
          throw new RuntimeException("I bet you didn't think Thread.interrupt could throw");
        }
    
        void doBegin() {
          super.begin();
        }
      }
    
      /**
       * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To
       * protect ourselves from that we want to make sure that tasks don't spin too much waiting for the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/upgrade/admin_upgrade.jsp

    								<la:message key="labels.upgrade_title_configuration" />
    							</h1>
    						</div>
    					</div>
    				</div>
    			</div>
    			<section class="content">
    				<la:form action="/admin/upgrade/">
    					<%-- Message: BEGIN --%>
    					<div class="col-md-12">
    						<la:info id="msg" message="true">
    							<div class="alert alert-info">${msg}</div>
    						</la:info>
    						<la:errors />
    					</div>
    					<%-- Message: END --%>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Sep 22 07:32:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/testing-dependencies.md

    ```Python
    app.dependency_overrides = {}
    ```
    
    /// tip | "Tipp"
    
    Wenn Sie eine Abhängigkeit nur während einiger Tests überschreiben möchten, können Sie die Überschreibung zu Beginn des Tests (innerhalb der Testfunktion) festlegen und am Ende (am Ende der Testfunktion) zurücksetzen.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/maven/bin/mvnenc.cmd

    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    @REM -----------------------------------------------------------------------------
    
    @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
    @echo off
    @REM set title of command window
    title %0
    @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
    @if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO%
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/maven/bin/mvnDebug.cmd

    @REM   MAVEN_DEBUG_ADDRESS (Optional) Set the debug address. Default value is localhost:8000
    @REM -----------------------------------------------------------------------------
    
    @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
    @echo off
    @REM set title of command window
    title %0
    @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
    @if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO%
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 18 11:01:21 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

            }
            hasSkip = true;
            partsSkipped++; // :: means we skipped an extra part in between the two delimiters.
            if (i == 0) {
              partsSkipped++; // Begins with ::, so we skipped the part preceding the first :
            }
            if (i == ipString.length() - 2) {
              partsSkipped++; // Ends with ::, so we skipped the part after the last :
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top