Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for uniqBy (0.16 sec)

  1. internal/config/notify/help.go

    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         target.NATSStreamingClusterID,
    			Description: "[DEPRECATED] unique ID for NATS streaming cluster",
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    				continue
    			}
    
    			// No IPs seem to intersect, this means that bucket exists but has
    			// different IP addresses perhaps from a different deployment.
    			// bucket names are globally unique in federation at a given
    			// path prefix, name collision is not allowed. We simply log
    			// an error and continue.
    			bucketsInConflict.Add(bucket.Name)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    	errorFmtFunc = f
    }
    
    // uniq swaps away duplicate elements in data, returning the size of the
    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
    func uniq(data sort.Interface) (size int) {
    	p, l := 0, data.Len()
    	if l <= 1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. docs/bucket/notifications/README.md

      print("Connected with result code "+str(rc))
      # qos level is set to 1
      client.subscribe("minio", 1)
    
    def on_message(client, userdata, msg):
        print(msg.payload)
    
    # client_id is a randomly generated unique ID for the mqtt broker to identify the connection.
    client = mqtt.Client(client_id="myclientid",clean_session=False)
    
    client.on_connect = on_connect
    client.on_message = on_message
    
    client.connect("localhost",1883,60)
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  5. cmd/endpoint.go

    			if err != nil {
    				continue
    			}
    
    			if host.String() == peer.String() {
    				return endpoint.GridHost()
    			}
    		}
    	}
    	return ""
    }
    
    // Hostnames - returns list of unique hostnames
    func (l EndpointServerPools) Hostnames() []string {
    	foundSet := set.NewStringSet()
    	for _, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    			if foundSet.Contains(endpoint.Hostname()) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  6. docs/distributed/DESIGN.md

    > http://host1/export6
    > http://host2/export6
    > http://host1/export7
    > http://host2/export7
    > http://host1/export8
    > http://host2/export8
    ```
    
    *A noticeable trait of this expansion is that it chooses unique hosts such the setup provides maximum protection and availability.*
    
    - Choosing an erasure set for the object is decided during `PutObject()`, object names are used to find the right erasure set using the following pseudo code.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. docs/lambda/README.md

    # Object Lambda
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 04 19:15:28 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    		m[err.Error()]++
    	}
    }()
    
    // Cleans up tmp directory of the local disk.
    func bgFormatErasureCleanupTmp(diskPath string) {
    	// Need to move temporary objects left behind from previous run of minio
    	// server to a unique directory under `minioMetaTmpBucket-old` to clean
    	// up `minioMetaTmpBucket` for the current run.
    	//
    	// /disk1/.minio.sys/tmp-old/
    	//  |__ 33a58b40-aecc-4c9f-a22f-ff17bfa33b62
    	//  |__ e870a2c1-d09c-450c-a69c-6eaa54a89b3e
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    	if err != nil {
    		t.Fatalf("Expected parsing to succeed but failed with %v", err)
    	}
    	for _, rule := range lc.Rules {
    		if rule.ID == "" {
    			t.Fatalf("Expected all rules to have a unique id assigned %#v", rule)
    		}
    	}
    }
    
    func TestFilterAndSetPredictionHeaders(t *testing.T) {
    	lc := Lifecycle{
    		Rules: []Rule{
    			{
    				ID:     "rule-1",
    				Status: "Enabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top