Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 577 for CONTINUE (0.07 sec)

  1. cmd/prepare-storage.go

    		case errors.Is(err, errErasureReadQuorum):
    			// no quorum available continue to wait for minimum number of servers.
    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				len(endpoints)/2, getElapsedTime())
    		case errors.Is(err, errErasureWriteQuorum):
    			// no quorum available continue to wait for minimum number of servers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/erasure-decode_test.go

    				if disk == OfflineDisk {
    					continue
    				}
    				tillOffset := erasure.ShardFileOffset(test.offset, test.length, test.data)
    				bitrotReaders[index] = newBitrotReader(disk, nil, "testbucket", "object", tillOffset, writeAlgorithm, bitrotWriterSum(writers[index]), erasure.ShardSize())
    			}
    			for j := range disks[:test.offDisks] {
    				if bitrotReaders[j] == nil {
    					continue
    				}
    				switch r := bitrotReaders[j].(type) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. tests/prepared_stmt_test.go

    	name := "prepared_stmt_concurrent_reset"
    	user := *GetUser(name, Config{})
    	createTx := DB.Session(&gorm.Session{}).Create(&user)
    	if createTx.Error != nil {
    		t.Fatalf("failed to prepare record due to %s, test cannot be continue", createTx.Error)
    	}
    
    	// create a new connection to keep away from other tests
    	tx, err := OpenTestConnection(&gorm.Config{PrepareStmt: true})
    	if err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. docs/debugging/s3-verify/main.go

    			tgtCtnt, tgtOk = <-tgtCh
    			continue
    		}
    
    		// The same for target
    		if tgtEOF {
    			fmt.Printf("only in source: %s\n", srcCtnt.Key)
    			srcCtnt, srcOk = nextObject(srcCh)
    			continue
    		}
    
    		if srcCtnt.Key < tgtCtnt.Key {
    			fmt.Printf("only in source: %s\n", srcCtnt.Key)
    			srcCtnt, srcOk = nextObject(srcCh)
    			continue
    		}
    
    		if srcCtnt.Key == tgtCtnt.Key {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    				continue // including latest version in toDel suffices, skipping other versions
    			}
    			versionsCount++
    		} else {
    			continue
    		}
    
    		if versionsCount <= matchedFilter.Purge.RetainVersions {
    			continue // retain versions
    		}
    		toDel = append(toDel, expireObjInfo{
    			ObjectInfo: result.Item,
    		})
    	}
    	if context.Cause(ctx) != nil {
    		xioutil.SafeClose(expireCh)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. cmd/os-reliable.go

    	i := 0
    	for {
    		// Removes all the directories and files.
    		if err = RemoveAll(dirPath); err != nil {
    			// Retry only for the first retryable error.
    			if isSysErrNotEmpty(err) && i == 0 {
    				i++
    				continue
    			}
    		}
    		break
    	}
    	return err
    }
    
    // Wrapper functions to os.MkdirAll, which calls reliableMkdirAll
    // this is to ensure that if there is a racy parent directory
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. cmd/httprange_test.go

    		var o, l int64
    		rs, err1 = parseRequestRangeSpec(irs)
    		if err1 == nil {
    			o, l, err2 = rs.GetOffsetLength(resourceSize)
    		}
    		if isErrInvalidRange(err1) || (err1 == nil && isErrInvalidRange(err2)) {
    			continue
    		}
    		t.Errorf("Case %d: Expected errInvalidRange but: %v %v %d %d %v", i, rs, err1, o, l, err2)
    	}
    }
    
    func TestHTTPRequestRangeToHeader(t *testing.T) {
    	validRangeSpecs := []struct {
    		spec        string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    		if parity == -1 {
    			// Ignore non defined parity
    			continue
    		}
    
    		readQuorum := N - parity
    		if defaultParityCount > 0 && parity == 0 {
    			// In this case, parity == 0 implies that this object version is a
    			// delete marker
    			readQuorum = N/2 + 1
    		}
    		if occ < readQuorum {
    			// Ignore this parity since we don't have enough shards for read quorum
    			continue
    		}
    
    		if occ > maxOcc {
    			maxOcc = occ
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. callbacks/associations.go

    			// Save Belongs To associations
    			for _, rel := range db.Statement.Schema.Relationships.BelongsTo {
    				if v, ok := selectColumns[rel.Name]; (ok && !v) || (!ok && restricted) {
    					continue
    				}
    
    				setupReferences := func(obj reflect.Value, elem reflect.Value) {
    					for _, ref := range rel.References {
    						if !ref.OwnPrimaryKey {
    							pv, _ := ref.PrimaryKey.ValueOf(db.Statement.Context, elem)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. scan.go

    	if db.Statement.Schema != nil {
    		for idx, name := range columns {
    			if field := db.Statement.Schema.LookUpField(name); field != nil {
    				values[idx] = reflect.New(reflect.PtrTo(field.FieldType)).Interface()
    				continue
    			}
    			values[idx] = new(interface{})
    		}
    	} else if len(columnTypes) > 0 {
    		for idx, columnType := range columnTypes {
    			if columnType.ScanType() != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top