- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 469 for ESCAPE (0.13 sec)
-
test/escape_hash_maphash.go
// errorcheck -0 -m -l // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test escape analysis for hash/maphash. package escape import ( "hash/maphash" ) func f() { var x maphash.Hash // should be stack allocatable x.WriteString("foo") x.Sum64()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 16 20:31:45 UTC 2019 - 368 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/package-info.java
* limitations under the License. */ /** * Testing utilities for use in tests of {@code com.google.common.escape}. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a> * library. */ @CheckReturnValue package com.google.common.escape.testing;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 15 21:41:47 UTC 2023 - 920 bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* the License. */ package com.google.common.xml; import com.google.common.annotations.GwtCompatible; import com.google.common.escape.Escaper; import com.google.common.escape.Escapers; /** * {@code Escaper} instances suitable for strings to be included in XML attribute values and * elements' text contents. When possible, avoid manual escaping by using templating systems and
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/package-info.java
* limitations under the License. */ /** * Testing utilities for use in tests of {@code com.google.common.escape}. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a> * library. */ @CheckReturnValue package com.google.common.escape.testing;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 15 21:41:47 UTC 2023 - 920 bytes - Viewed (0) -
src/mime/quotedprintable/example_test.go
`=48=65=6C=6C=6F=2C=20=47=6F=70=68=65=72=73=21`, `invalid escape: <b style="font-size: 200%">hello</b>`, "Hello, Gophers! This symbol will be unescaped: =3D and this will be written in =\r\none line.", } { b, err := io.ReadAll(quotedprintable.NewReader(strings.NewReader(s))) fmt.Printf("%s %v\n", b, err) } // Output: // Hello, Gophers! <nil> // invalid escape: <b style="font-size: 200%">hello</b> <nil>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:41:18 UTC 2020 - 1K bytes - Viewed (0) -
src/runtime/map_test.go
t.Errorf("escape: buckets pointer is nil for n=%d buckets", count) } for i := 0; i < tt.n; i++ { escapingMap[i] = i } if got := runtime.MapBucketsCount(escapingMap); got != tt.escape { t.Errorf("escape n=%d want %d buckets, got %d", tt.n, tt.escape, got) } } }) t.Run("nohint", func(t *testing.T) { for _, tt := range mapBucketTests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 33.5K bytes - Viewed (0) -
test/fixedbugs/bug068.go
package main const c = '\''; // this works const s = "\'"; // ERROR "invalid|escape" /* There is no reason why the escapes need to be different inside strings and chars. uetli:~/go/test/bugs gri$ 6g bug068.go bug068.go:6: unknown escape sequence: '
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 520 bytes - Viewed (0) -
test/escape_selfassign.go
// errorcheck -0 -m -l // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test escape analysis for self assignments. package escape type S struct { i int pi *int } var sink S func f(p *S) { // ERROR "leaking param: p" p.pi = &p.i sink = *p } // BAD: "leaking param: p" is too conservative
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 16:36:56 UTC 2019 - 538 bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/terminal.go
limitations under the License. */ package printers import ( "io" "os" "runtime" "strings" "github.com/moby/term" ) // terminalEscaper replaces ANSI escape sequences and other terminal special // characters to avoid terminal escape character attacks (issue #101695). var terminalEscaper = strings.NewReplacer("\x1b", "^[", "\r", "\\r") // WriteEscaped replaces unsafe terminal characters with replacement strings
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 11 15:04:11 UTC 2023 - 2.1K bytes - Viewed (0) -
src/runtime/malloc_test.go
for i := 0; i < b.N; i++ { p := new(int64) Escape(p) } } func BenchmarkMalloc16(b *testing.B) { for i := 0; i < b.N; i++ { p := new([2]int64) Escape(p) } } func BenchmarkMallocTypeInfo8(b *testing.B) { for i := 0; i < b.N; i++ { p := new(struct { p [8 / unsafe.Sizeof(uintptr(0))]*int }) Escape(p) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 10.6K bytes - Viewed (0)