Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for pattern (0.15 sec)

  1. internal/s3select/sql/analysis.go

    	case e.Between != nil:
    		result.combine(e.Between.Start.analyze(s))
    		result.combine(e.Between.End.analyze(s))
    	case e.In != nil:
    		result.combine(e.In.analyze(s))
    	case e.Like != nil:
    		result.combine(e.Like.Pattern.analyze(s))
    		if e.Like.EscapeChar != nil {
    			result.combine(e.Like.EscapeChar.analyze(s))
    		}
    	default:
    		result = qProp{err: errUnexpectedInvalidNode}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    			// No ellipses pattern. Anonymize host name from every pool arg
    			pools := strings.Fields(poolsArgs)
    			anonPools = make([]string, len(pools))
    			for index, arg := range pools {
    				anonPools[index] = anonAddr(arg)
    			}
    			return cmdLineWithoutPools + strings.Join(anonPools, " ")
    		}
    
    		// Ellipses pattern in pool args. Regex groups:
    		// 1 - server prefix
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  3. internal/config/dns/etcd_dns.go

    type CoreDNS struct {
    	domainNames []string
    	domainIPs   set.StringSet
    	domainPort  string
    	prefixPath  string
    	etcdClient  *clientv3.Client
    }
    
    // EtcdOption - functional options pattern style
    type EtcdOption func(*CoreDNS)
    
    // DomainNames set a list of domain names used by this CoreDNS
    // client setting, note this will fail if set to empty when
    // constructor initializes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  4. internal/ioutil/ioutil.go

    	}()
    
    	select {
    	case v := <-c:
    		return v.val, v.err
    	case <-ctx.Done():
    		var zero V
    		return zero, ctx.Err()
    	}
    }
    
    // DeadlineWorker implements the deadline/timeout resiliency pattern.
    type DeadlineWorker struct {
    	timeout time.Duration
    }
    
    // NewDeadlineWorker constructs a new DeadlineWorker with the given timeout.
    // To return values, use the WithDeadline helper instead.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. internal/config/compress/compress_test.go

    			}
    			if testCase.success && err != nil {
    				t.Errorf("expected success but failed instead %s", err)
    			}
    			if testCase.success && !reflect.DeepEqual(testCase.expectedPatterns, gotPatterns) {
    				t.Errorf("expected patterns %s but got %s", testCase.expectedPatterns, gotPatterns)
    			}
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    				if reflect.DeepEqual(cep, ep) {
    					return i
    				}
    			}
    		}
    	}
    	return -1
    }
    
    // Legacy returns 'true' if the MinIO server commandline was
    // provided with no ellipses pattern, those are considered
    // legacy deployments.
    func (l EndpointServerPools) Legacy() bool {
    	return len(l) == 1 && l[0].Legacy
    }
    
    // Add add pool endpoints
    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)
  7. internal/event/config_test.go

    		{FilterRuleList{[]FilterRule{{"prefix", "Hello/世界"}, {"suffix", "foo/bar"}}}, "Hello/世界*foo/bar"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.filterRuleList.Pattern()
    
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestQueueUnmarshalXML(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  8. internal/bucket/versioning/versioning.go

    	}
    
    	if prefix == "" {
    		return true
    	}
    	if v.ExcludeFolders && strings.HasSuffix(prefix, "/") {
    		return false
    	}
    
    	for _, sprefix := range v.ExcludedPrefixes {
    		// Note: all excluded prefix patterns end with `/` (See Validate)
    		sprefix.Prefix += "*"
    
    		if matched := wildcard.MatchSimple(sprefix.Prefix, prefix); matched {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    					} else {
    						var resultErrno, expectErrno uintptr
    						if pathErr, ok := err.(*os.PathError); ok {
    							if errno, pok := pathErr.Err.(syscall.Errno); pok {
    								resultErrno = uintptr(errno)
    							}
    						}
    						if pathErr, ok := testCase.expectedErr.(*os.PathError); ok {
    							if errno, pok := pathErr.Err.(syscall.Errno); pok {
    								expectErrno = uintptr(errno)
    							}
    						}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top