Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for MATCHES (0.15 sec)

  1. src/bytes/bytes_test.go

    			p := IndexByte(b[i:i+15], byte(100+j))
    			if p != j {
    				t.Errorf("IndexByte(%q, %d) = %d", b[i:i+15], 100+j, p)
    			}
    		}
    		for j := 0; j < 15; j++ {
    			b[i+j] = 0
    		}
    	}
    	// Make sure matches outside the slice never trigger.
    	for i := 0; i <= len(b)-15; i++ {
    		for j := 0; j < 15; j++ {
    			b[i+j] = 1
    		}
    		for j := 0; j < 15; j++ {
    			p := IndexByte(b[i:i+15], byte(0))
    			if p != -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. istioctl/pkg/describe/describe.go

    func renderMatches(trafficMatches []*v1alpha3.HTTPMatchRequest) string {
    	if len(trafficMatches) == 0 {
    		return "everything"
    	}
    
    	matches := []string{}
    	for _, trafficMatch := range trafficMatches {
    		matches = append(matches, renderMatch(trafficMatch))
    	}
    	return strings.Join(matches, ", ")
    }
    
    func renderMatch(match *v1alpha3.HTTPMatchRequest) string {
    	retval := "Match: "
    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)
  3. cmd/erasure-server-pool.go

    	}
    	opts.setBucketMeta(ctx)
    
    	ri := logger.GetReqInfo(ctx)
    	hadoop := ri != nil && strings.Contains(ri.UserAgent, `Hadoop `) && strings.Contains(ri.UserAgent, "scala/")
    	matches := func() bool {
    		if prefix == "" {
    			return false
    		}
    		// List of standard files supported by s3a
    		// that involves a List() on a directory
    		// where directory is actually an object on
    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)
  4. cmd/iam.go

    // actions. The permission of the parent user is checked first
    func (sys *IAMSys) IsAllowedServiceAccount(args policy.Args, parentUser string) bool {
    	// Verify if the parent claim matches the parentUser.
    	p, ok := args.Claims[parentClaim]
    	if ok {
    		parentInClaim, ok := p.(string)
    		if !ok {
    			// Reject malformed/malicious requests.
    			return false
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/admin-handlers-users.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    	if (cred.IsTemp() || cred.IsServiceAccount()) && cred.ParentUser == accessKey {
    		// Incoming access key matches parent user then we should
    		// reject password change requests.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	}
    	ri.mu.Unlock()
    	return nil
    }
    
    // Note: to be used only with batch jobs that affect multiple versions through
    // a single action. e.g batch-expire has an option to expire all versions of an
    // object which matches the given filters.
    func (ri *batchJobInfo) trackMultipleObjectVersions(bucket string, info ObjectInfo, success bool) {
    	if success {
    		ri.Objects += int64(info.NumVersions)
    	} else {
    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)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			if tc.hasRules && len(rules) == 0 {
    				t.Fatalf("%d: Expected at least one rule to match but none matched", i+1)
    			}
    			if !tc.hasRules && len(rules) > 0 {
    				t.Fatalf("%d: Expected no rules to match but got matches %v", i+1, rules)
    			}
    		})
    	}
    }
    
    // TestDeleteAllVersions tests ordering among events, especially ones which
    // expire all versions like ExpiredObjectDeleteAllVersions and
    // DelMarkerExpiration
    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)
  8. cmd/xl-storage-format-v2.go

    				if ver.header.ModTime > latest.header.ModTime {
    					versions[i] = versions[i][1:]
    					continue
    				}
    				// Truncate matches
    				if ver.header == latest.header {
    					versions[i] = versions[i][1:]
    					continue
    				}
    
    				// Truncate non-empty version and type matches
    				if latest.header.VersionID == ver.header.VersionID {
    					versions[i] = versions[i][1:]
    					continue
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  9. cmd/bucket-handlers.go

    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    // -- If yes, check if the IP of entry matches local IP.
    //
    //	This means entry is for this instance.
    //
    // -- If IP of the entry doesn't match, this means entry is
    //
    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)
Back to top