Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 210 for amatch (0.17 sec)

  1. cmd/signature-v4-utils_test.go

    	}
    
    	if owner {
    		t.Fatalf("Expected owner to be 'false', found %t", owner)
    	}
    
    	_, err = globalIAMSys.PolicyDBSet(ctx, ucreds.AccessKey, "consoleAdmin", regUser, false)
    	if err != nil {
    		t.Fatalf("unable to attach policy to credential, %s", err)
    	}
    
    	time.Sleep(4 * time.Second)
    
    	policies, err := globalIAMSys.PolicyDBGet(ucreds.AccessKey)
    	if err != nil {
    		t.Fatalf("unable to get policy to credential, %s", err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		{"☺a", 'a', 3},
    		{"a☻☺b", '☺', 4},
    
    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    		{"\xff", '�', 0},
    		{"☻x�", '�', len("☻x")},
    		{"☻x\xe2\x98", '�', len("☻x")},
    		{"☻x\xe2\x98�", '�', len("☻x")},
    		{"☻x\xe2\x98x", '�', len("☻x")},
    
    		// Invalid rune values should never match.
    		{"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", -1, -1},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	if replicationStatus == replication.Failed {
    		eventName = event.ObjectReplicationFailed
    	}
    	newReplStatusInternal := rinfos.ReplicationStatusInternal()
    	// Note that internal replication status(es) may match for previously replicated objects - in such cases
    	// metadata should be updated with last resync timestamp.
    	objInfo := ri.ToObjectInfo()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. internal/event/target/postgresql.go

    func validatePsqlTableName(name string) error {
    	// check for quoted string (string may not contain a quote)
    	if match, err := regexp.MatchString("^\"[^\"]+\"$", name); err != nil {
    		return err
    	} else if match {
    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    	cleaned := strings.Map(func(r rune) rune {
    		switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. internal/handlers/proxy.go

    		// with the approach we took for returning first ip from multiple
    		// params.
    		if match := forRegex.FindStringSubmatch(proto); len(match) > 1 {
    			if match = protoRegex.FindStringSubmatch(match[2]); len(match) > 1 {
    				scheme = strings.ToLower(match[2])
    			}
    		}
    	}
    
    	return scheme
    }
    
    // GetSourceIPFromHeaders retrieves the IP from the X-Forwarded-For, X-Real-IP
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. cmd/batch-replicate_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1693333643 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 29 18:27:23 GMT 2023
    - 14.2K bytes
    - Viewed (1)
  7. cmd/batch-expire_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1701514293 -0800
    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)
  8. istioctl/pkg/tag/tag_test.go

    		},
    		{
    			name: "TestDeleteTagWithDependentNamespace",
    			tag:  "match",
    			webhooksBefore: admitv1.MutatingWebhookConfigurationList{
    				Items: []admitv1.MutatingWebhookConfiguration{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:   "istio-revision-tag-match",
    							Labels: map[string]string{IstioTagLabel: "match"},
    						},
    					},
    				},
    			},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  9. internal/event/rulesmap.go

    func (rulesMap RulesMap) MatchSimple(eventName Name, objectName string) bool {
    	return rulesMap[eventName].MatchSimple(objectName)
    }
    
    // Match - returns TargetIDSet matching object name and event name in rules map.
    func (rulesMap RulesMap) Match(eventName Name, objectName string) TargetIDSet {
    	return rulesMap[eventName].Match(objectName)
    }
    
    // NewRulesMap - creates new rules map with given values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  10. callbacks.go

    	return &callback{before: name, processor: p}
    }
    
    func (p *processor) After(name string) *callback {
    	return &callback{after: name, processor: p}
    }
    
    func (p *processor) Match(fc func(*DB) bool) *callback {
    	return &callback{match: fc, processor: p}
    }
    
    func (p *processor) Register(name string, fn func(*DB)) error {
    	return (&callback{processor: p}).Register(name, fn)
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
Back to top