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 <stdint.h> | |
#include "sdkconfig.h" | |
#include "mruby.h" | |
#include "mruby/irep.h" | |
#include "mruby/compile.h" | |
#include "mruby/error.h" | |
#include "mruby/string.h" | |
const uint8_t mrbcode[] = { | |
0x45,0x54,0x49,0x52,0x30,0x30,0x30,0x34,0x4f,0x5a,0x00,0x00,0x01,0x47,0x4d,0x41, |
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
# /etc/nsswitch.conf | |
# | |
# Example configuration of GNU Name Service Switch functionality. | |
# If you have the `glibc-doc-reference' and `info' packages installed, try: | |
# `info libc "Name Service Switch"' for information about this file. | |
passwd: compat | |
group: compat | |
shadow: compat | |
gshadow: files |
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 "softfloat.h" | |
int | |
main (void) { | |
float32_t a = {0x3F800000}; | |
float32_t b = {0x40000000}; | |
float32_t c = f32_add(a, b); | |
fprintf(stderr, "0x%x (%ld) + 0x%x (%ld) = 0x%x (%ld)\n", |
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 "softfloat.h" | |
int | |
main (void) { | |
float32_t a = ui32_to_f32(0x3F800000); /* 1.0 */ | |
float32_t b = ui32_to_f32(0x40000000); /* 2.0 */ | |
float32_t c = f32_add(a, b); | |
fprintf(stderr, "0x%lx + 0x%lx = 0x%lx\n", |
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 <stdint.h> | |
int | |
main (void) { | |
float a = 1.0; | |
float b = 2.0; | |
float c = a + b; | |
fprintf(stderr, "sizeof(float): %d\n", sizeof(float)); |
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> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> | |
#include <netinet/in.h> | |
#include <netinet/ip.h> | |
#include <netinet/tcp.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
U-Boot SPL 2016.11 (Dec 06 2016 - 07:54:39) | |
DRAM: 512 MiB | |
Trying to boot from MMC1 | |
U-Boot 2016.11 (Dec 06 2016 - 07:54:39 +0000) Allwinner Technology | |
CPU: Allwinner H3 (SUN8I 1680) | |
Model: Xunlong Orange Pi One | |
DRAM: 512 MiB |
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
package main | |
/* | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <sys/types.h> | |
#include <sys/socket.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
#include <limits.h> | |
#include <nss.h> | |
#include <sys/types.h> | |
#include <netdb.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <assert.h> | |
#include <unistd.h> | |
#include <net/if.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 _GNU_SOURCE | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <errno.h> |