Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 326 for Number (0.14 sec)

  1. tests/update_has_one_test.go

    		}
    
    		number := "number-has-one-associations"
    		cusUser := CustomizeUser{
    			Name: "update-has-one-associations",
    			Account: CustomizeAccount{
    				Number:  number,
    				Number2: number,
    			},
    		}
    
    		if err := DB.Create(&cusUser).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    		cusUser.Account.Number += "-update"
    		cusUser.Account.Number2 += "-update"
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jul 14 06:55:54 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    			if setSize%s == 0 {
    				ss = append(ss, s)
    			}
    		}
    		return ss
    	}
    
    	setCounts := possibleSetCounts(commonSize)
    	if len(setCounts) == 0 {
    		msg := fmt.Sprintf("Incorrect number of endpoints provided %s, number of drives %d is not divisible by any supported erasure set sizes %d", args, commonSize, setSizes)
    		return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    	}
    
    	var setSize uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes.go

    	StorageClass string
    
    	// Part number after which listing begins.
    	PartNumberMarker int
    
    	// When a list is truncated, this element specifies the last part in the list,
    	// as well as the value to use for the part-number-marker request parameter
    	// in a subsequent request.
    	NextPartNumberMarker int
    
    	// Maximum number of parts that were allowed in the response.
    	MaxParts int
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    	d.diskNbr = b.uint32()            // number of this disk
    	d.dirDiskNbr = b.uint32()         // number of the disk with the start of the central directory
    	d.dirRecordsThisDisk = b.uint64() // total number of entries in the central directory on this disk
    	d.directoryRecords = b.uint64()   // total number of entries in the central directory
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. cmd/namespace-lock_test.go

    )
    
    // WARNING:
    //
    // Expected source line number is hard coded, 35, in the
    // following test. Adding new code before this test or changing its
    // position will cause the line number to change and the test to FAIL
    // Tests getSource().
    func TestGetSource(t *testing.T) {
    	currentSource := func() string { return getSource(2) }
    	gotSource := currentSource()
    	// Hard coded line number, 35, in the "expectedSource" value
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    	fi.Parts = append(fi.Parts, partInfo)
    
    	// Parts in FileInfo should be in sorted order by part number.
    	sort.Slice(fi.Parts, func(i, j int) bool { return fi.Parts[i].Number < fi.Parts[j].Number })
    }
    
    // ObjectToPartOffset - translate offset of an object to offset of its individual part.
    func (fi FileInfo) ObjectToPartOffset(ctx context.Context, offset int64) (partIndex int, partOffset int64, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  7. internal/bucket/replication/datatypes_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = StatusType(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z StatusType) Msgsize() (s int) {
    	s = msgp.StringPrefixSize + len(string(z))
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. cmd/object-api-multipart_test.go

    		// Test case with keyMarker set equal to number of parts in the result. (Test number 18).
    		{bucketNames[0], "", "min", "", "", 1, listMultipartResults[5], nil, true},
    		// Test case with keyMarker set to 0. (Test number 19).
    		{bucketNames[0], "", "min", "", "", 0, listMultipartResults[6], nil, true},
    		// Test case with keyMarker less than 0. (Test number 20).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  9. cmd/data-usage-utils.go

    	// Total size for objects that have been replicated to destination
    	ReplicatedSizeV1 uint64 `json:"objectsReplicatedTotalSize"`
    	// Total number of objects pending replication
    	ReplicationPendingCountV1 uint64 `json:"objectsPendingReplicationCount"`
    	// Total number of objects that failed replication
    	ReplicationFailedCountV1 uint64 `json:"objectsFailedReplicationCount"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. internal/logger/help.go

    		},
    		config.HelpKV{
    			Key:         BatchSize,
    			Description: "Number of events per HTTP send to webhook target",
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         QueueSize,
    			Description: "configure channel queue size for webhook targets",
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         QueueDir,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 20:17:46 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top