Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for amatch (0.23 sec)

  1. 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)
  2. internal/s3select/select_test.go

    {"id":2,"title":"Second Record","desc":"another text","numbers":[2,3,4]}`,
    		},
    		{
    			name:       "indexed-list-match",
    			query:      `SELECT * from s3object s WHERE (7,8.5,9) IN s.nested[1]`,
    			wantResult: ``,
    		},
    		{
    			name:       "indexed-list-match-equals",
    			query:      `SELECT * from s3object s WHERE (7,8.5,9) = s.nested[1]`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    			Prefixes:    []string{"dir/day_id=2017-10-10/"},
    		},
    		// ListObjectsResult-37 list with prefix match 2 levels deep
    		37: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "foo/201910/1112"},
    				{Name: "foo/201910/1122"},
    			},
    		},
    		// ListObjectsResult-38 list with prefix match 1 level deep
    		38: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "foo/201910/1112"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	existingPolicySet := mp.policySet()
    	policiesToUpdate := set.CreateStringSet(policies...)
    	var newPolicySet set.StringSet
    	newPolicyMapping := mp
    	if isAttach {
    		// new policies to attach => inputPolicies - existing (set difference)
    		policiesToUpdate = policiesToUpdate.Difference(existingPolicySet)
    		// validate that new policies to add are defined.
    		for _, p := range policiesToUpdate.ToSlice() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/api-errors.go

    		Code:           "InvalidArgument",
    		Description:    "The calculated MD5 hash of the key did not match the hash that was provided.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidSSECustomerParameters: {
    		Code:           "InvalidArgument",
    		Description:    "The provided encryption parameters did not match the ones used originally.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKMSNotConfigured: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  6. cmd/erasure-server-pool.go

    		// is '.minio.sys'
    		if bucket == minioMetaBucket {
    			if wildcard.Match("buckets/*/.metacache/*", entry.name) {
    				return nil
    			}
    			if wildcard.Match("tmp/*", entry.name) {
    				return nil
    			}
    			if wildcard.Match("multipart/*", entry.name) {
    				return nil
    			}
    			if wildcard.Match("tmp-old/*", entry.name) {
    				return nil
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    	if numField != len(columnTypes) {
    		t.Fatalf("column's number not match struct and ddl, %d != %d", numField, len(columnTypes))
    	}
    	namer := schema.NamingStrategy{}
    	for i := 0; i < numField; i++ {
    		expectName := namer.ColumnName("", typ.Field(i).Name)
    		if columnTypes[i].Name() != expectName {
    			t.Fatalf("column order not match struct and ddl, idx %d: %s != %s",
    				i, columnTypes[i].Name(), expectName)
    		}
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach policy: %v", caseNum, err)
    		}
    	}
    
    	for groupDN, policies := range content.ldapGroupPolicyMappings {
    		_, err := s.adm.AttachPolicyLDAP(ctx, madmin.PolicyAssociationReq{
    			Policies: policies,
    			Group:    groupDN,
    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach group policy: %v", caseNum, err)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    					continue
    				}
    
    				batch = append(batch, obj)
    
    				if len(batch) < *r.Source.Snowball.Batch {
    					continue
    				}
    				writeFn(batch)
    				batch = batch[:0]
    			}
    			writeFn(batch)
    			xioutil.SafeClose(slowCh)
    		}()
    	} else {
    		slowCh = walkCh
    	}
    
    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_REPLICATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    	}
    	return strings.Join(matches, ", ")
    }
    
    func renderMatch(match *v1alpha3.HTTPMatchRequest) string {
    	retval := "Match: "
    	// TODO Are users interested in seeing Scheme, Method, Authority?
    	if match.Uri != nil {
    		retval += renderStringMatch(match.Uri)
    
    		if match.IgnoreUriCase {
    			retval += " uncased"
    		}
    	}
    
    	if len(match.Headers) > 0 {
    		headerConds := []string{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top