-
-
xnu
... . The most standard way is using syscall arguments. But for complex data
it often relies of sending memory saved by C structs. This packaged data transport mechanism is fragile and leads to broken interfaces
between user space programs and kernel apis. ` ...
-
libfaketime
... counting from will be the last timestamp in the file.
The file stores each timestamp in a stream of saved_timestamp structs
without any metadata or padding:
/* Storage format for timestamps written to file. Big endian. */
struct saved_timestamp {
...
-
libmowgli-tri
... 3).
- mowgli_object: A simple class which provides reference counted pointers and
polymorphism of structs.
- mowgli_object_class: Classing and subclassing for objects.
- mowgli_object_metadata: Metadata for objects.
- ...
-
rstruct
...
FAT_CIGAM = 0xbebafeca
struct(:fat_header) {
uint32be :magic; # FAT_MAGIC
uint32be :nfat_arch; # number of structs that follow
}
typedef :uint32be, :cpu_type_t
typedef :uint32be, :cpu_subtype_t
struct(:fat_arch) {
...
-
QtSOAP
...
2.3: - Handle (but don't preserve) comments in structs/arrays
- Fix memory leak for QtSoapArray
- Allow Array ... and wrong indices in array example
code in doc.
- Fixes: copying structs and arrays.
- Added: support operator[] for ...
-
Corange
... and corange_finish functions are fairly short so it is even possible to not call them and only use the components you want.
* Structs are typedefed without their pointer. The reason for this is a personal choice but there are also quite a few data ...
-
configurable
... for
each instance of the class.
* Settings are stored in Structs (well, actually a subclass of Struct),
so they can be ... with the Singleton module.
* Can safely store other kinds of structs as opaque config values. They
won't get automatically deep ...
-
Configoro
... include any hashes in your configuration YAML files, they will also be
accessible as indifferent hashes or structs:
```` ruby
MyApp::Configuration.memcache.timeout
MyApp::Configuration[:memcache]['timeout']
MyApp::Configuration['memcache'].timeout
````
...
-
ffi_talk
... pointers and semi-realistic computation
=== getpid
libc example that gets the current process id
=== S.M.A.R.T.
Native code returns pointers to structs containing
hard drive diagnostic information (Linux specific)
== Presentation
showoff slides
-
tws_c_api
... struct member of type "char *" is pointing to 0 or garbage on
the stack. All char pointers in structs must be initialized,
try "" if in doubt.
3) Some programming notes
Theoretically strings that are exchanged between the TWS ...
-