Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for conns (0.04 sec)

  1. interfaces.go

    type Plugin interface {
    	Name() string
    	Initialize(*DB) error
    }
    
    type ParamsFilter interface {
    	ParamsFilter(ctx context.Context, sql string, params ...interface{}) (string, []interface{})
    }
    
    // ConnPool db conns pool interface
    type ConnPool interface {
    	PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
    	ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. docs/bigdata/README.md

    fs.s3a.endpoint=http://minio:9000
    fs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
    
    fs.s3a.committer.threads=2048 # Number of threads writing to MinIO
    fs.s3a.connection.maximum=8192 # Maximum number of concurrent conns
    fs.s3a.fast.upload.active.blocks=2048 # Number of parallel uploads
    fs.s3a.fast.upload.buffer=disk # Use disk as the buffer for uploads
    fs.s3a.fast.upload=true # Turn on fast upload mode
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  3. cmd/server-main.go

    		Value: func() time.Duration {
    			if orchestrated {
    				return 30 * time.Second
    			}
    			return 10 * time.Minute
    		}(),
    		EnvVar: "MINIO_DNS_CACHE_TTL",
    	},
    	cli.IntFlag{
    		Name:   "max-idle-conns-per-host",
    		Usage:  "set a custom max idle connections per host value",
    		Hidden: true,
    		Value:  2048,
    		EnvVar: "MINIO_MAX_IDLE_CONNS_PER_HOST",
    	},
    	cli.StringSliceFlag{
    		Name:  "ftp",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  4. internal/kms/conn.go

    	// MAC generates the checksum of the given req.Message using the key
    	// with the req.Name at the KMS.
    	MAC(context.Context, *MACRequest) ([]byte, error)
    }
    
    var ( // compiler checks
    	_ conn = (*kmsConn)(nil)
    	_ conn = (*kesConn)(nil)
    	_ conn = secretKey{}
    )
    
    // Supported KMS types
    const (
    	MinKMS  Type = iota + 1 // MinIO KMS
    	MinKES                  // MinIO MinKES
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. finisher_api.go

    // First finds the first record ordered by primary key, matching given conditions conds
    func (db *DB) First(dest interface{}, conds ...interface{}) (tx *DB) {
    	tx = db.Limit(1).Order(clause.OrderByColumn{
    		Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey},
    	})
    	if len(conds) > 0 {
    		if exprs := tx.Statement.BuildCondition(conds[0], conds[1:]...); len(exprs) > 0 {
    			tx.Statement.AddClause(clause.Where{Exprs: exprs})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. docs/fr/docs/features.md

    * Documentation automatique des modèles de données avec <a href="http://json-schema.org/"...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. tests/connpool_test.go

    		},
    	}
    
    	defer func() {
    		if !reflect.DeepEqual(conn.got, conn.expect) {
    			t.Errorf("expect %#v but got %#v", conn.expect, conn.got)
    		}
    	}()
    
    	db, err := gorm.Open(mysql.New(mysql.Config{Conn: conn, DisableWithReturning: true}))
    	if err != nil {
    		t.Fatalf("Should open db success, but got %v", err)
    	}
    
    	tx := db.Begin()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. association.go

    				conds = append(conds, clause.IN{Column: pcolumn, Values: pvalues})
    			} else {
    				return ErrPrimaryKeyRequired
    			}
    
    			_, rvs := schema.GetIdentityFieldValuesMapFromValues(association.DB.Statement.Context, values, primaryFields)
    			relColumn, relValues := schema.ToQueryValues(rel.Schema.Table, foreignKeys, rvs)
    			conds = append(conds, clause.IN{Column: relColumn, Values: relValues})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. chainable_api.go

    //
    // [docs]: https://gorm.io/docs/query.html#Conditions
    func (db *DB) Where(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if conds := tx.Statement.BuildCondition(query, args...); len(conds) > 0 {
    		tx.Statement.AddClause(clause.Where{Exprs: conds})
    	}
    	return
    }
    
    // Not add NOT conditions
    //
    // Not works similarly to where, and has the same syntax.
    //
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. internal/http/listener.go

    }
    
    // Accept - reads from httpListener.acceptCh for one of previously accepted TCP connection and returns the same.
    func (listener *httpListener) Accept() (conn net.Conn, err error) {
    	select {
    	case result, ok := <-listener.acceptCh:
    		if ok {
    			return result.conn, result.err
    		}
    	case <-listener.ctx.Done():
    	}
    	return nil, syscall.EINVAL
    }
    
    // Close - closes underneath all TCP listeners.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top