Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Hevery (0.16 sec)

  1. cmd/data-scanner.go

    //
    // A bucket root will never be compacted.
    //
    // Furthermore if a has more than dataScannerCompactAtChildren recursive children (uncompacted folders)
    // the tree will be recursively scanned and the branches with the least number of objects will be
    // compacted until the limit is reached.
    //
    // This ensures that any branch will never contain an unreasonable amount of other branches,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver.go

    		go func() {
    			log.Debug("handling conn")
    			if err := z.handleConn(ctx, conn); err != nil {
    				log.Errorf("failed to handle conn: %v", err)
    			}
    		}()
    	}
    }
    
    // ZDS protocol is very simple, for every message sent, and ack is sent.
    // the ack only has temporal correlation (i.e. it is the first and only ack msg after the message was sent)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. cmd/bitrot.go

    		return sha256.New()
    	case BLAKE2b512:
    		b2, _ := blake2b.New512(nil) // New512 never returns an error if the key is nil
    		return b2
    	case HighwayHash256:
    		hh, _ := highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit
    		return hh
    	case HighwayHash256S:
    		hh, _ := highwayhash.New(magicHighwayHash256Key) // New will never return error since key is 256 bit
    		return hh
    	default:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. cmd/format-erasure.go

    		if globalCustomErasureDriveCount && len(formatErasure.Erasure.Sets[0]) != setDriveCount {
    			return fmt.Errorf("%s drive is already formatted with %d drives per erasure set. This cannot be changed to %d, please revert your MINIO_ERASURE_SET_DRIVE_COUNT setting", disks[i], len(formatErasure.Erasure.Sets[0]), setDriveCount)
    		}
    	}
    	return nil
    }
    
    // Get backend Erasure format in quorum `format.json`.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    		c.done = nil
    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    // The returned function should always be called to release resources.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 44.3K bytes
    - Viewed (0)
  6. cmd/data-usage.go

    		dataUsageJSON, err := json.Marshal(dataUsageInfo)
    		if err != nil {
    			scannerLogIf(ctx, err)
    			continue
    		}
    		if attempts > 10 {
    			saveConfig(ctx, objAPI, dataUsageObjNamePath+".bkp", dataUsageJSON) // Save a backup every 10th update.
    			attempts = 1
    		}
    		if err = saveConfig(ctx, objAPI, dataUsageObjNamePath, dataUsageJSON); err != nil {
    			scannerLogOnceIf(ctx, err, dataUsageObjNamePath)
    		}
    		attempts++
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. schema/relationship_test.go

    }
    
    type Author struct {
    	gorm.Model
    }
    
    type Book struct {
    	gorm.Model
    	Author   Author
    	AuthorID uint
    }
    
    func (Book) TableName() string {
    	return "my_schema.a_very_very_very_very_very_very_very_very_long_table_name"
    }
    
    func TestParseConstraintNameWithSchemaQualifiedLongTableName(t *testing.T) {
    	s, err := schema.Parse(
    		&Book{},
    		&sync.Map{},
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. istioctl/pkg/util/common.go

    	"strings"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	binversion "istio.io/istio/operator/version"
    )
    
    var NeverMatch = &metav1.LabelSelector{
    	MatchLabels: map[string]string{
    		"istio.io/deactivated": "never-match",
    	},
    }
    
    var ManifestsFlagHelpStr = `Specify a path to a directory of charts and profiles
    (e.g. ~/Downloads/istio-` + binversion.OperatorVersionString + `/manifests).`
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/archive/tar/stat_unix.go

    	"strconv"
    	"sync"
    	"syscall"
    )
    
    func init() {
    	sysStat = statUnix
    }
    
    // userMap and groupMap caches UID and GID lookups for performance reasons.
    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. internal/grid/muxclient.go

    		}
    		m.addResponse(Response{Err: ErrIncorrectSequence})
    		return false
    	}
    	m.RecvSeq++
    	return true
    }
    
    // response will send handleIncoming response to client.
    // may never block.
    // Should return whether the next call would block.
    func (m *muxClient) response(seq uint32, r Response) {
    	if debugReqs {
    		fmt.Println(m.MuxID, m.parent.String(), "RESP")
    	}
    	if debugPrint {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top