Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for Commit (0.15 sec)

  1. cni/pkg/plugin/plugin_dryrun_test.go

    			}
    		})
    	}
    }
    
    func getRules(b []byte) map[string]string {
    	// Separate content with "COMMIT"
    	parts := strings.Split(string(b), "COMMIT")
    	tables := make(map[string]string)
    	for _, table := range parts {
    		// If table is not empty, get table name from the first line
    		lines := strings.Split(strings.Trim(table, "\n"), "\n")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    		expectedRQuorum = len(partsMetadata)
    	}
    
    	reducedErr := reduceReadQuorumErrs(ctx, errs, objectOpIgnoredErrs, expectedRQuorum)
    	if reducedErr != nil {
    		return FileInfo{}, reducedErr
    	}
    
    	// List all the file commit ids from parts metadata.
    	modTimes := listObjectModtimes(partsMetadata, errs)
    
    	// Count all latest updated FileInfo values
    	var count int
    	var latestFileInfo FileInfo
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  3. cmd/peer-rest-client.go

    	respBody, err := client.callWithContext(ctx, peerRESTMethodVerifyBinary, values, reader, -1)
    	if err != nil {
    		return err
    	}
    	defer xhttp.DrainBody(respBody)
    	return nil
    }
    
    // CommitBinary - sends commit binary message to remote peers.
    func (client *peerRESTClient) CommitBinary(ctx context.Context) error {
    	respBody, err := client.callWithContext(ctx, peerRESTMethodCommitBinary, nil, nil, -1)
    	if err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. prepare_stmt.go

    	PreparedStmtDB *PreparedStmtDB
    }
    
    func (db *PreparedStmtTX) GetDBConn() (*sql.DB, error) {
    	return db.PreparedStmtDB.GetDBConn()
    }
    
    func (tx *PreparedStmtTX) Commit() error {
    	if tx.Tx != nil && !reflect.ValueOf(tx.Tx).IsNil() {
    		return tx.Tx.Commit()
    	}
    	return ErrInvalidTransaction
    }
    
    func (tx *PreparedStmtTX) Rollback() error {
    	if tx.Tx != nil && !reflect.ValueOf(tx.Tx).IsNil() {
    		return tx.Tx.Rollback()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 28 08:47:39 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. callbacks/callbacks.go

    	createCallback.Register("gorm:save_after_associations", SaveAfterAssociations(true))
    	createCallback.Register("gorm:after_create", AfterCreate)
    	createCallback.Match(enableTransaction).Register("gorm:commit_or_rollback_transaction", CommitOrRollbackTransaction)
    	createCallback.Clauses = config.CreateClauses
    
    	queryCallback := db.Callback().Query()
    	queryCallback.Register("gorm:query", Query)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Oct 27 23:56:55 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  6. internal/event/target/kafka.go

    			}
    			return err
    		}
    		msg, err := target.toProducerMessage(eventData)
    		if err != nil {
    			return err
    		}
    		if err = target.batch.Add(key.Name, msg); err != nil {
    			return err
    		}
    	}
    	// commit the batch if the key is the last one present in the store.
    	if key.IsLast || target.batch.IsFull() {
    		return target.commitBatch()
    	}
    	return nil
    }
    
    func (target *KafkaTarget) commitBatch() error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. cmd/build-constants.go

    	GOROOT = ""
    
    	// Version - version time.RFC3339.
    	Version = "DEVELOPMENT.GOGET"
    
    	// ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
    	ReleaseTag = "DEVELOPMENT.GOGET"
    
    	// CommitID - latest commit id.
    	CommitID = "DEVELOPMENT.GOGET"
    
    	// ShortCommitID - first 12 characters from CommitID.
    	ShortCommitID = "DEVELOPMENT.GOGET"
    
    	// CopyrightYear - dynamic value of the copyright end year
    	CopyrightYear = "0000"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. cmd/update.go

    }
    
    // DO NOT CHANGE USER AGENT STYLE.
    // The style should be
    //
    //	MinIO (<OS>; <ARCH>[; <MODE>][; dcos][; kubernetes][; docker][; source]) MinIO/<VERSION> MinIO/<RELEASE-TAG> MinIO/<COMMIT-ID> [MinIO/universe-<PACKAGE-NAME>] [MinIO/helm-<HELM-VERSION>]
    //
    // Any change here should be discussed by opening an issue at
    // https://github.com/minio/minio/issues.
    func getUserAgent(mode string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. cmd/metrics-v2.go

    	writeBytes      MetricName = "write_bytes"
    	wcharBytes      MetricName = "wchar_bytes"
    
    	latencyMicroSec MetricName = "latency_us"
    	latencyNanoSec  MetricName = "latency_ns"
    
    	commitInfo  MetricName = "commit_info"
    	usageInfo   MetricName = "usage_info"
    	versionInfo MetricName = "version_info"
    
    	sizeDistribution    = "size_distribution"
    	versionDistribution = "version_distribution"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  10. interfaces.go

    }
    
    // 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
    }
    
    // Tx sql.Tx interface
    type Tx interface {
    	ConnPool
    	TxCommitter
    	StmtContext(ctx context.Context, stmt *sql.Stmt) *sql.Stmt
    }
    
    // Valuer gorm valuer interface
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Aug 19 13:33:31 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top