- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for uast (0.54 sec)
-
src/bytes/boundary_test.go
q[j-1] = 1 // difference is only found on the last byte for i := range b { idx := Index(b[i:], q[:j]) if idx != -1 { t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx) } } q[j-1] = 0 } // Test differing alignments and sizes of q which always end on a page boundary. q[len(q)-1] = 1 // difference is only found on the last byte for j := 0; j < len(q); j++ { for i := range b {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 30 20:05:58 GMT 2023 - 2.8K bytes - Viewed (0) -
src/archive/tar/strconv.go
b := make([]byte, 0, len(s)) for _, c := range s { if c < 0x80 && c != 0x00 { b = append(b, byte(c)) } } return string(b) } type parser struct { err error // Last error seen } type formatter struct { err error // Last error seen } // parseString parses bytes as a NUL-terminated C-style string. // If a NUL byte is not found then the whole slice is returned as a string.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 01 14:28:42 GMT 2023 - 9K bytes - Viewed (0) -
src/bufio/example_test.go
} // Use a Scanner with a custom split function to parse a comma-separated // list with an empty final value. func ExampleScanner_emptyFinalToken() { // Comma-separated list; last entry is empty. const input = "1,2,3,4," scanner := bufio.NewScanner(strings.NewReader(input)) // Define a split function that separates on commas.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
.gitignore
[56789a].out *~ *.orig *.rej *.exe .*.swp core *.cgo*.go *.cgo*.c _cgo_* _obj _test _testmain.go /VERSION.cache /bin/ /build.out /doc/articles/wiki/*.bin /goinstall.log /last-change /misc/cgo/life/run.out /misc/cgo/stdio/run.out /misc/cgo/testso/main /pkg/ /src/*.*/ /src/cmd/cgo/zdefaultcc.go /src/cmd/dist/dist /src/cmd/go/internal/cfg/zdefaultcc.go
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jun 22 19:44:52 GMT 2023 - 958 bytes - Viewed (0) -
src/cmd/asm/internal/asm/line_test.go
{"VADDPD.Z.A X0, X1, X2", `Z suffix should be the last; unknown suffix "A"`}, {"VADDPD.Z.Z X0, X1, X2", `Z suffix should be the last; duplicate suffix "Z"`}, {"VADDPD.SAE.BCST X0, X1, X2", `can't combine rounding/SAE and broadcast`}, {"VADDPD.BCST.SAE X0, X1, X2", `can't combine rounding/SAE and broadcast`}, {"VADDPD.BCST.Z.SAE X0, X1, X2", `Z suffix should be the last; can't combine rounding/SAE and broadcast`},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 1.9K bytes - Viewed (0) -
api/go1.22.txt
pkg encoding/hex, func AppendEncode([]uint8, []uint8) []uint8 #53693 pkg go/ast, func NewPackage //deprecated #52463 pkg go/ast, func Unparen(Expr) Expr #60061 pkg go/ast, type Importer //deprecated #52463 pkg go/ast, type Object //deprecated #52463 pkg go/ast, type Package //deprecated #52463 pkg go/ast, type Scope //deprecated #52463 pkg go/types, func NewAlias(*TypeName, Type) *Alias #63223
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Viewed (0) -
SECURITY.md
# Security Policy ## Supported Versions We support the past two Go releases (for example, Go 1.17.x and Go 1.18.x when Go 1.18.x is the latest stable release). See https://go.dev/wiki/Go-Release-Cycle and in particular the [Release Maintenance](https://go.dev/wiki/Go-Release-Cycle#release-maintenance) part of that page. ## Reporting a Vulnerability
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Sep 22 21:17:24 GMT 2023 - 426 bytes - Viewed (0) -
src/bytes/compare_test.go
b := make([]byte, n+1) for _, len := range lengths { // randomish but deterministic data. No 0 or 255. for i := 0; i < len; i++ { a[i] = byte(1 + 31*i%254) b[i] = byte(1 + 31*i%254) } // data past the end is different for i := len; i <= n; i++ { a[i] = 8 b[i] = 9 } cmp := Compare(a[:len], b[:len]) if cmp != 0 { t.Errorf(`CompareIdentical(%d) = %d`, len, cmp) } if len > 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Viewed (0)