Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for urlquery (0.13 sec)

  1. src/html/template/escape_test.go

    			"{{html .X}}",
    			"_eval_args_ .X | html | urlquery",
    			[]string{"html", "urlquery"},
    		},
    		{
    			"{{html .X .Y .Z}}",
    			"_eval_args_ .X .Y .Z | html | urlquery",
    			[]string{"html", "urlquery"},
    		},
    		{
    			"{{.X | print}}",
    			".X | print | urlquery",
    			[]string{"urlquery"},
    		},
    		{
    			"{{.X | print | urlquery}}",
    			".X | print | urlquery",
    			[]string{"urlquery"},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  2. src/html/template/error.go

    	//     <a href="{{.X}}">link</a>
    	//
    	//   To ease migration to Go 1.9 and beyond, "html" and "urlquery" will
    	//   continue to be allowed as the last command in a pipeline. However, if the
    	//   pipeline occurs in an unquoted attribute value context, "html" is
    	//   disallowed. Avoid using "html" and "urlquery" entirely in new templates.
    	ErrPredefinedEscaper
    
    	// ErrJSTemplate: "... appears in a JS template literal"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. src/html/template/escape.go

    	// 2.2
    	"_html_template_urlescaper": "urlquery",
    	// These two functions are not actually equivalent; urlquery is stricter as it
    	// escapes reserved characters (e.g. '#'), while _html_template_urlnormalizer
    	// does not. It is therefore only safe to replace _html_template_urlnormalizer
    	// with urlquery (this happens in ensurePipelineContains), but not the otherI've
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  4. src/net/http/client_test.go

    			fmt.Fprintf(&log.Buffer, " (but with body=%T, content-length = %v, %q)", r.Body, r.ContentLength, cl)
    		}
    		log.WriteByte('\n')
    		log.Unlock()
    		urlQuery := r.URL.Query()
    		if v := urlQuery.Get("code"); v != "" {
    			location := ts.URL
    			if final := urlQuery.Get("next"); final != "" {
    				first, rest, _ := strings.Cut(final, ",")
    				location = fmt.Sprintf("%s?code=%s", location, first)
    				if rest != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. src/text/template/doc.go

    		and returns when the result is determined.
    	print
    		An alias for fmt.Sprint
    	printf
    		An alias for fmt.Sprintf
    	println
    		An alias for fmt.Sprintln
    	urlquery
    		Returns the escaped value of the textual representation of
    		its arguments in a form suitable for embedding in a URL query.
    		This function is unavailable in html/template, with a few
    		exceptions.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. src/text/template/funcs.go

    		"index":    index,
    		"slice":    slice,
    		"js":       JSEscaper,
    		"len":      length,
    		"not":      not,
    		"or":       or,
    		"print":    fmt.Sprint,
    		"printf":   fmt.Sprintf,
    		"println":  fmt.Sprintln,
    		"urlquery": URLQueryEscaper,
    
    		// Comparisons
    		"eq": eq, // ==
    		"ge": ge, // >=
    		"gt": gt, // >
    		"le": le, // <=
    		"lt": lt, // <
    		"ne": ne, // !=
    	}
    }
    
    var builtinFuncsOnce struct {
    	sync.Once
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. src/text/template/exec_test.go

    	{"html untyped nil", `{{html .Empty0}}`, "&lt;no value&gt;", tVal, true},
    
    	// JavaScript.
    	{"js", `{{js .}}`, `It\'d be nice.`, `It'd be nice.`, true},
    
    	// URL query.
    	{"urlquery", `{{"http://www.example.org/"|urlquery}}`, "http%3A%2F%2Fwww.example.org%2F", nil, true},
    
    	// Booleans
    	{"not", "{{not true}} {{not false}}", "false true", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  8. src/html/template/exec_test.go

    	// JavaScript.
    	{"js", `{{js .}}`, `It\&#39;d be nice.`, `It'd be nice.`, true},
    
    	// URL query.
    	{"urlquery", `{{"http://www.example.org/"|urlquery}}`, "http%3A%2F%2Fwww.example.org%2F", nil, true},
    
    	// Booleans
    	{"not", "{{not true}} {{not false}}", "false true", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.entity;
    
    /**
     * @author shinsuke
     *
     */
    public interface UrlQueue<IDTYPE> {
    
        IDTYPE getId();
    
        void setId(IDTYPE id);
    
        String getSessionId();
    
        void setSessionId(String sessionId);
    
        String getMethod();
    
        void setMethod(String method);
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            if (objs.length > 1 && objs[1] instanceof final UrlQueue<?> urlQueue) {
                ComponentUtil.getCrawlerStatsHelper().begin(urlQueue);
            }
        }
    
        @Override
        protected void processCleanupCrawling(final Object... objs) {
            super.processCleanupCrawling(objs);
            if (objs.length > 1 && objs[1] instanceof final UrlQueue<?> urlQueue) {
                ComponentUtil.getCrawlerStatsHelper().done(urlQueue);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top