Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F10433363
str.go
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
503 B
Subscribers
None
str.go
View Options
// Copyright 2009 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.
// +build windows
package
windows
func
itoa
(
val
int
)
string
{
// do it here rather than with fmt to avoid dependency
if
val
<
0
{
return
"-"
+
itoa
(
-
val
)
}
var
buf
[
32
]
byte
// big enough for int64
i
:=
len
(
buf
)
-
1
for
val
>=
10
{
buf
[
i
]
=
byte
(
val
%
10
+
'0'
)
i
--
val
/=
10
}
buf
[
i
]
=
byte
(
val
+
'0'
)
return
string
(
buf
[
i
:])
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 3:11 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3137566
Attached To
rWCLI writeas-cli
Event Timeline
Log In to Comment