This website requires JavaScript.
Explore
Help
Sign In
go
/
bindata
Watch
1
Star
0
Fork
0
You've already forked bindata
Code
Issues
Pull Requests
Releases
Wiki
Activity
fea0373680
bindata
/
testdata
History
jim teeuwen
98c1704190
Combine the old and new code generation methods. We can select the .rodata hack described in issue
#1
by supplying the -m commandline flag. The default code generation mode is the old one. While it uses more memory, it is a safer version and offers no problems when used on platforms that restrict usage of the
unsafe
and
reflect
packages. Additionally I did some cleanup and refactoring of the code. Bumped version to 1.0.0
2012-06-22 14:12:15 +02:00
..
gophercolor.png
Change signature of generated function to only return the decompressed byte slice. The error value is removed. Instead the function will panic when a decompression error occurs. This allows us to assign the data to global variables were necessary. A decompression error is considered a deal breaker and therefor the panic is warranted.
2012-03-08 11:47:57 +01:00
memcpy-compressed.go
Combine the old and new code generation methods. We can select the .rodata hack described in issue
#1
by supplying the -m commandline flag. The default code generation mode is the old one. While it uses more memory, it is a safer version and offers no problems when used on platforms that restrict usage of the
unsafe
and
reflect
packages. Additionally I did some cleanup and refactoring of the code. Bumped version to 1.0.0
2012-06-22 14:12:15 +02:00
memcpy-uncompressed.go
Combine the old and new code generation methods. We can select the .rodata hack described in issue
#1
by supplying the -m commandline flag. The default code generation mode is the old one. While it uses more memory, it is a safer version and offers no problems when used on platforms that restrict usage of the
unsafe
and
reflect
packages. Additionally I did some cleanup and refactoring of the code. Bumped version to 1.0.0
2012-06-22 14:12:15 +02:00
nomemcpy-compressed.go
Combine the old and new code generation methods. We can select the .rodata hack described in issue
#1
by supplying the -m commandline flag. The default code generation mode is the old one. While it uses more memory, it is a safer version and offers no problems when used on platforms that restrict usage of the
unsafe
and
reflect
packages. Additionally I did some cleanup and refactoring of the code. Bumped version to 1.0.0
2012-06-22 14:12:15 +02:00
nomemcpy-uncompressed.go
Combine the old and new code generation methods. We can select the .rodata hack described in issue
#1
by supplying the -m commandline flag. The default code generation mode is the old one. While it uses more memory, it is a safer version and offers no problems when used on platforms that restrict usage of the
unsafe
and
reflect
packages. Additionally I did some cleanup and refactoring of the code. Bumped version to 1.0.0
2012-06-22 14:12:15 +02:00