Skip to content

Count the number of bits set to 1 in all of the bytes stored under ./

Notifications You must be signed in to change notification settings

banksean/bitcounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

bitcounts

Count the number of bits set to 1 in all of the files under the current directory.

For example I run it like so, from / on my macbook air:

sudo go run /Users/banksean/github/banksean/bitcounts/main.go

It runs for a few minutes, logging each filename to stdout as it goes. After it finishes reading, it prints out how many of the bits it read were ones and how many were zeroes.

About

Count the number of bits set to 1 in all of the bytes stored under ./

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages