Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 14, 2019 11:13
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/07114229fded5158fcc9e8cf277f6ade to your computer and use it in GitHub Desktop.
Save Whateverable/07114229fded5158fcc9e8cf277f6ade to your computer and use it in GitHub Desktop.
greppable6
File Code
JNTHN/JSON-Schema
…/Schema.pm6 :240:
if $value ~~ Str:D && $value.codes < $!value {
JNTHN/JSON-Schema
…/Schema.pm6 :250:
if $value ~~ Str:D && $value.codes > $!value {
JNTHN/OpenAPI-Schema-Validate
…/Validate.pm6 :207:
if $value ~~ Str && $value.defined && $value.codes < $!min {
JNTHN/OpenAPI-Schema-Validate
…/Validate.pm6 :217:
if $value ~~ Str && $value.defined && $value.codes > $!max {
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 :47:
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 }" ;
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 :24:
is $jpeg.encoded.codes, $jpeg<Length>, 'jpeg encoded length';
p6-pdf/PDF-Content-p6
…/images.t :39:
is $gif.encoded.codes, $gif<Length>, 'gif encoded length';
p6-pdf/PDF-Grammar-p6
…/Changes :73:
- tweaked ind-obj-nibble rule to use .codes rather than .chars to compute
p6-pdf/PDF-Grammar-p6
…/Actions.pm :131:
%stream.push: 'start' => (~$/).codes;
p6-pdf/PDF-Grammar-p6
…/pdf-regex.t :210:
", $content3.codes, $content3;
p6-pdf/PDF-Lite-p6
…/README.md :298:
my $size = $xobject.encoded.codes;
p6-pdf/PDF-p6
…/PDF.pm :115:
my Numeric $offset = $.reader.input.codes + Preamble.codes;
p6-pdf/PDF-p6
…/Stream.pm :33:
self<Length> = .codes with $!encoded;
p6-pdf/PDF-p6
…/Stream.pm :41:
self<Length> //= .codes with $!encoded;
p6-pdf/PDF-p6
…/Stream.pm :47:
self<Length> = .codes with $stream;
p6-pdf/PDF-p6
…/Stream.pm :110:
self<Length> = $!decoded.codes;
p6-pdf/PDF-p6
…/ObjStm.pm :57:
@idx.push: $objects-str.codes;
p6-pdf/PDF-p6
…/ObjStm.pm :61:
self<First> = idx-str.codes + 1;
p6-pdf/PDF-p6
…/ObjStm.pm :86:
!! bytes.codes;
p6-pdf/PDF-p6
…/ObjStm.pm :88:
die X::PDF::ObjStm::Decode.new( :$.obj-num, :$.gen-num, :details("Index offset {begin} exceeds decoded data length {bytes.codes}"))
p6-pdf/PDF-p6
…/ObjStm.pm :89:
if begin > bytes.codes;
p6-pdf/PDF-p6
…/Blob.pm :8:
my UInt \from = $from-whatever( $.codes );
p6-pdf/PDF-p6
…/Blob.pm :11:
multi method substr(Int $from, UInt $len = $.codes - $from) is default { self.subbuf($from, $len).decode("latin-1") }
p6-pdf/PDF-p6
…/AST.pm :31:
$ast<dict><Length> = %( :int(.codes) )
p6-pdf/PDF-p6
…/ASCII85.pm :69:
my $padding = -$str.codes % 5;
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:
method read(UInt $n = $.codes - $!pos) {
p6-pdf/PDF-p6
…/Str.pm :16:
my \n = min($n, $.codes - $!pos);
p6-pdf/PDF-p6
…/Str.pm :22:
$!pos = min($n, $.codes);
p6-pdf/PDF-p6
…/Str.pm :25:
$!pos = min($!pos + $n, $.codes);
p6-pdf/PDF-p6
…/Str.pm :28:
$!pos = max(0, $.codes - $n);
p6-pdf/PDF-p6
…/Str.pm :31:
my \codes = $.codes;
p6-pdf/PDF-p6
…/Str.pm :36:
method eof { $!pos >= $.codes }
p6-pdf/PDF-p6
…/Reader.pm :604:
my UInt \tail-bytes = min(1024, $!input.codes);
p6-pdf/PDF-p6
…/Reader.pm :620:
my UInt \input-bytes = $!input.codes;
p6-pdf/PDF-p6
…/Reader.pm :724:
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 :91:
$!offset += bytes.codes + 1;
p6-pdf/PDF-p6
…/Writer.pm :108:
$!offset += xref-str.codes;
p6-pdf/PDF-p6
…/Writer.pm :269:
$!offset = header.codes + comment.codes + 2; # since format is byte orientated
p6-pdf/PDF-p6
…/Writer.pm :297:
%dict<Length> //= :int($data.codes);
p6-pdf/PDF-p6
…/cos-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 :634:
If you need the number of codepoints, you should use L«C<.codes>|codes». If you need
perl6/doc
…/traps.pod6 :639:
say 'ǰ̣'.codes; # OUTPUT: «2»
perl6/doc
…/traps.pod6 :1884:
say <þor oðin loki>.map: *.codes; # OUTPUT: «(3 4 4)␤»
perl6/doc
…/traps.pod6 :1889:
<þor oðin loki>.map: *.codes.say; # OUTPUT: «3␤4␤4␤»
perl6/doc
…/Cool.pod6 :770:
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