Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for Drivers (0.21 sec)

  1. internal/event/target/mysql_test.go

    import (
    	"database/sql"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if sql driver
    // is registered and fails otherwise.
    func TestMySQLRegistration(t *testing.T) {
    	var found bool
    	for _, drv := range sql.Drivers() {
    		if drv == "mysql" {
    			found = true
    			break
    		}
    	}
    	if !found {
    		t.Fatal("mysql driver not registered")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 02 14:53:13 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  2. internal/event/target/postgresql_test.go

    import (
    	"database/sql"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	for _, drv := range sql.Drivers() {
    		if drv == "postgres" {
    			found = true
    			break
    		}
    	}
    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // be a DNS subdomain (dots allowed, 253 characters). To ensure that
      // there are no conflicts with other CSI drivers on the cluster, the recommendation
      // is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends
      // with the unique CSI driver name.
      //
      // Objects are namespaced.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. cmd/erasure-heal_test.go

    		writers := make([]io.Writer, len(disks))
    		for i, disk := range disks {
    			writers[i] = newBitrotWriter(disk, "", "testbucket", "testobject", erasure.ShardFileSize(test.size), test.algorithm, erasure.ShardSize())
    		}
    		_, err = erasure.Encode(context.Background(), bytes.NewReader(data), writers, buffer, erasure.dataBlocks+1)
    		closeBitrotWriters(writers)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    	}
    
    	return bytesWritten, derr
    }
    
    // Heal reads from readers, reconstruct shards and writes the data to the writers.
    func (e Erasure) Heal(ctx context.Context, writers []io.Writer, readers []io.ReaderAt, totalLength int64, prefer []bool) (derr error) {
    	if len(writers) != e.parityBlocks+e.dataBlocks {
    		return errInvalidArgument
    	}
    
    	reader := newParallelReader(readers, e, 0, totalLength)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. cmd/erasure-encode.go

    }
    
    // Encode reads from the reader, erasure-encodes the data and writes to the writers.
    func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) {
    	writer := &parallelWriter{
    		writers:     writers,
    		writeQuorum: quorum,
    		errs:        make([]error, len(writers)),
    	}
    
    	for {
    		var blocks [][]byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. docs/erasure/README.md

    drives.  Therefore, the number of drives you present must be a multiple of one of these numbers.  Each object is written to a single erasure-coding set.
    
    Minio uses the largest possible EC set size which divides into the number of drives given. For example, *18 drives* are configured as *2 sets of 9 drives*, and *24 drives* are configured as *2 sets of 12 drives*.  This is true for scenarios when running MinIO as a standalone erasure coded deployment. In [distributed setup however node (affinity)...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  8. docs/erasure/storage-class/README.md

    on 16 drive MinIO deployment. If you use eight data and eight parity drives, the file space usage will be approximately twice, i.e. 100 MiB
    file will take 200 MiB space. But, if you use ten data and six parity drives, same 100 MiB file takes around 160 MiB. If you use 14 data and
    two parity drives, 100 MiB file takes only approximately 114 MiB.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  9. cmd/metrics-v3-cluster-health.go

    import "context"
    
    const (
    	healthDrivesOfflineCount = "drives_offline_count"
    	healthDrivesOnlineCount  = "drives_online_count"
    	healthDrivesCount        = "drives_count"
    )
    
    var (
    	healthDrivesOfflineCountMD = NewGaugeMD(healthDrivesOfflineCount,
    		"Count of offline drives in the cluster")
    	healthDrivesOnlineCountMD = NewGaugeMD(healthDrivesOnlineCount,
    		"Count of online drives in the cluster")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

        }
    
        /**
         * JDBCドライバを登録します。
         *
         * @param driver
         *            登録するJDBCドライバ。{@literal null}であってはいけません
         */
        public static void registerDriver(final Driver driver) {
            assertArgumentNotNull("driver", driver);
    
            try {
                DriverManager.registerDriver(driver);
            } catch (final SQLException e) {
                throw new SQLRuntimeException(e);
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top