This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## 1) Offset is displayed in Hex. 4 Bytes are interpreted at | |
## once plus each byte is displayed in ASCII with the char "." | |
## representing every non-printing character. Since my current | |
## computer runs an intel processor (little endian) the byte order | |
## is reverse to the hex depiction. | |
## | |
hexdump -e '1/4 "[offset:%_ax]) "' -e '1/4 "%08X <-> "' -e '4/1 "%_p "' -e '"\n"' | |
# example of 1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Multi level inheritance implemented using only | |
tables and meta tables in lua | |
The implementation follows the very simple scheme: | |
class_inheritancelevel_n = { | |
new = function(self, inh) | |
new = {} | |
for k, v in pairs(self) do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "dstru_test_types.h" | |
#include "dstru_types.h" | |
#include "dstru_defines.h" | |
#include "dstru_funcs.h" | |
#include <ffi.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define unlink_large_chunk(M, X) {\ | |
tchunkptr XP = X->parent;\ | |
tchunkptr R;\ | |
if (X->bk != X) {\ | |
tchunkptr F = X->fd;\ | |
R = X->bk;\ | |
if (RTCHECK(ok_address(M, F))) {\ | |
F->bk = R;\ | |
R->fd = F;\ | |
}\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ffi_util.h" | |
#include "ffi_generate_ops.h" | |
#include "ffi_node_defines.h" | |
#include "ffi_generate_ops.h" | |
#include "ffi_parser_util.h" | |
#include <stdio.h> | |
#define DEBUG | |
const char *TYPE_STRING_TAB[] = { LIST_TYPE(GENERATE_STRING) }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct * = { | |
cchar = [5], | |
cdouble = [255.255], | |
struct * = { | |
struct * = { | |
cdouble = [7431.123], | |
cchar = [?], | |
cint = [-123] | |
}, | |
struct * = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ffi_parser.h" | |
#include "ffi_nary_tree.h" | |
#include "ffi_node_defines.h" | |
#include "ffi_generate_dot.h" | |
#include "ffi_generate_ops.h" | |
#include "ffi_storage.h" | |
#include "ffi_util.h" | |
#include <stdlib.h> | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct * = { // @ | |
cchar = [5], // @->[0] | |
cdouble = [255.255], // @->[1] | |
struct * = { // @->[2] | |
struct * = { // @->[2]->[0] | |
cdouble = [7431.123], // @->[2]->[0]->[0] | |
cchar = [?], // @->[2]->[0]->[1] | |
cint = [-123] // @->[2]->[0]->[2] | |
}, // -- | |
struct * = { // @->[2]->[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
struct named { | |
int dummy1; | |
char dummy2; | |
}; | |
struct foo { int a; int b;}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------------------- | |
-- Company: | |
-- Author: Florian Mayer | |
-- | |
-- Create Date: 16:18:13 12/09/2015 | |
-- Design Name: | |
-- Module Name: seven_segment - Behavioral | |
-- Project Name: | |
-- Target Devices: | |
-- Tool versions: |
OlderNewer