Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for dotfile (0.18 sec)

  1. src/archive/zip/reader.go

    		i--
    	}
    	if i < 0 {
    		return ".", name, isDir
    	}
    	return name[:i], name[i+1:], isDir
    }
    
    var dotFile = &fileListEntry{name: "./", isDir: true}
    
    func (r *Reader) openLookup(name string) *fileListEntry {
    	if name == "." {
    		return dotFile
    	}
    
    	dir, elem, _ := split(name)
    	files := r.fileList
    	i := sort.Search(len(files), func(i int) bool {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. cmd/ftp-server-driver.go

    	_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{
    		DisableContentSha256: true,
    	})
    	return err
    }
    
    // GetFile implements ftpDriver
    func (driver *ftpDriver) GetFile(ctx *ftp.Context, objPath string, offset int64) (n int64, rc io.ReadCloser, err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(err)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. internal/logger/target/types/types.go

    package types
    
    // TargetType indicates type of the target e.g. console, http, kafka
    type TargetType uint8
    
    //go:generate stringer -type=TargetType -trimprefix=Target $GOFILE
    
    // Constants for target types
    const (
    	_ TargetType = iota
    	TargetConsole
    	TargetHTTP
    	TargetKafka
    )
    
    // TargetStats contains statistics for a target.
    type TargetStats struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 10 18:20:21 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  4. cmd/storage-rest-common.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    //go:generate msgp -file $GOFILE -unexported
    
    const (
    	storageRESTVersion       = "v57" // Remove TotalTokens from DiskMetrics
    	storageRESTVersionPrefix = SlashSeparator + storageRESTVersion
    	storageRESTPrefix        = minioReservedBucketPath + "/storage"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 21:00:20 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. cmd/metacache.go

    	// Enabling this will make cache sharing more likely and cause less IO,
    	// but may cause additional latency to some calls.
    	metacacheSharePrefix = false
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // metacache contains a tracked cache entry.
    type metacache struct {
    	// do not re-arrange the struct this struct has been ordered to use less
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. cmd/batch-replicate.go

    package cmd
    
    import (
    	"time"
    
    	miniogo "github.com/minio/minio-go/v7"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    //go:generate msgp -file $GOFILE
    
    // replicate:
    //   # source of the objects to be replicated
    //   source:
    //     type: "minio"
    //     bucket: "testbucket"
    //     prefix: "spark/"
    //
    //   # optional flags based filtering criteria
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. cmd/data-scanner-metric.go

    	"sync"
    	"sync/atomic"
    	"time"
    	"unsafe"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    //go:generate stringer -type=scannerMetric -trimprefix=scannerMetric $GOFILE
    
    type scannerMetric uint8
    
    type scannerMetrics struct {
    	// All fields must be accessed atomically and aligned.
    	operations [scannerMetricLast]uint64
    	latency    [scannerMetricLastRealtime]lockedLastMinuteLatency
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1.go

    // the ErasureInfo, i.e. data and parity blocks.
    func isXLMetaErasureInfoValid(data, parity int) bool {
    	return ((data >= parity) && (data > 0) && (parity >= 0))
    }
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    type xlMetaV1Object struct {
    	Version string   `json:"version"` // Version of the current `xl.meta`.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. cmd/local-locker.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    //go:generate msgp -file=$GOFILE -unexported
    
    import (
    	"context"
    	"fmt"
    	"strconv"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/dsync"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. cmd/bucket-replication-metrics.go

    package cmd
    
    import (
    	"fmt"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/rcrowley/go-metrics"
    )
    
    //go:generate msgp -file $GOFILE
    
    const (
    	// beta is the weight used to calculate exponential moving average
    	beta = 0.1 // Number of averages considered = 1/(1-beta)
    )
    
    // rateMeasurement captures the transfer details for one bucket/target
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top