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
// | |
// Simple listener.c program for UDP multicast | |
// | |
// Adapted from: | |
// http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/antony/example.html | |
// | |
// Changes: | |
// * Compiles for Windows as well as Linux | |
// * Takes the port and group on the command line | |
// |
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
C:\Users\kealist\Documents\git\kealist\ren-c\make>mingw32-make -f makefile.boot | |
./r3-make.exe -qs ../src/tools/make-make.r OS_ID=""_"" DEBUG="asserts" \ | |
GIT_COMMIT="{unknown}" STANDARD="c" \ | |
RIGOROUS="no" WITH_FFI="no" \ | |
WITH_TCC="no" STATIC="no" \ | |
OPTIMIZE="auto" TARGET=makefile CONFIG="default-config.r" | |
/C/Users/kealist/Documents/git/kealist/ren-c/src/tools/ | |
user-config: => make object! [ | |
os-id blank! _ | |
target word! makefile |
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
WHITESPACE INTERPRETER FOR PROGRAM: | |
--- | |
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
// | |
// Proxy/facade pattern idea. | |
// See http://codereview.stackexchange.com/questions/33713/ | |
// | |
#include <iostream> | |
#include <vector> | |
#include <memory> | |
#include <cstdlib> |
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
/* | |
Copyright 2012 Brian Dickens <hostilefork@gmail.com> | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
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
Checking: [#{00}] | |
Checking: [#{01}] | |
Checking: [#{02}] | |
Checking: [#{03}] | |
Checking: [#{04}] | |
Checking: [#{05}] | |
Checking: [#{06}] | |
Checking: [#{07}] | |
Checking: [#{08}] | |
Checking: [#{09}] |
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
;-- Test the low range... | |
>> low: charset [#"^(00)" - #"^(80)"] | |
== make bitset! #{FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80} | |
>> find low #{40} | |
== true | |
>> find low #{A0} | |
== none |
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
./r3-make -qs ../src/tools/make-commit.r | |
Performing Pre-Commit Tests | |
%../boot/boot-code.r - REBOL | |
2: Indentation of line not done with pure tabs. | |
3: Indentation of line not done with pure tabs. | |
4: Indentation of line not done with pure tabs. | |
5: Indentation of line not done with pure tabs. | |
6: Indentation of line not done with pure tabs. | |
7: Indentation of line not done with pure tabs. |
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
../src/core/b-boot.c:2917:1: warning: initializer-string for array of chars is too long [-fpermissive] | |
../src/core/b-init.c: In function ‘void Load_Boot()’: | |
../src/core/b-init.c:159:33: warning: invalid conversion from ‘void*’ to ‘REBYTE* {aka unsigned char*}’ [-fpermissive] | |
../src/core/b-init.c: In function ‘void Register_Codec(const REBYTE*, codo)’: | |
../src/core/b-init.c:704:2: warning: invalid conversion from ‘void*’ to ‘ANYFUNC {aka void (*)(void*)}’ [-fpermissive] | |
../src/core/b-init.c: In function ‘void Set_Option_String(REBCHR*, REBCNT)’: | |
../src/core/b-init.c:728:36: warning: invalid conversion from ‘REBCHR* {aka unsigned char*}’ to ‘const char*’ [-fpermissive] | |
../src/core/b-init.c: In function ‘REBCNT Set_Option_Word(REBCHR*, REBCNT)’: | |
../src/core/b-init.c:740:7: warning: invalid conversion from ‘REBCHR* {aka unsigned char*}’ to ‘const char*’ [-fpermissive] | |
../src/core/b-init.c: In function ‘void Init_Main_Args(REBARGS*)’: |
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
// http://stackoverflow.com/questions/13552057/c-vector-access-violation-when-trying-to-write | |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
class gen { | |
public: | |
int basa_biner; |
NewerOlder