- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 248 for escapers (0.16 sec)
-
src/html/template/template.go
} t.nameSpace.mu.Lock() defer t.nameSpace.mu.Unlock() if t.nameSpace.escaped { return fmt.Errorf("html/template: cannot Parse after Execute") } return nil } // escape escapes all associated templates. func (t *Template) escape() error { t.nameSpace.mu.Lock() defer t.nameSpace.mu.Unlock() t.nameSpace.escaped = true if t.escapeErr == nil { if t.Tree == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:00:46 UTC 2024 - 17K bytes - Viewed (0) -
src/internal/abi/escape.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 884 bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/JsonUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.3K bytes - Viewed (0) -
src/html/template/js_test.go
} for _, test := range tests { if s := test.escaper(input); s != test.escaped { t.Errorf("%s once: want\n\t%q\ngot\n\t%q", test.name, test.escaped, s) continue } // Escape it rune by rune to make sure that any // fast-path checking does not break escaping. var buf strings.Builder for _, c := range input { buf.WriteString(test.escaper(string(c))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 02:20:11 UTC 2024 - 12.6K bytes - Viewed (0) -
src/net/url/url.go
// everything, so escape nothing. return false } } if mode == encodeFragment { // RFC 3986 §2.2 allows not escaping sub-delims. A subset of sub-delims are // included in reserved from RFC 2396 §2.2. The remaining sub-delims do not // need to be escaped. To minimize potential breakage, we apply two restrictions: // (1) we always escape sub-delims outside of the fragment, and (2) we always
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 36.1K bytes - Viewed (0) -
test/escape_runtime_atomic.go
func Storep() { var x int // ERROR "moved to heap: x" atomic.StorepNoWB(unsafe.Pointer(&ptr), unsafe.Pointer(&x)) } func Casp1() { // BAD: should always be "does not escape" x := new(int) // ERROR "escapes to heap|does not escape" var y int // ERROR "moved to heap: y" atomic.Casp1(&ptr, unsafe.Pointer(x), unsafe.Pointer(&y))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 874 bytes - Viewed (0) -
src/go/printer/gobuild.go
// Note that these are already tabwriter-escaped. for _, pos := range p.goBuild { block = append(block, p.lineAt(pos)...) } for _, pos := range p.plusBuild { block = append(block, p.lineAt(pos)...) } } else { block = append(block, tabwriter.Escape) block = append(block, "//go:build "...) block = append(block, x.String()...) block = append(block, tabwriter.Escape, '\n') if len(p.plusBuild) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.6K bytes - Viewed (0) -
logger/sql.go
case reflect.String: vars[idx] = escaper + strings.ReplaceAll(fmt.Sprintf("%v", v), escaper, escaper+escaper) + escaper default: if v != nil && reflectValue.IsValid() && ((reflectValue.Kind() == reflect.Ptr && !reflectValue.IsNil()) || reflectValue.Kind() != reflect.Ptr) { vars[idx] = escaper + strings.ReplaceAll(fmt.Sprintf("%v", v), escaper, escaper+escaper) + escaper } else { vars[idx] = nullStr } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
src/mime/mediatype.go
} // When MSIE sends a full file path (in "intranet mode"), it does not // escape backslashes: "C:\dev\go\foo.txt", not "C:\\dev\\go\\foo.txt". // // No known MIME generators emit unnecessary backslash escapes // for simple token characters like numbers and letters. // // If we see an unnecessary backslash escape, assume it is from MSIE // and intended as a literal backslash. This makes Go servers deal better
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.8K bytes - Viewed (0) -
src/text/tabwriter/tabwriter.go
// assumed to be zero (tags) and one (entities) for formatting purposes. // // A segment of text may be escaped by bracketing it with [Escape] // characters. The tabwriter passes escaped text segments through // unchanged. In particular, it does not interpret any tabs or line // breaks within the segment. If the [StripEscape] flag is set, the // Escape characters are stripped from the output; otherwise they
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 16:46:34 UTC 2024 - 17.8K bytes - Viewed (0)