Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 16, 2018 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/bc2555a33f9080f272da541088f0a7db to your computer and use it in GitHub Desktop.
Save Whateverable/bc2555a33f9080f272da541088f0a7db to your computer and use it in GitHub Desktop.
greppable6
File Code
JNTHN/cro
…/app.js :9940:
case __WEBPACK_IMPORTED_MODULE_8_keycode___default.a.codes.down:
JNTHN/cro
…/app.js :9948:
case __WEBPACK_IMPORTED_MODULE_8_keycode___default.a.codes.esc:
JNTHN/cro
…/app.js :9949:
case __WEBPACK_IMPORTED_MODULE_8_keycode___default.a.codes.tab:
JNTHN/cro
…/app.js :26539:
var codes = exports.code = exports.codes = {
JNTHN/cro
…/app.js :40474:
case __WEBPACK_IMPORTED_MODULE_6_keycode___default.a.codes.left:
JNTHN/cro
…/app.js :40475:
case __WEBPACK_IMPORTED_MODULE_6_keycode___default.a.codes.up:
JNTHN/cro
…/app.js :40478:
case __WEBPACK_IMPORTED_MODULE_6_keycode___default.a.codes.right:
JNTHN/cro
…/app.js :40479:
case __WEBPACK_IMPORTED_MODULE_6_keycode___default.a.codes.down:
JNTHN/cro
…/app.js :75324:
case __WEBPACK_IMPORTED_MODULE_7_keycode___default.a.codes.down:
JNTHN/cro
…/app.js :75328:
case __WEBPACK_IMPORTED_MODULE_7_keycode___default.a.codes.up:
JNTHN/cro
…/app.js :75332:
case __WEBPACK_IMPORTED_MODULE_7_keycode___default.a.codes.esc:
JNTHN/cro
…/app.js :75333:
case __WEBPACK_IMPORTED_MODULE_7_keycode___default.a.codes.tab:
WARRINGD/PDF-Class
…/pdf-info.p6 :44:
my UInt $size = $input.codes;
Demayl/perl6-Email-Valid
…/Valid.pm6 :60:
token email { <mailbox><?{$/<mailbox>.codes <= $mailbox_max_length}> '@' <domain><?{$/<domain>.codes <= $max_length - $mailbox_max_length - 1}> }
MattOates/BioInfo
…/Seq.pm6 :7:
$.sequence.codes;
gabrielash/perl6-zmq
…/11.t :97:
ok $rc.encode('UTF-8').bytes == $lsent, "message receive with correct length $lsent = {$rc.codes }" ;
gfldex/perl6-pod-to-bigpage
…/html.xhtml :14897:
STRING.codes</pre>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :14899:
<pre class="code">say 'møp'.codes; # 3</pre>
jsimonet/IRC-Client-Plugin-UserPoints
…/UserPoints.pm6 :105:
if $e.channel.codes + $e.nick.codes + 2 + $response.codes + "$k: $v, ".codes + 20 > 512 {
p6-pdf/PDF-Content-p6
…/images.t :26:
is $jpeg.encoded.codes, $jpeg<Length>, 'jpeg encoded length';
p6-pdf/PDF-Content-p6
…/images.t :41:
is $gif.encoded.codes, $gif<Length>, 'gif encoded length';
p6-pdf/PDF-Grammar-p6
…/Changes :58:
- tweaked ind-obj-nibble rule to use .codes rather than .chars to compute
p6-pdf/PDF-Grammar-p6
…/Actions.pm :14:
my $start = (~$/).codes;
p6-pdf/PDF-Grammar-p6
…/pdf-regex.t :209:
", $content3.codes, $content3;
p6-pdf/PDF-Lite-p6
…/README.md :296:
my $size = $xobject.encoded.codes;
p6-pdf/PDF-p6
…/PDF.pm :84:
my Numeric $offset = $.reader.input.codes + Preamble.codes;
p6-pdf/PDF-p6
…/Stream.pm :34:
self<Length> = .codes with $!encoded;
p6-pdf/PDF-p6
…/Stream.pm :42:
self<Length> //= .codes with $!encoded;
p6-pdf/PDF-p6
…/Stream.pm :48:
self<Length> = .codes with $stream;
p6-pdf/PDF-p6
…/Stream.pm :111:
self<Length> = $!decoded.codes;
p6-pdf/PDF-p6
…/ObjStm.pm :43:
@idx.push: $objects-str.codes;
p6-pdf/PDF-p6
…/ObjStm.pm :47:
self<First> = idx-str.codes + 1;
p6-pdf/PDF-p6
…/ObjStm.pm :75:
!! objects-str.codes;
p6-pdf/PDF-p6
…/ObjStm.pm :78:
if begin > objects-str.codes;
p6-pdf/PDF-p6
…/Blob.pm :8:
my UInt \from = $from-whatever( $.codes );
p6-pdf/PDF-p6
…/AST.pm :31:
$ast<dict><Length> = %( :int(.codes) )
p6-pdf/PDF-p6
…/ASCII85.pm :67:
my $padding = -$str.codes % 5;
p6-pdf/PDF-p6
…/ASCIIHex.pm :44:
unless $str.codes %% 2;
p6-pdf/PDF-p6
…/Handle.pm :10:
has UInt $.codes is rw;
p6-pdf/PDF-p6
…/Handle.pm :27:
multi method subbuf( UInt $from!, UInt $length = $.codes - $from + 1 --> Blob) {
p6-pdf/PDF-p6
…/Str.pm :15:
my \n = min($n, $.codes - $!pos);
p6-pdf/PDF-p6
…/Str.pm :21:
$!pos = min($n, $.codes);
p6-pdf/PDF-p6
…/Str.pm :24:
$!pos = min($!pos + $n, $.codes);
p6-pdf/PDF-p6
…/Str.pm :27:
$!pos = max(0, $.codes - $n);
p6-pdf/PDF-p6
…/Str.pm :30:
my \codes = $.codes;
p6-pdf/PDF-p6
…/Str.pm :37:
method eof { $!pos >= $.codes }
p6-pdf/PDF-p6
…/Reader.pm :529:
my UInt \tail-bytes = min(1024, $.input.codes);
p6-pdf/PDF-p6
…/Reader.pm :540:
my UInt \input-bytes = $.input.codes;
p6-pdf/PDF-p6
…/Reader.pm :625:
dict<Length> = :int(stream<encoded>.codes)
p6-pdf/PDF-p6
…/Writer.pm :62:
$!offset += trailer-bytes.codes + 2 * "\n".codes;
p6-pdf/PDF-p6
…/Writer.pm :83:
$!offset += bytes.codes + 1;
p6-pdf/PDF-p6
…/Writer.pm :100:
$!offset += xref-str.codes;
p6-pdf/PDF-p6
…/Writer.pm :267:
$!offset = header.codes + comment.codes + 2; # since format is byte orientated
p6-pdf/PDF-p6
…/Writer.pm :295:
%dict<Length> //= :int($data.codes);
p6-pdf/PDF-p6
…/dao-tie.t :70:
my UInt $Length = $decoded.codes;
p6-pdf/PDF-p6
…/io-serialize.t :106:
is $stream<encoded>.codes, 54, 'compressed stream length';
p6-pdf/PDF-p6
…/io.t :15:
is $input.codes, $str.codes, "$test .codes";
patch/cldr-list-pm6
…/README.md :41:
CLDR](http://patch.codes/talks/localization-with-the-unicode-cldr/) (video and
patch/cldr-list-pm6
…/List.pm :144:
CLDR|http://patch.codes/talks/localization-with-the-unicode-cldr/> (video and
perl6/doc
…/traps.pod6 :459:
If you need the number of codepoints, you should use L«C<.codes>|codes». If you need
perl6/doc
…/traps.pod6 :464:
say 'ǰ̣'.codes; # OUTPUT: «2»
perl6/doc
…/Cool.pod6 :709:
say 'møp'.codes; # OUTPUT: «3␤»
retupmoca/p6-Email-Simple
…/Simple.pm6 :39:
my $crlf = $newlines.NFC[^($newlines<b>.codes</b> / 2)]>>.chr.join;
retupmoca/p6-MIME-QuotedPrint
…/QuotedPrint.pm6 :74:
if $seq.codes == 3 {
skids/perl6xproto
…/Protocol.pm6 :144:
self.human or self.codes{$.status} or nextsame;
skids/perl6xproto
…/X11.pm6 :76:
("$.protocol protocol error: {self.codes{self.status}}",
skids/perl6xproto
…/X11.pm6 :85:
("{self.codes{self.status}}",
sylvarant/Avro
…/Encode.pm :121:
unless $schema.size == $str.codes();
sylvarant/Avro
…/Encode.pm :138:
my BlobStream $stream = BlobStream.new(:blob(encode_long($str.codes())));
sylvarant/Avro
…/Encode.pm :139:
$stream.append( pack(template($str.codes()),$str.ords()) );
sylvarant/Avro
…/Schema.pm :504:
$str.codes() == $!size
tony-o/perl6-encoding-huffman-pp6
…/PP6.pm6 :265:
my Buf[uint8] $enc .=new((0..($bits.codes/8).ceiling).map({ 0 }));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment