Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(114)

Delta Between Two Patch Sets: src/pkg/exp/spacewar/spacewar.go

Issue 224062: code review 224062: strings: delete Runes, Bytes (Closed)
Left Patch Set: Created 15 years ago
Right Patch Set: code review 224062: strings: delete Runes, Bytes Created 15 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/exp/datafmt/parser.go ('k') | src/pkg/fmt/fmt_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright (c) 1996 Barry Silverman, Brian Silverman, Vadim Gerasimov. 1 // Copyright (c) 1996 Barry Silverman, Brian Silverman, Vadim Gerasimov.
2 // Portions Copyright (c) 2009 The Go Authors. 2 // Portions Copyright (c) 2009 The Go Authors.
3 // 3 //
4 // Permission is hereby granted, free of charge, to any person obtaining a copy 4 // Permission is hereby granted, free of charge, to any person obtaining a copy
5 // of this software and associated documentation files (the "Software"), to deal 5 // of this software and associated documentation files (the "Software"), to deal
6 // in the Software without restriction, including without limitation the rights 6 // in the Software without restriction, including without limitation the rights
7 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 // copies of the Software, and to permit persons to whom the Software is 8 // copies of the Software, and to permit persons to whom the Software is
9 // furnished to do so, subject to the following conditions: 9 // furnished to do so, subject to the following conditions:
10 // 10 //
(...skipping 14 matching lines...) Expand all
25 25
26 import ( 26 import (
27 "bytes" 27 "bytes"
28 "exp/draw" 28 "exp/draw"
29 "exp/nacl/av" 29 "exp/nacl/av"
30 "exp/nacl/srpc" 30 "exp/nacl/srpc"
31 "image" 31 "image"
32 "log" 32 "log"
33 "os" 33 "os"
34 "runtime" 34 "runtime"
35 "strings"
36 "time" 35 "time"
37 "./pdp1" 36 "./pdp1"
38 ) 37 )
39 38
40 func main() { 39 func main() {
41 runtime.LockOSThread() 40 runtime.LockOSThread()
42 if srpc.Enabled() { 41 if srpc.Enabled() {
43 go srpc.ServeRuntime() 42 go srpc.ServeRuntime()
44 } 43 }
45 44
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 m.ctl |= ctlBits[ch] 187 m.ctl |= ctlBits[ch]
189 } 188 }
190 if 0 <= -ch && -ch < len(ctlBits) { 189 if 0 <= -ch && -ch < len(ctlBits) {
191 m.ctl &^= ctlBits[-ch] 190 m.ctl &^= ctlBits[-ch]
192 } 191 }
193 default: 192 default:
194 return 193 return
195 } 194 }
196 } 195 }
197 } 196 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b