Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 178 for isSame (0.16 sec)

  1. cmd/format-erasure_test.go

    	}
    
    	// Return a format from list of formats in quorum.
    	quorumFormat, err := getFormatErasureInQuorum(formats)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Check if the reference format and input formats are same.
    	if err = formatErasureV3Check(quorumFormat, formats[0]); err != nil {
    		t.Fatal(err)
    	}
    
    	// QuorumFormat has .This field empty on purpose, expect a failure.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    fields. The 64 bit fields will always contain the correct value and
    for normal archives both fields will be the same. For files requiring
    the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit
    fields must be used instead.
    
    [ZIP specification]: https://support.pkware.com/pkzip/appnote
    */
    package zip
    
    import (
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    // and stored in the resource metrics map.
    // It also maintains the count of number of times this metric
    // was collected since the server started, and the sum,
    // average and max values across the same.
    type ResourceMetric struct {
    	Name   MetricName
    	Labels map[string]string
    
    	// value captured in current cycle
    	Current float64
    
    	// Used when system provides cumulative (since uptime) values
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  4. chainable_api.go

    		tx.Statement.AddClause(clause.Where{Exprs: conds})
    	}
    	return
    }
    
    // Not add NOT conditions
    //
    // Not works similarly to where, and has the same syntax.
    //
    //	// Find the first user with name not equal to jinzhu
    //	db.Not("name = ?", "jinzhu").First(&user)
    func (db *DB) Not(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  5. internal/grid/connection.go

    	debugInConn  net.Conn
    	debugOutConn net.Conn
    	addDeadline  time.Duration
    	connMu       sync.Mutex
    }
    
    // Subroute is a connection subroute that can be used to route to a specific handler with the same handler ID.
    type Subroute struct {
    	*Connection
    	trace *tracer
    	route string
    	subID subHandlerID
    }
    
    // String returns a string representation of the connection.
    func (c *Connection) String() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    			return madmin.ReplicateAddStatus{}, errSRInvalidRequest(fmt.Errorf("all existing replicated sites must be specified - missing %s", strings.Join(diffSlc, " ")))
    		}
    	}
    
    	// validate that all clusters are using the same IDP settings.
    	err = c.validateIDPSettings(ctx, sites)
    	if err != nil {
    		return madmin.ReplicateAddStatus{}, err
    	}
    
    	// For this `add` API, either all clusters must be empty or the local
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/erasure-healing-common_test.go

    				t.Errorf("Unexpected error, %s, driveIndex: %d", errs[diskIndex], diskIndex)
    			}
    
    		}
    	}
    }
    
    func TestCommonParities(t *testing.T) {
    	// This test uses two FileInfo values that represent the same object but
    	// have different parities. They occur in equal number of drives, but only
    	// one has read quorum. commonParity should pick the parity corresponding to
    	// the FileInfo which has read quorum.
    	fi1 := FileInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  8. internal/grid/handlers.go

    		Handle StreamHandlerFn
    
    		// Subroute for handler.
    		// Subroute must be static and clients should specify a matching subroute.
    		// Should not be set unless there are different handlers for the same HandlerID.
    		Subroute string
    
    		// OutCapacity is the output capacity. If <= 0 capacity will be 1.
    		OutCapacity int
    
    		// InCapacity is the output capacity.
    		// If == 0 no input is expected
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. migrator/migrator.go

    }
    
    // AddColumn create `name` column for value
    func (m Migrator) AddColumn(value interface{}, name string) error {
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		// avoid using the same name field
    		if stmt.Schema == nil {
    			return errors.New("failed to get schema")
    		}
    		f := stmt.Schema.LookUpField(name)
    		if f == nil {
    			return fmt.Errorf("failed to look up field with name: %s", name)
    		}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    		return rCfg, err
    	}
    	return rCfg, nil
    }
    
    // validateReplicationDestination returns error if replication destination bucket missing or not configured
    // It also returns true if replication destination is same as this server.
    func validateReplicationDestination(ctx context.Context, bucket string, rCfg *replication.Config, checkRemote bool) (bool, APIError) {
    	var arns []string
    	if rCfg.RoleArn != "" {
    		arns = append(arns, rCfg.RoleArn)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top