- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for RegExp (0.18 sec)
-
istioctl/pkg/dashboard/dashboard_test.go
WantException: false, }, { // case 4 Args: strings.Split("envoy --browser=false", " "), ExpectedRegexp: regexp.MustCompile(".*Error: specify a pod or --selector"), WantException: true, }, { // case 5 Args: strings.Split("envoy --browser=false pod-123456-7890", " "), ExpectedRegexp: regexp.MustCompile("http://localhost:3456"), WantException: false,
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Nov 21 01:17:24 GMT 2023 - 4.3K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
package testutil import ( "bytes" "regexp" "strings" "testing" "github.com/spf13/cobra" "istio.io/istio/pilot/test/util" ) type TestCase struct { Args []string // Typically use one of the three ExpectedOutput string // Expected constant output ExpectedRegexp *regexp.Regexp // Expected regexp output GoldenFilename string // Expected output stored in golden file
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2K bytes - Viewed (0) -
src/main/webapp/css/admin/respond.min.js
ar i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b....
JavaScript - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Oct 08 12:14:13 GMT 2015 - 4.3K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Mar 06 11:43:16 GMT 2024 - 3.4K bytes - Viewed (0) -
misc/go_android_exec/exitcode_test.go
t.Errorf("want output %q, got %q", want, got) } if want := 1; want != code { t.Errorf("want exit code %d, got %d", want, code) } } func TestExitCodeMissing(t *testing.T) { var wantErr *regexp.Regexp check := func(text string) { t.Helper() var out strings.Builder f, exitStr := newExitCodeFilter(&out) if want := "exitcode="; want != exitStr {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 03 14:54:58 GMT 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
// limitations under the License. package kubeinject import ( "fmt" "regexp" "strings" "testing" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/util/testutil" ) func TestKubeInject(t *testing.T) { cases := []testutil.TestCase{ { // case 0 Args: []string{}, ExpectedRegexp: regexp.MustCompile(`filename not specified \(see --filename or -f\)`), WantException: true,
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 3.4K bytes - Viewed (0) -
logger/sql.go
} } // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string { var ( convertParams func(interface{}, int) vars = make([]string, len(avars)) ) convertParams = func(v interface{}, idx int) {
Go - Registered: Sun Apr 21 09:35:09 GMT 2024 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/sanitize.js
d=c.attr("data-sanitize-strip")||"";return a.split(d,function(c){var d=new RegExp(a.isNumeric(c)?c:"\\"+c,"g");b=b.replace(d,"")}),b},escape:function(b,c){var d=c.valAttr("is-escaped"),e={"<":"__%AMP%__lt;",">":"__%AMP%__gt;","&":"__%AMP%__amp;","'":"__%AMP%__#8217;",'"':"__%AMP%__quot;"};return"yes"===d?b:(c.valAttr("is-escaped","yes"),c.one("keyup",function(a){9!==a.keyCode&&c.valAttr("is-escaped","no")}),a.each(e,function(a,c){b=b.replace(new RegExp(a,"g"),c)}),b.replace(new RegExp("__%AMP%__","g"),"&"))}},e...
JavaScript - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 2.7K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump_test.go
// See the License for the specific language governing permissions and // limitations under the License. package mesh import ( "os" "path/filepath" "regexp" "testing" "github.com/kylelemons/godebug/diff" "istio.io/istio/operator/pkg/util" ) func TestProfileDump(t *testing.T) { testDataDir := filepath.Join(operatorRootDir, "cmd/mesh/testdata/profile-dump")
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0) -
misc/linkcheck/linkcheck.go
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Oct 06 15:53:04 GMT 2021 - 3.9K bytes - Viewed (0)