CP files scanned for virusses?
-
OK, I hate to sound ignorant, but what is all this "CPian" stuff?
Selevercin wrote: I hate to sound ignorant, but what is all this "CPian" stuff? Example: People from America = American CP = Code Project People from Code Project Land = CPian :) :) :) :) :) ;P ;P ;P ;P ;P
-
Good idea, but I was more thinking along the lines of documenting the development process of the little DirectX game I'm working on X| once I get my head around the matrices, that is X| I doubt I'll find a use for terabyte sparse files in my game, but it would be a nifty anti-piracy measure :-D -- Help me! I'm turning into a grapefruit!
Terabyte sparse file?!?:confused: Is that just a file that has a bunch of 0's? How does that act as an "anti-piracy measure". ~Selevercin
-
Terabyte sparse file?!?:confused: Is that just a file that has a bunch of 0's? How does that act as an "anti-piracy measure". ~Selevercin
A terabyte is 1024 gigabytes (or 1000 if you're a hdd manufacturer) In a sparse file, basically instead of having a file that contains 1,099,511,627,776 0's it just has a description that says "1,099,511,627,776 0s follow" (which obviously takes up less space than the actual 0s would) Therefore your data could be scattered through a file that looks to the OS to be a terabyte in size, but actually just contains huge areas of emptyness. These huge files confuse a lot of programs, so it makes them tricky to copy -- Help me! I'm turning into a grapefruit!
-
A terabyte is 1024 gigabytes (or 1000 if you're a hdd manufacturer) In a sparse file, basically instead of having a file that contains 1,099,511,627,776 0's it just has a description that says "1,099,511,627,776 0s follow" (which obviously takes up less space than the actual 0s would) Therefore your data could be scattered through a file that looks to the OS to be a terabyte in size, but actually just contains huge areas of emptyness. These huge files confuse a lot of programs, so it makes them tricky to copy -- Help me! I'm turning into a grapefruit!
benjymous wrote: it just has a description that says "1,099,511,627,776 0s follow" Perhaps I'm not getting this right. The program tells the OS how big of a file it is?
-
benjymous wrote: it just has a description that says "1,099,511,627,776 0s follow" Perhaps I'm not getting this right. The program tells the OS how big of a file it is?
No. the OS knows that the file contains a terrabyte of data, but it also knows that basically it doesn't need to store all the blank areas, so they don't take up disk space -- Help me! I'm turning into a grapefruit!
-
No. the OS knows that the file contains a terrabyte of data, but it also knows that basically it doesn't need to store all the blank areas, so they don't take up disk space -- Help me! I'm turning into a grapefruit!
Oh, That's pretty neat. I was under the impression that my computer was a moron... but apparently it has some brains[good code]. Thanks, ~ Selevercin