- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for bytereg (0.15 sec)
-
src/cmd/internal/obj/x86/asm6.go
// in the original obj/i386, and it would encode // (using a valid, shorter form) as 3c 00 if we enabled // the call to bytereg here. if ctxt.Arch.Family == sys.AMD64 { bytereg(&p.From, &p.Ft) bytereg(&p.To, &p.Tt) } case P32: // 32 bit but illegal if 64-bit mode if ctxt.Arch.Family == sys.AMD64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 146.9K bytes - Viewed (0) -
src/internal/stringslite/strings.go
} return -1 case n > len(s): return -1 case n <= bytealg.MaxLen: // Use brute force when s and substr both are small if len(s) <= bytealg.MaxBruteForce { return bytealg.IndexString(s, substr) } c0 := substr[0] c1 := substr[1] i := 0 t := len(s) - n + 1 fails := 0 for i < t { if s[i] != c0 { // IndexByte is faster than bytealg.IndexString, so use it as long as
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 01:23:42 UTC 2024 - 2.9K bytes - Viewed (0) -
src/strings/compare.go
// Copyright 2015 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 strings import "internal/bytealg" // Compare returns an integer comparing two strings lexicographically. // The result will be 0 if a == b, -1 if a < b, and +1 if a > b. // // Use Compare when you need to perform a three-way comparison (with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 23:39:07 UTC 2024 - 628 bytes - Viewed (0) -
src/net/parse.go
n := 0 for i := 0; i < len(s); i++ { if bytealg.IndexByteString(t, s[i]) >= 0 { n++ } } return n } // Split s at any bytes in t. func splitAtBytes(s string, t string) []string { a := make([]string, 1+countAnyByte(s, t)) n := 0 last := 0 for i := 0; i < len(s); i++ { if bytealg.IndexByteString(t, s[i]) >= 0 { if last < i { a[n] = s[last:i] n++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 5.7K bytes - Viewed (0) -
src/archive/tar/writer_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
src/net/ipsock.go
} else { host = hostport[:i] if bytealg.IndexByteString(host, ':') >= 0 { return addrErr(hostport, tooManyColons) } } if bytealg.IndexByteString(hostport[j:], '[') >= 0 { return addrErr(hostport, "unexpected '[' in address") } if bytealg.IndexByteString(hostport[k:], ']') >= 0 { return addrErr(hostport, "unexpected ']' in address") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 9.4K bytes - Viewed (0) -
src/internal/filepathlite/path_plan9.go
// Copyright 2010 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 filepathlite import ( "internal/bytealg" "internal/stringslite" ) const ( Separator = '/' // OS-specific path separator ListSeparator = '\000' // OS-specific path list separator ) func IsPathSeparator(c uint8) bool { return Separator == c }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 952 bytes - Viewed (0) -
src/cmd/internal/objabi/pkgspecial.go
"runtime/msan", "runtime/asan", // We omit bytealg even though it's imported by runtime because it also // backs a lot of package bytes. Currently we don't have a way to omit race // instrumentation when used from the runtime while keeping race // instrumentation when used from user code. Somehow this doesn't seem to // cause problems, though we may be skating on thin ice. See #61204. "-internal/bytealg", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 02:32:19 UTC 2024 - 3.8K bytes - Viewed (0) -
src/internal/filepathlite/path_unix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix || (js && wasm) || wasip1 package filepathlite import ( "internal/bytealg" "internal/stringslite" ) const ( Separator = '/' // OS-specific path separator ListSeparator = ':' // OS-specific path list separator ) func IsPathSeparator(c uint8) bool { return Separator == c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 935 bytes - Viewed (0) -
src/net/dnsconfig_unix.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !windows // Read system DNS config from /etc/resolv.conf package net import ( "internal/bytealg" "internal/stringslite" "net/netip" "time" ) // See resolv.conf(5) on a Linux machine. func dnsReadConfig(filename string) *dnsConfig { conf := &dnsConfig{ ndots: 1, timeout: 5 * time.Second,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:14:43 UTC 2024 - 4.1K bytes - Viewed (0)