Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Nick (0.12 sec)

  1. tests/migrate_test.go

    	checkField(&UniqueStruct6{}, "name", false, "idx_unique_struct6_name")
    
    	checkField(&UniqueStruct7{}, "name", false, "")
    	checkField(&UniqueStruct7{}, "nick_name", false, "")
    	checkField(&UniqueStruct7{}, "nick_name", false, "")
    
    	type UniqueStruct8 struct { // unique and uniqueIndex
    		Name string `gorm:"size:60;unique;index:my_us8_index,unique;"`
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    //     createdAfter: "date" # match objects created after "date"
    //     createdBefore: "date" # match objects created before "date"
    //     tags:
    //       - key: "name"
    //         value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
    //     metadata:
    //       - key: "content-type"
    //         value: "image/*" # match objects with 'content-type', with all values starting with 'image/'
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. internal/crypto/key.go

    	return partKey
    }
    
    // SealETag seals the etag using the object key.
    // It does not encrypt empty ETags because such ETags indicate
    // that the S3 client hasn't sent an ETag = MD5(object) and
    // the backend can pick an ETag value.
    func (key ObjectKey) SealETag(etag []byte) []byte {
    	if len(etag) == 0 { // don't encrypt empty ETag - only if client sent ETag = MD5(object)
    		return etag
    	}
    	var buffer bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    //       createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
    //       tags:
    //         - key: name
    //           value: pick* # match objects with tag 'name', all values starting with 'pick'
    //       metadata:
    //         - key: content-type
    //           value: image/* # match objects with 'content-type', all values starting with 'image/'
    //       size:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. cmd/erasure-metadata.go

    	// Start writing `xl.meta` to all disks in parallel.
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			// Pick one FileInfo for a disk at index.
    			fi := files[index]
    			fi.Erasure.Index = index + 1
    			if fi.IsValid() {
    				return disks[index].WriteMetadata(ctx, origbucket, bucket, prefix, fi)
    			}
    			return errFileCorrupt
    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)
  6. cmd/erasure-healing-common_test.go

    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{
    		Volume:         "mybucket",
    		Name:           "myobject",
    		VersionID:      "",
    		IsLatest:       true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. internal/grid/benchmark_test.go

    					rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    					n := 0
    					var latency int64
    					managers := grid.Managers
    					hosts := grid.Hosts
    					for pb.Next() {
    						// Pick a random manager.
    						src, dst := rng.Intn(len(managers)), rng.Intn(len(managers))
    						if src == dst {
    							dst = (dst + 1) % len(managers)
    						}
    						local := managers[src]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  8. internal/grid/manager.go

    	if m.handlers.hasSubhandler(subID) && !id.isTestHandler() {
    		return fmt.Errorf("handler %v, subroute:%v: %w", id.String(), s, ErrHandlerAlreadyExists)
    	}
    	m.handlers.subSingle[subID] = h
    	// Copy so clients can also pick it up for other subpaths.
    	m.handlers.subSingle[makeZeroSubHandlerID(id)] = h
    	return nil
    }
    
    /*
    // RegisterStateless will register a stateless handler that serves
    // []byte -> stream of ([]byte, error) requests.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    		// array second dimension represents list of disks used per set.
    		Sets [][]string `json:"sets"`
    		// Distribution algorithm represents the hashing algorithm
    		// to pick the right set index for an object.
    		DistributionAlgo string `json:"distributionAlgo"`
    	} `json:"xl"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cni/test/install_cni.go

    	}
    	if !chainedCNIPlugin {
    		installConfig.InstallConfig.ChainedCNIPlugin = false
    	}
    
    	startInstallServer(ctx, &installConfig, t)
    }
    
    // checkResult checks if resultFile is equal to expectedFile at each tick until timeout
    func checkResult(result, expected string) error {
    	resultFile, err := os.ReadFile(result)
    	if err != nil {
    		return fmt.Errorf("couldn't read result: %v", err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top