Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 451 for Map (0.17 sec)

  1. callbacks/visit_map_test.go

    chenrui <******@****.***> 1647532411 +0800
    Go
    - Registered: Sun Feb 25 09:35:10 GMT 2024
    - Last Modified: Thu Mar 17 15:53:31 GMT 2022
    - 780 bytes
    - Viewed (0)
  2. internal/config/notify/config.go

    		AMQP:          make(map[string]target.AMQPArgs),
    		MQTT:          make(map[string]target.MQTTArgs),
    		NATS:          make(map[string]target.NATSArgs),
    		Redis:         make(map[string]target.RedisArgs),
    		MySQL:         make(map[string]target.MySQLArgs),
    		Kafka:         make(map[string]target.KafkaArgs),
    		Webhook:       make(map[string]target.WebhookArgs),
    		PostgreSQL:    make(map[string]target.PostgreSQLArgs),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  3. src/archive/tar/tar_test.go

    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatPAX,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}, Format: FormatGNU},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatUnknown,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"用戶名": "\x00hello"}},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock_test.go

    			},
    			expected:        map[string]string{},
    			filterRetention: true,
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "off",
    			},
    			expected:        map[string]string{},
    			filterLegalHold: true,
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "on",
    			},
    			expected:        map[string]string{"x-amz-object-lock-legal-hold": "on"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    			nidx++
    			continue
    		}
    		h[nidx] += v[oidx]
    		oidx++
    		nidx++
    	}
    }
    
    // toMap returns the map to a map[string]uint64.
    func (h *sizeHistogram) toMap() map[string]uint64 {
    	res := make(map[string]uint64, dataUsageBucketLen)
    	var splCount uint64
    	for i, count := range h {
    		szInt := ObjectsHistogramIntervals[i]
    		switch {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  6. internal/bucket/bandwidth/monitor_test.go

    	type fields struct {
    		activeBuckets map[BucketOptions]*bucketMeasurement
    		endTime       time.Time
    		update2       uint64
    		endTime2      time.Time
    	}
    	start := time.Now()
    	m0 := newBucketMeasurement(start)
    	m0.incrementBytes(0)
    	m1MiBPS := newBucketMeasurement(start)
    	m1MiBPS.incrementBytes(oneMiB)
    
    	test1Want := make(map[BucketOptions]Details)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. internal/config/config_test.go

    		keys           []string
    		expectedFields map[string]struct{}
    	}{
    		// No keys present
    		{
    			input:          "",
    			keys:           []string{"comment"},
    			expectedFields: map[string]struct{}{},
    		},
    		// No keys requested for tokenizing
    		{
    			input:          `comment="Hi this is my comment ="`,
    			keys:           []string{},
    			expectedFields: map[string]struct{}{},
    		},
    		// Single key requested and present
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    	current     *apiPackage
    	deprecated  map[token.Pos]bool
    	features    map[string]bool              // set
    	imported    map[string]*apiPackage       // packages already imported
    	stdPackages []string                     // names, omitting "unsafe", internal, and vendored packages
    	importMap   map[string]map[string]string // importer dir -> import path -> canonical path
    	importDir   map[string]string            // canonical import path -> dir
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cni/pkg/repair/repair_test_helpers.go

    		PodName: "broken-pod-terminating",
    		Annotations: map[string]string{
    			"sidecar.istio.io/status": "something",
    		},
    		Labels: map[string]string{
    			"testlabel": "true",
    		},
    		NodeName:            "test-node",
    		InitContainerStatus: &brokenInitContainerTerminating,
    	})
    
    	brokenPodWaiting = makePod(makePodArgs{
    		PodName: "broken-pod-waiting",
    		Annotations: map[string]string{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  10. clause/expression_test.go

    	}}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    			stmt := &gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    			clause.Expr{SQL: result.SQL, Vars: result.Vars}.Build(stmt)
    			if stmt.SQL.String() != result.Result {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Aug 10 05:34:33 GMT 2023
    - 8.4K bytes
    - Viewed (0)
Back to top