Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,057 for tmp_ (0.07 sec)

  1. tests/integration/security/remote_jwks/testdata/requestauthn-no-se.yaml.tmpl

    Akshay J Nambiar <******@****.***> 1683529381 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 330 bytes
    - Viewed (0)
  2. src/text/template/exec_test.go

    	}
    	for _, test := range execTests {
    		var tmpl *Template
    		var err error
    		if template == nil {
    			tmpl, err = New(test.name).Funcs(funcs).Parse(test.input)
    		} else {
    			tmpl, err = template.New(test.name).Funcs(funcs).Parse(test.input)
    		}
    		if err != nil {
    			t.Errorf("%s: parse error: %s", test.name, err)
    			continue
    		}
    		b.Reset()
    		err = tmpl.Execute(b, test.data)
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  3. test/newinline.go

    	return x + y
    }
    
    func j(x int) int { // ERROR "can inline j"
    	switch {
    	case x > 0:
    		return x + 2
    	default:
    		return x + 1
    	}
    }
    
    func f2() int { // ERROR "can inline f2"
    	tmp1 := h
    	tmp2 := tmp1
    	return tmp2(0) // ERROR "inlining call to h"
    }
    
    var abc = errors.New("abc") // ERROR "inlining call to errors.New"
    
    var somethingWrong error
    
    // local closures can be inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. samples/multicluster/expose-istiod-rev.yaml.tmpl

    Steven Landow <******@****.***> 1632288166 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 22 05:22:46 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. src/text/template/examplefiles_test.go

    	dir := createTestDir([]templateFile{
    		// T0.tmpl is a plain template file that just invokes T1.
    		{"T0.tmpl", `T0 invokes T1: ({{template "T1"}})`},
    		// T1.tmpl defines a template, T1 that invokes T2.
    		{"T1.tmpl", `{{define "T1"}}T1 invokes T2: ({{template "T2"}}){{end}}`},
    		// T2.tmpl defines a template T2.
    		{"T2.tmpl", `{{define "T2"}}This is T2{{end}}`},
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  6. src/html/template/examplefiles_test.go

    	dir := createTestDir([]templateFile{
    		// T0.tmpl is a plain template file that just invokes T1.
    		{"T0.tmpl", `T0 invokes T1: ({{template "T1"}})`},
    		// T1.tmpl defines a template, T1 that invokes T2.
    		{"T1.tmpl", `{{define "T1"}}T1 invokes T2: ({{template "T2"}}){{end}}`},
    		// T2.tmpl defines a template T2.
    		{"T2.tmpl", `{{define "T2"}}This is T2{{end}}`},
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  7. src/html/template/clone_test.go

    	// with t.Name() is t. Check that this holds.
    	tmpl := Must(New("x").Parse("a"))
    	tmpl = Must(tmpl.Clone())
    	if tmpl.Lookup(tmpl.Name()) != tmpl {
    		t.Error("after Clone, tmpl.Lookup(tmpl.Name()) != tmpl")
    	}
    }
    
    func TestCloneGrowth(t *testing.T) {
    	tmpl := Must(New("root").Parse(`<title>{{block "B". }}Arg{{end}}</title>`))
    	tmpl = Must(tmpl.Clone())
    	Must(tmpl.Parse(`{{define "B"}}Text{{end}}`))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. src/html/template/multi_test.go

    var templateFileExecTests = []execTest{
    	{"test", `{{template "tmpl1.tmpl"}}{{template "tmpl2.tmpl"}}`, "template1\n\ny\ntemplate2\n\nx\n", 0, true},
    }
    
    func TestParseFilesWithData(t *testing.T) {
    	template, err := New("root").ParseFiles("testdata/tmpl1.tmpl", "testdata/tmpl2.tmpl")
    	if err != nil {
    		t.Fatalf("error parsing files: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. tests/integration/pilot/proxyconfig/proxyconfig_test.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    var i istio.Instance
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Skip("used for feature development, no need to run in CI").
    		Label(label.CustomSetup).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/controller/certificates/authority/policies.go

    	tmpl.IsCA = false
    
    	tmpl.NotBefore = now.Add(-p.Backdate)
    
    	if ttl < p.Short {
    		// do not backdate the end time if we consider this to be a short lived certificate
    		tmpl.NotAfter = now.Add(ttl)
    	} else {
    		tmpl.NotAfter = now.Add(ttl - p.Backdate)
    	}
    
    	if !tmpl.NotAfter.Before(signerNotAfter) {
    		tmpl.NotAfter = signerNotAfter
    	}
    
    	if !tmpl.NotBefore.Before(signerNotAfter) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.7K bytes
    - Viewed (0)
Back to top