- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for NonASCII (0.22 sec)
-
test/fixedbugs/bug369.dir/main.go
fast "./fast" slow "./slow" ) var buf = make([]byte, 1048576) func BenchmarkFastNonASCII(b *testing.B) { for i := 0; i < b.N; i++ { fast.NonASCII(buf, 0) } } func BenchmarkSlowNonASCII(b *testing.B) { for i := 0; i < b.N; i++ { slow.NonASCII(buf, 0) } } func main() { testing.Init() os.Args = []string{os.Args[0], "-test.benchtime=100ms"} flag.Parse()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 29 19:54:30 UTC 2019 - 1.2K bytes - Viewed (0) -
test/fixedbugs/bug369.dir/pkg.go
// Copyright 2011 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. package pkg func NonASCII(b []byte, i int) int { for i = 0; i < len(b); i++ { if b[i] >= 0x80 { break } } return i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 289 bytes - Viewed (0) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy
apply plugin: "war" apply plugin: "eclipse-wtp" eclipse { project.name = "$nonAscii" classpath { containers "$nonAscii" } wtp { component { deployName = "$nonAscii" } facet { facet name: "$nonAscii" } } } """ checkIsWrittenWithUtf8Encoding(getProjectFile())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 17.2K bytes - Viewed (0) -
src/mime/mediatype_test.go
{"foo/BAR", map[string]string{"": "empty attribute"}, ""}, {"foo/BAR", map[string]string{"bad attribute": "baz"}, ""}, {"foo/BAR", map[string]string{"nonascii": "not an ascii character: รค"}, "foo/bar; nonascii*=utf-8''not%20an%20ascii%20character%3A%20%C3%A4"}, {"foo/BAR", map[string]string{"ctl": "newline: \n nil: \000"}, "foo/bar; ctl*=utf-8''newline%3A%20%0A%20nil%3A%20%00"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 17:58:37 UTC 2022 - 18.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
encodings[ 0x1d] = encoding // Group Separator encodings[ 0x1e] = encoding // Record Separator encodings[ 0x1f] = encoding // Unit Separator encodings[ 0x7f] = encoding // Delete } fun nonAscii(encoding: Encoding) = apply { encodings[UNICODE_2] = encoding encodings[UNICODE_3] = encoding encodings[UNICODE_4] = encoding } fun test(component: Component) = apply {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
// lock it down due to URL templating: "http://{env}.{dc}.example.com". UrlComponentEncodingTester.newInstance() .nonPrintableAscii(Encoding.FORBIDDEN) .nonAscii(Encoding.PUNYCODE) .override( Encoding.FORBIDDEN, '\t'.code, '\n'.code, '\u000c'.code, '\r'.code, ' '.code, ) .override(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0)