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 file included from /usr/local/include/tao/pegtl.hpp:10: | |
| In file included from /usr/local/include/tao/pegtl/internal/../ascii.hpp:54: | |
| /usr/local/include/tao/pegtl/internal/pegtl_string.hpp:35:26: error: too few template arguments for class template 'keyword' | |
| using type = S<>; | |
| ^ | |
| /Users/anon/workspace/retools/src/libspec/src/libspec.cpp:81:22: note: in instantiation of template class 'tao::pegtl::internal::string_at<tao::pegtl::ascii::keyword, '\x00', false>' requested here | |
| struct ARRAY : TAOCPP_PEGTL_KEYWORD("array") {}; | |
| ^ | |
| /usr/local/include/tao/pegtl/internal/pegtl_string.hpp:96:4: note: expanded from macro 'TAOCPP_PEGTL_KEYWORD' | |
| TAOCPP_PEGTL_INTERNAL_STRING( tao::TAOCPP_PEGTL_NAMESPACE::ascii::keyword, x ) |
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
| // Copyright (c) 2017 Agustin Gianni | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| // this software and associated documentation files (the "Software"), to deal in | |
| // the Software without restriction, including without limitation the rights to | |
| // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
| // the Software, and to permit persons to whom the Software is furnished to do so, | |
| // subject to the following conditions: | |
| // | |
| // The above copyright notice and this permission notice shall be included in all |
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
| @echo off | |
| cls | |
| cl /c /EHa- /EHs- /GR- /GS- /Gd /Gm- /Gy /MT /O2 /Oi- /Oy- /TP /W3 /WX- /Zc:forScope /Zc:inline /Zc:wchar_t /fp:precise /nologo /wd4316 ^ | |
| /DTARGET_IA32 /DHOST_IA32 /DTARGET_WINDOWS /DBIGARRAY_MULTIPLIER=1 /DWIN32 /D__PIN__=1 /DPIN_CRT=1 /D__i386__ ^ | |
| /I"C:\pin\extras\xed-ia32\include\xed" ^ | |
| /IC:\pin\source\include\pin ^ | |
| /IC:\pin\source\include\pin\gen ^ | |
| /IC:\pin\source\tools\InstLib ^ | |
| /I"C:\pin\extras\xed-ia32\include" ^ |
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
| -------------------------------------------------------------------------------- | |
| 0 | integer n = UInt(Rn); -> [] [] | |
| 0 | BranchType branch_type; -> [] [] | |
| 0 | integer m = UInt(Rm); -> [] [] | |
| 0 | boolean pac = (A == '1'); -> [] [] | |
| 0 | boolean use_key_a = (M == '0'); -> [] [] | |
| 0 | boolean source_is_sp = ((Z == '1') && (m == 31)); -> [] [] | |
| 0 | if !pac && m != 0 then -> ['if'] [0] | |
| 4 | UnallocatedEncoding(); -> |
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
| open String | |
| open List | |
| (* Give a string return a dictionary of the words and the amount of times they are used *) | |
| let word_frequency string = | |
| String.split_on_char ' ' string | |
| List.map print_endline (word_frequency "HOLA PEPE") |
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
| open String | |
| open List | |
| (* Give a string return a dictionary of the words and the amount of times they are used *) | |
| let word_frequency string = | |
| let words = String.split_on_char ' ' string in | |
| words | |
| let _ = | |
| List.iter print_endline (word_frequency "HOLA PEPE") |
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
| open List | |
| open String | |
| (* Give a string return a dictionary of the words and the amount of times they are used *) | |
| let add_word_count table word = | |
| let count = match Hashtbl.find_opt table word with | |
| | None -> 0 | |
| | Some x -> x + 1 | |
| in | |
| Hashtbl.replace table word count |
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
| #!/bin/bash | |
| LATENCY=1 | |
| NAME=`basename ${BASH_SOURCE[0]}` | |
| red='\033[0;31m' | |
| green='\033[0;32m' | |
| nocolor='\033[00m' | |
| if [[ "$1" = "" || "$2" = "" || "$3" = "" ]]; then |
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
| from git import * | |
| import time | |
| import sys | |
| import re | |
| import urllib2 | |
| from multiprocessing import Pool | |
| import multiprocessing | |
| import cgi | |
| WEBKIT_REPO = "/home/agustin/workspace/WebKit" |
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
| class SomeClass | |
| { | |
| public: | |
| void *field; | |
| ~SomeClass() | |
| { | |
| if (field) | |
| { | |
| free(field); |