Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for rebegin (0.23 sec)

  1. internal/config/certs_test.go

    	if err != nil {
    		t.Fatalf("Unable to create temporary file. %v", err)
    	}
    	defer os.Remove(tempFile1)
    
    	tempFile2, err := createTempFile("public-cert-file",
    		`-----BEGIN CERTIFICATE-----
    MIICdTCCAd4CCQCO5G/W1xcE9TANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJa
    WTEOMAwGA1UECBMFTWluaW8xETAPBgNVBAcTCEludGVybmV0MQ4wDAYDVQQKEwVN
    aW5pbzEOMAwGA1UECxMFTWluaW8xDjAMBgNVBAMTBU1pbmlvMR0wGwYJKoZIhvcN
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 21.6K bytes
    - Viewed (0)
  2. callbacks/callbacks.go

    	}
    	if len(config.UpdateClauses) == 0 {
    		config.UpdateClauses = updateClauses
    	}
    
    	createCallback := db.Callback().Create()
    	createCallback.Match(enableTransaction).Register("gorm:begin_transaction", BeginTransaction)
    	createCallback.Register("gorm:before_create", BeforeCreate)
    	createCallback.Register("gorm:save_before_associations", SaveBeforeAssociations(true))
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Oct 27 23:56:55 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  3. internal/http/listener_test.go

    	certificate, err := getTLSCert()
    	if err != nil {
    		return nil, err
    	}
    	return &certificate, nil
    }
    
    func getTLSCert() (tls.Certificate, error) {
    	keyPEMBlock := []byte(`-----BEGIN RSA PRIVATE KEY-----
    MIIEpAIBAAKCAQEApEkbPrT6wzcWK1W5atQiGptvuBsRdf8MCg4u6SN10QbslA5k
    6BYRdZfFeRpwAwYyzkumug6+eBJatDZEd7+0FF86yxB7eMTSiHKRZ5Mi5ZyCFsez
    dndknGBeK6I80s1jd5ZsLLuMKErvbNwSbfX+X6d2mBeYW8Scv9N+qYnNrHHHohvX
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  4. internal/event/target/kafka_scram_client_contrib.go

    	*scram.Client
    	*scram.ClientConversation
    	scram.HashGeneratorFcn
    }
    
    // Begin constructs a SCRAM client component based on a given hash.Hash
    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arm64.go

    	if arm64SpecialOperand == nil {
    		// Generate the mapping automatically when the first time the function is called.
    		arm64SpecialOperand = map[string]arm64.SpecialOperand{}
    		for opd := arm64.SPOP_BEGIN; opd < arm64.SPOP_END; opd++ {
    			arm64SpecialOperand[opd.String()] = opd
    		}
    
    		// Handle some special cases.
    		specialMapping := map[string]arm64.SpecialOperand{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    	return result, nil
    }
    
    // ListObjectParts - lists all previously uploaded parts for a given
    // object and uploadID.  Takes additional input of part-number-marker
    // to indicate where the listing should begin from.
    //
    // Implements S3 compatible ListObjectParts API. The resulting
    // ListPartsInfo structure is marshaled directly into XML and
    // replied back to the client.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. tests/preload_test.go

    				},
    			},
    		},
    	}
    
    	DB.Create(&users)
    
    	query := make([]string, 0)
    	sess := DB.Session(&gorm.Session{Logger: Tracer{
    		Logger: DB.Config.Logger,
    		Test: func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    			sql, _ := fc()
    			query = append(query, sql)
    		},
    	}})
    
    	var result []User
    	err := sess.
    		Joins("Manager").
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. 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 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  9. prepare_stmt.go

    	db.Mux.Unlock()
    
    	// prepare completed
    	defer close(cacheStmt.prepared)
    
    	// Reason why cannot lock conn.PrepareContext
    	// suppose the maxopen is 1, g1 is creating record and g2 is querying record.
    	// 1. g1 begin tx, g1 is requeue because of waiting for the system call, now `db.ConnPool` db.numOpen == 1.
    	// 2. g2 select lock `conn.PrepareContext(ctx, query)`, now db.numOpen == db.maxOpen , wait for release.
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Mar 28 08:47:39 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin.go

    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    		if podNamespace == excludeNs {
    			log.Infof("pod namespace excluded")
    			return nil
    		}
    	}
    
    	// Begin ambient plugin logic
    	// For ambient pods, this is all the logic we need to run
    	if conf.AmbientEnabled {
    		log.Debugf("istio-cni ambient cmdAdd podName: %s - checking if ambient enabled", podName)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top