This file contains hidden or 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 __STDC_CONSTANT_MACROS | |
#include <stdint.h> | |
#include <inttypes.h> | |
#include <windows.h> | |
#include <stdio.h> | |
#ifdef __cplusplus | |
extern "C" | |
{ |
This file contains hidden or 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 __STDC_CONSTANT_MACROS | |
#include <stdint.h> | |
#include <inttypes.h> | |
#include <windows.h> | |
#include <stdio.h> | |
extern "C" | |
{ | |
#include <libavfilter/avfilter.h> |
This file contains hidden or 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
(defconstant +byte-count+ (* 2 1024 1024 1024)) | |
(defconstant +page-size+ 4096) | |
(defconstant +page-count+ (/ +byte-count+ +page-size+)) | |
(defvar *a* (make-array +byte-count+ :element-type '(unsigned-byte 8))) | |
(dotimes (i +page-count+) (incf (elt *a* (* i +page-size+)))) |
This file contains hidden or 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
private def metaExists(id: Id[DocumentMeta]): Rx[Boolean] = { | |
metaDir.fileExists(id.value) mapToRx { | |
case Failure(_) => false | |
case Success(exists) => exists | |
} | |
} | |
private def dataExists(id: Id[DocumentMeta]): Rx[Boolean] = { | |
dir.fileExists(id.value) mapToRx { | |
case Failure(_) => false |
This file contains hidden or 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
(in-package :cl-user) | |
(defpackage #:peg-combinators | |
(:use #:cl) | |
(:nicknames #:pegc) | |
(:export | |
#:defparser | |
#:defrule | |
#:result |
This file contains hidden or 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
(in-package #:cl-user) | |
(defpackage #:rwa-contest | |
(:use #:cl) | |
(:export | |
#:address | |
#:address-value | |
#:book | |
#:parse-ranges | |
#:parse-ips |
NewerOlder