Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,746 for tmpl (0.04 sec)

  1. pkg/test/framework/components/echo/config/param/template_test.go

    			expectFound: true,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			tpl := param.Parse(tmpl.ParseOrFail(t, c.template))
    			actual := tpl.ContainsWellKnown(param.To)
    
    			g := NewWithT(t)
    			g.Expect(actual).To(Equal(c.expectFound))
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_dup_cache.txt

    import (
        "path/filepath"
    	"fmt"
    	"os"
    )
    
    func main() {
    	for i := 0; i < 10; i++ {
    		b := byte(0)
    		if i > 5 {
    			b = byte(i)
    		}
            tmpl := "go test fuzz v1\nint(%d)\n"
    		if err := os.WriteFile(filepath.Join(os.Args[1], fmt.Sprint(i)), []byte(fmt.Sprintf(tmpl, b)), 0777); err != nil {
    			panic(err)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. src/text/template/exec.go

    	s.at(t)
    	tmpl := s.tmpl.Lookup(t.Name)
    	if tmpl == nil {
    		s.errorf("template %q not defined", t.Name)
    	}
    	if s.depth == maxExecDepth {
    		s.errorf("exceeded maximum template depth (%v)", maxExecDepth)
    	}
    	// Variables declared by the pipeline persist.
    	dot = s.evalPipeline(dot, t.Pipe)
    	newState := *s
    	newState.depth++
    	newState.tmpl = tmpl
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    # define GTEST_TEMPLATE_ template <typename T> class
    
    // The template "selector" struct TemplateSel<Tmpl> is used to
    // represent Tmpl, which must be a class template with one type
    // parameter, as a type.  TemplateSel<Tmpl>::Bind<T>::type is defined
    // as the type Tmpl<T>.  This allows us to actually instantiate the
    // template "selected" by TemplateSel<Tmpl>.
    //
    // This trick is necessary for simulating typedef for class templates,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. test/fixedbugs/issue16037_run.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"html/template"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    var tmpl = template.Must(template.New("main").Parse(`
    package main
    
    type T struct {
        {{range .Names}}
    	{{.Name}} *string
    	{{end}}
    }
    
    {{range .Names}}
    func (t *T) Get{{.Name}}() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    # define GTEST_TEMPLATE_ template <typename T> class
    
    // The template "selector" struct TemplateSel<Tmpl> is used to
    // represent Tmpl, which must be a class template with one type
    // parameter, as a type.  TemplateSel<Tmpl>::Bind<T>::type is defined
    // as the type Tmpl<T>.  This allows us to actually instantiate the
    // template "selected" by TemplateSel<Tmpl>.
    //
    // This trick is necessary for simulating typedef for class templates,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. pkg/ctrlz/topics/version.go

    func (versionTopic) Prefix() string {
    	return "version"
    }
    
    func (versionTopic) Activate(context fw.TopicContext) {
    	tmpl := assets.ParseTemplate(context.Layout(), "templates/version.html")
    
    	_ = context.HTMLRouter().StrictSlash(true).NewRoute().Path("/").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		fw.RenderHTML(w, tmpl, &version.Info)
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/log/syslog/syslog_test.go

    	if transport == "unixgram" || transport == "unix" {
    		var month, date, ts string
    		var pid int
    		tmpl := fmt.Sprintf("<%d>%%s %%s %%s syslog_test[%%d]: %s\n", LOG_USER+LOG_INFO, in)
    		n, err := fmt.Sscanf(out, tmpl, &month, &date, &ts, &pid)
    		if n != 4 || err != nil {
    			t.Errorf("Got %q, does not match template %q (%d %s)", out, tmpl, n, err)
    		}
    		return
    	}
    
    	// Non-UNIX domain transports.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 16:09:24 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. tests/integration/security/jwt_test.go

    			config.New(t).
    				Source(config.File("testdata/requestauthn/global-jwt.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): istio.ClaimSystemNamespaceOrFail(t, t),
    					"Services":               apps.Ns1.All,
    					"GatewayIstioLabel":      i.Settings().IngressGatewayIstioLabel,
    				})).
    				Source(config.File("testdata/requestauthn/ingress.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): apps.Ns1.Namespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  10. tests/integration/security/remote_jwks/remote_jwks_test.go

    				customizeCall func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions)
    			}{
    				{
    					name:       "remote-jwks-without-service-entry",
    					policyFile: "./testdata/requestauthn-no-se.yaml.tmpl",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-token-forward-remote-jwks"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top