Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 178 for generator (0.34 sec)

  1. cmd/tier-last-day-stats_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalDailyAllTierStats(t *testing.T) {
    	v := DailyAllTierStats{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. docs/debugging/inspect/main.go

    	export      = flag.Bool("export", false, "export xl.meta")
    	djson       = flag.Bool("djson", false, "expect djson format for xl.meta")
    	genkey      = flag.Bool("genkey", false, "generate key pair")
    )
    
    func main() {
    	flag.Parse()
    
    	if *genkey {
    		generateKeys()
    		os.Exit(0)
    	}
    	var privateKey []byte
    	if *keyHex == "" {
    		if b, err := os.ReadFile(*privKeyPath); err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload.go

    		Use:   "workload",
    		Short: "Commands to assist in configuring and deploying workloads running on VMs and other non-Kubernetes environments",
    		Example: `  # workload group yaml generation
      istioctl x workload group create
    
      # workload entry configuration generation
      istioctl x workload entry configure`,
    	}
    	workloadCmd.AddCommand(groupCommand(ctx))
    	workloadCmd.AddCommand(entryCommand(ctx))
    	return workloadCmd
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cmd/batch-expire_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalBatchJobExpire(t *testing.T) {
    	v := BatchJobExpire{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  5. cmd/streaming-signature-v4.go

    }
    
    const maxLineLength = 4 * humanize.KiByte // assumed <= bufio.defaultBufSize 4KiB
    
    // lineTooLong is generated as chunk header is bigger than 4KiB.
    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics.go

    package cmd
    
    import (
    	"fmt"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    )
    
    //go:generate msgp -file $GOFILE
    
    // RStat has replication error stats
    type RStat struct {
    	Count int64 `json:"count"`
    	Bytes int64 `json:"bytes"`
    }
    
    // RTimedMetrics has replication error stats for various time windows
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom.go

    func (ps PoolStatus) Clone() PoolStatus {
    	return PoolStatus{
    		ID:           ps.ID,
    		CmdLine:      ps.CmdLine,
    		LastUpdate:   ps.LastUpdate,
    		Decommission: ps.Decommission.Clone(),
    	}
    }
    
    //go:generate msgp -file $GOFILE -unexported
    type poolMeta struct {
    	Version int          `msg:"v"`
    	Pools   []PoolStatus `msg:"pls"`
    
    	// Value should not be saved when we have not loaded anything yet.
    	dontSave bool `msg:"-"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  8. cmd/object-api-multipart_test.go

    			bucketName      string
    			objName         string
    			uploadID        string
    			expectedErrType error
    		}{bucket, "\\", uploadID, InvalidUploadID{}})
    	}
    
    	// Iterating over creatPartCases to generate multipart chunks.
    	for i, testCase := range abortTestCases {
    		err = obj.AbortMultipartUpload(context.Background(), testCase.bucketName, testCase.objName, testCase.uploadID, opts)
    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. src/cmd/asm/internal/asm/endtoend_test.go

    	"path/filepath"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    // Output is generated by, in effect, turning on -S and comparing the
    // result against a golden file.
    
    func testEndToEnd(t *testing.T, goarch, file string) {
    	input := filepath.Join("testdata", file+".s")
    	architecture, ctxt := setArch(goarch)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. cmd/tier.go

    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/minio/internal/kms"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    //go:generate msgp -file $GOFILE
    
    var (
    	errTierMissingCredentials = AdminError{
    		Code:       "XMinioAdminTierMissingCredentials",
    		Message:    "Specified remote credentials are empty",
    		StatusCode: http.StatusForbidden,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top