Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for Conn (0.18 sec)

  1. 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
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. cmd/iam.go

    func (sys *IAMSys) NormalizeLDAPAccessKeypairs(ctx context.Context, accessKeyMap map[string]madmin.SRSvcAccCreate,
    ) (err error) {
    	conn, err := sys.LDAPConfig.LDAP.Connect()
    	if err != nil {
    		return err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = sys.LDAPConfig.LDAP.LookupBind(conn); err != nil {
    		return err
    	}
    
    	var collectedErrors []error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                                  description: |2-
    
    
                                    Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
                                  enum:
                                  - UNSPECIFIED
                                  - LEAST_CONN
                                  - RANDOM
                                  - PASSTHROUGH
                                  - ROUND_ROBIN
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 18:46:49 GMT 2024
    - 570.3K bytes
    - Viewed (0)
  4. cmd/common-main.go

    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.ConnReadDeadline = ctx.Duration("conn-read-deadline")
    	ctxt.ConnWriteDeadline = ctx.Duration("conn-write-deadline")
    	ctxt.ConnClientReadDeadline = ctx.Duration("conn-client-read-deadline")
    	ctxt.ConnClientWriteDeadline = ctx.Duration("conn-client-write-deadline")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. cmd/storage-rest-client.go

    			return toStorageErr(err) != errDiskNotFound
    		}
    	}
    	conn := gm.Connection(endpoint.GridHost()).Subroute(endpoint.Path)
    	if conn == nil {
    		return nil, fmt.Errorf("unable to find connection for %s in targets: %v", endpoint.GridHost(), gm.Targets())
    	}
    	client := &storageRESTClient{
    		endpoint:      endpoint,
    		restClient:    restClient,
    		gridConn:      conn,
    		diskInfoCache: cachevalue.New[DiskInfo](),
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  6. api/go1.18.txt

    pkg bufio, method (ReadWriter) AvailableBuffer() []uint8
    pkg bytes, func Cut([]uint8, []uint8) ([]uint8, []uint8, bool)
    pkg bytes, func Title //deprecated
    pkg crypto/tls, method (*Conn) NetConn() net.Conn
    pkg crypto/tls, type Config struct, PreferServerCipherSuites //deprecated
    pkg crypto/x509, method (*CertPool) Subjects //deprecated
    pkg debug/buildinfo, func Read(io.ReaderAt) (*debug.BuildInfo, error)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K 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) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. internal/http/response-recorder.go

    	headers bytes.Buffer
    	body    bytes.Buffer
    	// Indicate if headers are written in the log
    	headersLogged bool
    }
    
    // Hijack - hijacks the underlying connection
    func (lrw *ResponseRecorder) Hijack() (net.Conn, *bufio.ReadWriter, error) {
    	hj, ok := lrw.ResponseWriter.(http.Hijacker)
    	if !ok {
    		return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter)
    	}
    	return hj.Hijack()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 00:13:19 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. manifests/charts/base/crds/crd-all.gen.yaml

                                  description: |2-
    
    
                                    Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
                                  enum:
                                  - UNSPECIFIED
                                  - LEAST_CONN
                                  - RANDOM
                                  - PASSTHROUGH
                                  - ROUND_ROBIN
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  10. api/go1.12.txt

    pkg crypto/tls, const TLS_CHACHA20_POLY1305_SHA256 uint16
    pkg crypto/tls, const VersionTLS13 = 772
    pkg crypto/tls, const VersionTLS13 ideal-int
    pkg crypto/tls, type RecordHeaderError struct, Conn net.Conn
    pkg debug/elf, const R_RISCV_32_PCREL = 57
    pkg debug/elf, const R_RISCV_32_PCREL R_RISCV
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT = 452
    pkg debug/pe, const IMAGE_FILE_MACHINE_ARMNT ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
Back to top