Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 319 for drive (0.75 sec)

  1. tests/go.mod

    	github.com/lib/pq v1.10.9
    	github.com/stretchr/testify v1.9.0
    	gorm.io/driver/mysql v1.5.7
    	gorm.io/driver/postgres v1.5.9
    	gorm.io/driver/sqlite v1.5.6
    	gorm.io/driver/sqlserver v1.5.3
    	gorm.io/gorm v1.25.12
    )
    
    require (
    	filippo.io/edwards25519 v1.1.0 // indirect
    	github.com/davecgh/go-spew v1.1.1 // indirect
    	github.com/go-sql-driver/mysql v1.8.1 // indirect
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Wed Sep 18 12:03:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. docs/distributed/SIZING.md

    If one or more drives are offline at the start of a PutObject or NewMultipartUpload operation the object will have additional data
    protection bits added automatically to provide the regular safety for these objects up to 50% of the number of drives.
    This will allow normal write operations to take place on systems that exceed the write tolerance.
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. utils/utils_test.go

    		{"error not equal", errors.New("1"), errors.New("2"), false},
    		{"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
    		{"driver.Valuer not equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now.Add(time.Second), Valid: true}, false},
    		{"driver.Valuer equal (ptr to nil ptr)", (*ModifyAt)(nil), &ModifyAt{}, false},
    	}
    	for _, test := range assertEqualTests {
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. docs/minio-limits.md

    | Minimum number of drives per server when server count is 1      | 02            |
    | Minimum number of drives per server when server count is 2 or 3 | 01            |
    | Minimum number of drives per server when server count is 4      | 01            |
    | Maximum number of drives per server                             | no-limit      |
    | Read quorum                                                     | N/2           |
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. prepare_stmt.go

    package gorm
    
    import (
    	"context"
    	"database/sql"
    	"database/sql/driver"
    	"errors"
    	"reflect"
    	"sync"
    )
    
    type Stmt struct {
    	*sql.Stmt
    	Transaction bool
    	prepared    chan struct{}
    	prepareErr  error
    }
    
    type PreparedStmtDB struct {
    	Stmts map[string]*Stmt
    	Mux   *sync.RWMutex
    	ConnPool
    }
    
    func NewPreparedStmtDB(connPool ConnPool) *PreparedStmtDB {
    	return &PreparedStmtDB{
    		ConnPool: connPool,
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tests/tests_test.go

    package tests_test
    
    import (
    	"log"
    	"math/rand"
    	"os"
    	"path/filepath"
    	"time"
    
    	"gorm.io/driver/mysql"
    	"gorm.io/driver/postgres"
    	"gorm.io/driver/sqlite"
    	"gorm.io/driver/sqlserver"
    	"gorm.io/gorm"
    	"gorm.io/gorm/logger"
    	. "gorm.io/gorm/utils/tests"
    )
    
    var DB *gorm.DB
    var (
    	mysqlDSN     = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. tests/scanner_valuer_test.go

    package tests_test
    
    import (
    	"context"
    	"database/sql"
    	"database/sql/driver"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"reflect"
    	"regexp"
    	"strconv"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestScannerValuer(t *testing.T) {
    	DB.Migrator().DropTable(&ScannerValuerStruct{})
    	if err := DB.Migrator().AutoMigrate(&ScannerValuerStruct{}); err != nil {
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. utils/utils.go

    	yval := reflect.ValueOf(y)
    	if xval.Kind() == reflect.Ptr && xval.IsNil() ||
    		yval.Kind() == reflect.Ptr && yval.IsNil() {
    		return false
    	}
    
    	if valuer, ok := x.(driver.Valuer); ok {
    		x, _ = valuer.Value()
    	}
    	if valuer, ok := y.(driver.Valuer); ok {
    		y, _ = valuer.Value()
    	}
    	return reflect.DeepEqual(x, y)
    }
    
    func ToString(value interface{}) string {
    	switch v := value.(type) {
    	case string:
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. .github/workflows/mint/minio-erasure.yaml

          - ./nginx-1-node.conf:/etc/nginx/nginx.conf:ro
        ports:
          - "9000:9000"
          - "9001:9001"
        depends_on:
          - minio1
    
    ## By default this config uses default local driver,
    ## For custom volumes replace with volume driver configuration.
    volumes:
      edata1-1:
      edata1-2:
      edata1-3:
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Nov 03 21:18:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. migrator/column_type.go

    	}
    	return ct.SQLColumnType.Name()
    }
    
    // DatabaseTypeName returns the database system name of the column type. If an empty
    // string is returned, then the driver type name is not supported.
    // Consult your driver documentation for a list of driver data types. Length specifiers
    // are not included.
    // Common type names include "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL",
    // "INT", and "BIGINT".
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top