예제 #1
0
파일: show_bytes.c 프로젝트: b3h3moth/L-C
// Show 'long' data type
void show_long_long(long long data) {
    // printf("[%ld:   long] - ", data);
    show_bytes((byte_pointer) &data, sizeof(long long));
}
예제 #2
0
static QString show_bytes1(const QByteArray& arr, int base, int bytes_per_line, QString delimer)
{
    return show_bytes(arr, base, bytes_per_line, delimer, QString("\r\n"));
}
예제 #3
0
파일: show_bytes.c 프로젝트: b3h3moth/L-C
// Show 'double' data type
void show_double(double data) {
    // printf("[%g: double] - ", data);
    show_bytes((byte_pointer) &data, sizeof(double));
}
예제 #4
0
void show_pointer(void *x) {
	show_bytes((byte_pointer) &x, sizeof(void *));
}
예제 #5
0
void show_long(long x) {
	show_bytes((byte_pointer) &x, sizeof(long));
}
예제 #6
0
파일: float_bytes.c 프로젝트: ingliu/c_code
void show_float(float start)
{
        printf("show_float...\n");
	show_bytes((byte_pointer) &start, sizeof(float));
}
예제 #7
0
void show_int(int x) {
	show_bytes((byte_pointer) &x, sizeof(int));
}
예제 #8
0
void show_pointer(void *x) {
    show_bytes((byte_pointer) &x, sizeof(void *)); //line:data:show_bytes_amp3
}
예제 #9
0
void string_ueg() {
/* $begin show-ustring */
const char *s = "ABCDEF";
show_bytes((byte_pointer) s, strlen(s)); 
/* $end show-ustring */
}
예제 #10
0
void show_int(int x) {
    show_bytes((byte_pointer) &x, sizeof(int)); //line:data:show_bytes_amp1
}
예제 #11
0
void show_float(float x) {
    show_bytes((byte_pointer) &x, sizeof(float)); //line:data:show_bytes_amp2
}
예제 #12
0
int show_float(float x){
    show_bytes((byte_pointer) &x, sizeof(float));
    return 0;
}
예제 #13
0
int show_int(int x){
    show_bytes((byte_pointer) &x, sizeof(int));
    return 0;
}
예제 #14
0
파일: show_bytes.c 프로젝트: zhaodj/code
int main(){
    test_show_bytes(0x12345);
    const char *s="abcdef";
    show_bytes((byte_pointer)s,strlen(s));
}
예제 #15
0
파일: float_bytes.c 프로젝트: ingliu/c_code
void show_pointer(void *start)
{
        printf("show_pointer...\n");
	show_bytes((byte_pointer) &start, sizeof(void *));
}
예제 #16
0
void string_leg() {
/* $begin show-lstring */
const char *s = "abcdef";
show_bytes((byte_pointer) s, strlen(s)); 
/* $end show-lstring */
}
예제 #17
0
파일: float_bytes.c 프로젝트: ingliu/c_code
void show_int(int start)
{
        printf("show_int... %d\n", start);
	show_bytes((byte_pointer) &start, sizeof(int));
}
예제 #18
0
파일: show_bytes.c 프로젝트: b3h3moth/L-C
// Show 'int' data type
void show_int(int data) {
    // printf("[%d:    int] - ", data);
    show_bytes((byte_pointer) &data, sizeof(int));
}
예제 #19
0
파일: byte_code.c 프로젝트: sahaia1/kandr
void
show_pointer(void *pointer) {
    show_bytes((byte_pointer) &pointer, sizeof(void *));
}
예제 #20
0
파일: show_bytes.c 프로젝트: b3h3moth/L-C
// Show 'float' data type
void show_float(float data) {
    // printf("[%.f:  float] - ", data);
    show_bytes((byte_pointer) &data, sizeof(float));
}
예제 #21
0
void show_float(float x) {
	show_bytes((byte_pointer) &x, sizeof(float));
}
예제 #22
0
파일: show_bytes.c 프로젝트: b3h3moth/L-C
// Show 'void' data type
void show_pointer(void *data) {
    // printf("[%d: void *] - ", (int)data);
    show_bytes((byte_pointer) &data, sizeof(void *));
}
예제 #23
0
/* new functions */
void show_short(short x) {
	show_bytes((byte_pointer) &x, sizeof(short));
}
예제 #24
0
파일: show_bytes.c 프로젝트: b3h3moth/L-C
// Show 'short' data type
void show_short(short data) {
    // printf("[%d:  short] - ", data);
    show_bytes((byte_pointer) &data, sizeof(short));
}
예제 #25
0
void show_double(double x) {
	show_bytes((byte_pointer) &x, sizeof(double));
}
예제 #26
0
파일: test.c 프로젝트: kpgoing/CSAPP
void show_us(unsigned x){
	show_bytes((byte_pointer) &x, sizeof(unsigned));
}