Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 21, 2020 13:18
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/78ebe2552a190e1a99c4f354d2680ec7 to your computer and use it in GitHub Desktop.
Save Whateverable/78ebe2552a190e1a99c4f354d2680ec7 to your computer and use it in GitHub Desktop.
greppable6
truncate
File Code
AZAWAWI/Tika
…/README.md :28:
say "Metadata for $filename:\n{$t._truncate($metadata, 40)}";
AZAWAWI/Tika
…/01-example.p6 :29:
say "Metadata for $filename:\n{$t._truncate($metadata, 40)}";
AZAWAWI/Tika
…/Tika.pm6 :130:
method _truncate(Str $string, Int $length) {
BDUGGAN/WebService-AWS-S3
…/Resources.pm6 :71:
has Bool $.is-truncated is xml-element('IsTrunctated');
CTILMES/DB-MySQL
…/Result.pm6 :82:
when MYSQL_DATA_TRUNCATED { die "truncated" }
ELIZABETH/List-Util
…/pair.t :93:
'unpairs with long item truncates';
ELIZABETH/P5chr
…/README.md :40:
bits of the value (truncated to an integer) are used.
ELIZABETH/P5chr
…/P5chr.pm6 :57:
bits of the value (truncated to an integer) are used.
ELIZABETH/P5math
…/README.md :126:
truncates towards 0, and two because machine representations of
ELIZABETH/P5math
…/P5math.pm6 :172:
truncates towards 0, and two because machine representations of
ELIZABETH/P5pack
…/README.md :101:
@ Null-fill or truncate to absolute position, counted from the
ELIZABETH/P5pack
…/README.md :103:
. Null-fill or truncate to absolute position specified by
ELIZABETH/P5pack
…/README.md :192:
If the value to pack is too long, the result is truncated. If
ELIZABETH/P5pack
…/P5pack.pm6 :504:
@ Null-fill or truncate to absolute position, counted from the
ELIZABETH/P5pack
…/P5pack.pm6 :506:
. Null-fill or truncate to absolute position specified by
ELIZABETH/P5pack
…/P5pack.pm6 :595:
If the value to pack is too long, the result is truncated. If
HANENKAMP/Template-Anti
…/NodeSet.pm6 :27:
$tmpl('ul.people').truncate(1);
HANENKAMP/Template-Anti
…/NodeSet.pm6 :87:
=head2 method truncate
HANENKAMP/Template-Anti
…/NodeSet.pm6 :89:
method truncate(Template::Anti::NodeSet:D: Int $keep = 0) returns Template::Anti::NodeSet
HANENKAMP/Template-Anti
…/NodeSet.pm6 :150:
self.truncate;
HANENKAMP/Template-Anti
…/NodeSet.pm6 :159:
self.truncate;
HANENKAMP/Template-Anti
…/NodeSet.pm6 :177:
method truncate(Int $keep = 0) {
HANENKAMP/Template-Anti
…/Template.pm6 :20:
$tmpl('ul.people').truncate(1).find('li').apply([
HMBRAND/Text-CSV
…/Notes :14:
truncate polymod base Real sleep log10 roots WHICH new perl Str
HOLYGHOST/Game-Markov
…/TruncatedGaussian.pm6 :44:
method gen() { ### generate a truncated Gaussian random probability
JGOFF/Readline
…/Readline.pm :180:
=item history-truncate-file( Str $filename, int32 $nLines ) returns int32
JGOFF/Readline
…/Readline.pm :182:
Truncate the history file C<$filename>, leaving only the last C<$nLines> lines. If C<$filename> is Empty, then `~/.history' is truncated. Returns 0 on success, or errno on failure.
JGOFF/Readline
…/Readline.pm :1006:
sub history_truncate_file( Str, int32 )
JGOFF/Readline
…/Readline.pm :1009:
method history-truncate-file( Str $filename, int32 $nLines )
JGOFF/Readline
…/Readline.pm :1011:
my $rv = history_truncate_file( $filename, $nLines );
JGOFF/Readline
…/02-base.t :283:
#### lives-ok { my $rv = $r.history-truncate-file( $filename, $nLines ) },
JGOFF/Readline
…/02-base.t :284:
#### 'history-truncate-file lives';
JMASLAK/DateTime-Monotonic
…/Monotonic.pm6 :116:
return monotonic-seconds.truncate;
JMASLAK/Net-BGP
…/CIDR.pm6 :67:
my $bytes = (($len+7) / 8).truncate;
JMASLAK/Net-BGP
…/CIDR.pm6 :92:
my $bytes = (($len+7) / 8).truncate;
JMASLAK/Net-BGP
…/Peer-List.pm6 :107:
my $send-time = ($hold-time / 3).truncate;
JMASLAK/Net-BGP
…/Socket-Linux.pm6 :464:
$blob[130] = ($reorder / 256).truncate;
JNTHN/cro
…/cro-http-client.md :447:
truncated in the debug output. To raise the limit, put something like
JNTHN/cro
…/app.js :15793:
truncate = until !== undefined;
JNTHN/cro
…/app.js :15797:
if ( truncate && jQuery( elem ).is( until ) ) {
JSTOWE/Chronic
…/Chronic.pm :118:
DateTime will be truncated.
JSTOWE/Chronic
…/Chronic.pm :383:
Supply.interval(1).tap({ $p.emit(DateTime.now.truncated-to('second')); });
JSTOWE/Chronic
…/Chronic.pm :406:
my $datetime = $d.truncated-to('second');
JSTOWE/Chronic
…/Chronic.pm :410:
if $datetime <= DateTime.now.truncated-to('second') {
JSTOWE/Chronic
…/040-at.t :10:
await Chronic.at($dt).then({ ok $_.result.truncated-to('second') == $dt.truncated-to('second'), "got run at $dt (Object)" });
JSTOWE/Chronic
…/040-at.t :13:
await Chronic.at($dt.Str).then({ ok $_.result.truncated-to('second') == $dt.truncated-to('second'), "got run at $dt (String)" });
JSTOWE/Chronic
…/040-at.t :16:
await Chronic.at($dt.Instant).then({ ok $_.result.truncated-to('second') == $dt.truncated-to('second'), "got run at $dt (Instant)" });
JSTOWE/Chronic
…/040-at.t :19:
await Chronic.at($dt.posix).then({ ok $_.result.truncated-to('second') == $dt.truncated-to('second'), "got run at $dt (Int)" });
JSTOWE/NativeHelpers-Array
…/Array.pm :24:
truncated.
MARTIMM/BSON
…/ObjectId.pm6 :157:
# Result of count truncated to 3 bytes
MARTIMM/MongoDB
…/020-config.t :16:
#my $handle = 'MongoDB.mlog'.IO.open( :mode<wo>, :create, :truncate);
MARTIMM/MongoDB
…/110-Client.t :14:
#my $handle = 'MongoDB.mlog'.IO.open( :mode<wo>, :create, :truncate);
MARTIMM/MongoDB
…/111-Client.t :15:
#my $handle = 'MongoDB.mlog'.IO.open( :mode<wo>, :create, :truncate);
MARTIMM/MongoDB
…/112-Client.t :17:
#my $handle = 'MongoDB.mlog'.IO.open( :mode<wo>, :create, :truncate);
MATIASL/Pygments
…/perl.py :108:
'truncate', 'uc', 'ucfirst', 'umask', 'undef', 'unlink', 'unpack', 'unshift', 'untie',
MATIASL/Pygments
…/perl.py :280:
'todo', 'trim', 'trim_end', 'trim_start', 'true', 'truncate', 'uc',
MELEZHIK/Sparky
…/sparkyd :80:
if $tc.match(DateTime.now, :truncate(True)) {
NINE/Inline-Perl5
…/Array.pm6 :100:
# truncate array to new size
NINE/Inline-Perl5
…/Array.pm6 :120:
# truncate array to new size
SAMGWISE/ScaleVec
…/Intervalic.pm6 :49:
# my $step-int = $step.truncate;
SKAJI/App-Mi6
…/Mi6.pm6 :84:
my $release-date = DateTime.now.truncated-to('second').Str;
TBROWDER/Date-Names
…/README.md :167:
truncate => 0, # default
TBROWDER/Date-Names
…/Names.pm6 :46:
has UInt $.trunc = 0; # truncate to N chars if N > 0
WARRINGD/PDF-Class
…/PostScript.pm :61:
truncate => method { self.pop.Int },
WARRINGD/PDF-Class
…/pdf-function-postscript.t :79:
is-deeply calc('truncate', [-2.3,]), [-2], 'truncate op';
WARRINGD/PDF-ISO_32000
…/Number_format.pm6 :37:
TNo fractional part; truncate to achieve whole units.
WARRINGD/PDF-ISO_32000
…/Number_format.pm6 :42:
When the value of F is D, this entry is the precision of a decimal display; it is a multiple of 10. Low-order zeros may be truncated unless FD is true. Default value: 100 (hundredths, corresponding to two decimal digits).
WARRINGD/PDF-ISO_32000
…/Number_format.pm6 :46:
- (Optional; meaningful only for the last dictionary in a number format array) If true, a fractional value formatted according to the D entry may not have its denominator reduced or low-order zeros truncated.
WARRINGD/PDF-ISO_32000
…/Number_format_entries.html :113:
TNo fractional part; truncate to achieve whole units.
WARRINGD/PDF-ISO_32000
…/Number_format_entries.html :136:
When the value of F is D, this entry shall be the precision of a decimal display; it shall be a multiple of 10. Low-order zeros may be truncated unless FD is true. Default value: 100 (hundredths, corresponding to two decimal digits).
WARRINGD/PDF-ISO_32000
…/Number_format_entries.html :156:
(Optional; meaningful only for the last dictionary in a number format array) If true, a fractional value formatted according to the D entry may not have its denominator reduced or low-order zeros truncated.
WARRINGD/PDF-ISO_32000
…/Type_4_Function_operators.html :102:
truncate
WARRINGD/PDF-ISO_32000
…/Number_format_entries.json :28:
"(Optional; meaningful only for the last dictionary in a number format array) A name indicating whether and in what manner to display a fract…
WARRINGD/PDF-ISO_32000
…/Number_format_entries.json :33:
"(Optional; meaningful only for the last dictionary in a number format array) A positive integer that shall specify the precision or denomina…
WARRINGD/PDF-ISO_32000
…/Number_format_entries.json :38:
"(Optional; meaningful only for the last dictionary in a number format array) If true, a fractional value formatted according to the D entry may not have its denominator reduced or low-order zeros truncated.\nDefault value: false."
WARRINGD/PDF-ISO_32000
…/Type_4_Function_operators.json :15:
"sin\nsqrt\nsub\ntruncate"
AlexDaniel/orgsleep
…/orgsleep :188:
for $start-date, *.later(:1month) … * > $end-date.truncated-to(‘month’) {
AlexDaniel/orgsleep
…/orgsleep :189:
my $x-shift = .truncated-to(‘month’) - $start-date;
AlexDaniel/orgsleep
…/orgsleep :199:
for $start-date, *.later(:1year) … * > $end-date.truncated-to(‘year’) {
AlexDaniel/orgsleep
…/orgsleep :200:
my $x-shift = .truncated-to(‘year’) - $start-date;
MARTIMM/BSON
…/ObjectId.pm6 :157:
# Result of count truncated to 3 bytes
PostCocoon/P6-TagLibC
…/build_readme.sh :3:
truncate -s0 README.md;
PostCocoon/P6-Url
…/build_readme.sh :3:
truncate -s0 README.md;
Tux/CSV
…/Notes :14:
truncate polymod base Real sleep log10 roots WHICH new perl Str
andydude/p6-c-parser
…/gbytes.pp.c :1589:
GString* g_string_truncate (GString *string,
azawawi/farabi6
…/perl.js :459:
truncate :1, // - shorten a file
azawawi/farabi6
…/sql.js :296:
keywords: set(sqlKeywords + "accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length…
azawawi/farabi6
…/sql.js :312:
keywords: set(sqlKeywords + "accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row…
azawawi/farabi6
…/sql.js :330:
keywords: set("use select from using consistency where limit first reversed first and in insert into values using consistency ttl update set dele…
azawawi/farabi6
…/sql.js :343:
keywords: set("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table b…
azawawi/farabi6
…/perl6-mode.js :286:
"split reduce min max reverse truncate zip cat roundrobin classify",
azawawi/perl6-gtk-scintilla
…/ScintillaDoc.html :5567:
generates one line of output and the line is truncated if it is too long to fit
azawawi/perl6-gtk-scintilla
…/ScintillaHistory.html :1833:
Restore fractional pixel tab positioning which was truncated to whole pixels in 3.5.0.
azawawi/perl6-gtk-scintilla
…/ScintillaHistory.html :8555:
Bug fixed on Windows NT where long text runs were truncated by
azawawi/perl6-gtk-scintilla
…/ScintillaHistory.html :9827:
Fixed bug with Unicode key values reported to container truncated.
azawawi/perl6-gtk-scintilla
…/LexCPP.cxx :636:
// Functor used to truncate history
azawawi/perl6-gtk-scintilla
…/LexPerl.cxx :596:
// which are then truncated when the next char does not match setVar
azawawi/perl6-gtk-scintilla
…/LexPerl.cxx :1028:
if (pod == SCE_PL_POD) { // truncate verbatim POD early
azawawi/perl6-gtk-scintilla
…/LexVerilog.cxx :364:
// Functor used to truncate history
azawawi/perl6-gtk-scintilla
…/LexVisualProlog.cxx :146:
// Functor used to truncate history
azawawi/perl6-gtk-scintilla
…/StringCopy.h :18:
// May truncate if source doesn't fit into dest with room for NUL.
azawawi/perl6-gtk-scintilla
…/EditView.cxx :1536:
rcSegment.left -= static_cast<int>(ll->wrapIndent); // indentation added to xStart was truncated to int, so we do the same here
azawawi/perl6-gtk-scintilla
…/Editor.cxx :5043:
// DiscardOverdraw may have truncated client drawing area so recalculate endWindow
azawawi/perl6-gtk-scintilla
…/Editor.cxx :5067:
void Editor::StartIdleStyling(bool truncatedLastStyling) {
azawawi/perl6-gtk-scintilla
…/Editor.cxx :5073:
} else if (truncatedLastStyling) {
azawawi/perl6-gtk-scintilla
…/Editor.h :535:
void StartIdleStyling(bool truncatedLastStyling);
azawawi/perl6-gtk-scintilla
…/lexTests.py :42:
b"system syswrite tell telldir tie tied time times truncate "
azawawi/perl6-gtk-scintilla
…/catch.hpp :3151:
lines.push_back( "... message truncated due to excessive size" );
azawawi/perl6-gtk-scintilla
…/catch.hpp :4139:
lines.push_back( "... message truncated due to excessive size" );
azawawi/perl6-gtk-scintilla
…/PlatWin.cxx :2888:
// truncated items in the list and the appearance/disappearance of the vertical scroll bar.
briandfoy/perl6-chemistry-elements
…/Elements.pm6 :191:
( $_.truncate == $_ and $min <= $_ <= $max )
colomon/Math-ContinuedFractions
…/ContinuedFraction.pm :104:
method truncate() {
colomon/Math-ContinuedFractions
…/01-basics.t :56:
my @values = # cf => [name, .sign, .truncate, floor, ceiling, round]
colomon/Math-ContinuedFractions
…/01-basics.t :71:
for flat @values>>.kv -> $cf, [$name, $sign, $truncate, $floor, $ceiling, $round] {
colomon/Math-ContinuedFractions
…/01-basics.t :75:
is $cf.truncate, $truncate, "$name .truncate is $truncate";
colomon/Math-ContinuedFractions
…/01-basics.t :76:
isa-ok $cf.truncate, Int, "$name .sign is Int";
dagurval/p6-Time-Duration
…/README.md :81:
units, it would round it and truncate it to "1 year and 1
dagurval/p6-Time-Duration
…/Duration.pm6 :289:
would round it and truncate it to "1 year and 1 day". Max of 3 expressed
daleevans/perl6-Text-Spintax
…/Spintax.pm6 :80:
return @opt_children[@opt_children.elems.rand.truncate].render;
drforr/perl6-readline
…/Readline.pm :180:
=item history-truncate-file( Str $filename, int32 $nLines ) returns int32
drforr/perl6-readline
…/Readline.pm :182:
Truncate the history file C<$filename>, leaving only the last C<$nLines> lines. If C<$filename> is Empty, then `~/.history' is truncated. Returns 0 on success, or errno on failure.
drforr/perl6-readline
…/Readline.pm :1006:
sub history_truncate_file( Str, int32 )
drforr/perl6-readline
…/Readline.pm :1009:
method history-truncate-file( Str $filename, int32 $nLines )
drforr/perl6-readline
…/Readline.pm :1011:
my $rv = history_truncate_file( $filename, $nLines );
drforr/perl6-readline
…/02-base.t :283:
#### lives-ok { my $rv = $r.history-truncate-file( $filename, $nLines ) },
drforr/perl6-readline
…/02-base.t :284:
#### 'history-truncate-file lives';
finanalyst/pod-render
…/Processed.pm6 :126:
DateTime.new($!when-rendered).truncated-to('seconds').Str;
finanalyst/pod-render
…/Processed.pm6 :192:
:time( DateTime.new($!when-rendered).utc.truncated-to('seconds').Str )
finanalyst/pod-render
…/Render.pm6 :651:
"$search-dir/search.js".IO.spurt: $!engine.rendition('search-js', { :@items, :generator( "$?FILE:$?LINE on " ~ now.DateTime.truncated-to('minutes') ) })
finanalyst/pod-render
…/Render.pm6 :685:
my %params = :title(%index<title>), :body( '' ), :path( ~$fn ), :type( %index<type> // 'normal' ), :time( now.DateTime.truncated-to('seconds') );
finanalyst/pod-render
…/Render.pm6 :790:
@rv.append( %!rendering-db.map({ "{ .key }\twas rendered on { .value<rendered>.DateTime.truncated-to('seconds') }" }))
gabrielash/perl6-zmq
…/README.md :151:
-truncate truncates at a maximum byte length
gabrielash/perl6-zmq
…/README.md :153:
receive(:truncate!, :async, :bin, :enc )
gabrielash/perl6-zmq
…/Socket.pm :64:
-truncate truncatesat a maximum byte length
gabrielash/perl6-zmq
…/Socket.pm :66:
receive(-truncate!, -async, -bin)
gabrielash/perl6-zmq
…/Socket.pm :358:
multi method receive(:$truncate! where uint-bool($truncate)
gabrielash/perl6-zmq
…/Socket.pm :361:
this method uses the vanilla recv of zmq, which truncates messages
gabrielash/perl6-zmq
…/Socket.pm :365:
my $max-recv-bytes = ($truncate.WHAT === Bool) ?? $!max-recv-bytes !! $truncate;
gabrielash/perl6-zmq
…/Socket.pm :374:
say "message truncated : $result bytes sent 4096 received !" if $result > $max-recv-bytes;
gabrielash/perl6-zmq
…/Socket.pm :391:
my $r = self.receive(:truncate($max-recv-number), :$async);
lestrrat/p6-Apache-LogFormat
…/Compiler.pm6 :55:
T => q|($reqtime.defined ?? $reqtime.Int.truncate * 1_000_000 !! '-')|,
p6-pdf/Base64-Native-p6
…/base64.t :29:
is base64-encode($text, $trunc-out).decode, $base64.substr(0,10), "truncated encoding";
p6-pdf/Base64-Native-p6
…/base64.t :44:
is base64-decode($base64, $trunc-out).decode, $text.substr(0,10), "truncated decoding";
p6-pdf/PDF-Grammar-p6
…/Function.pm :32:
|idiv|ln|log|mod|mul|neg|round|sin|sqrt|sub|truncate]
perl6/DBIish
…/27-mysql-datetime.t :40:
$now .= truncated-to('second') unless $subsec;
perl6/doc
…/101-basics.pod6 :334:
Note that C<say> will truncate certain data structures by calling the C<.gist>
perl6/doc
…/5to6-perlfunc.pod6 :843:
There is a C<truncate> function in Perl 6 (also usable as a method) that
perl6/doc
…/5to6-perlfunc.pod6 :846:
the C<.Int> method on the number. C<3.9.Int; # 3> and C<3.9.truncate>
perl6/doc
…/5to6-perlfunc.pod6 :2068:
=head2 truncate
perl6/doc
…/5to6-perlfunc.pod6 :2070:
=item truncate FILEHANDLE, LENGTH
perl6/doc
…/5to6-perlfunc.pod6 :2072:
=item truncate EXPR, LENGTH
perl6/doc
…/subscripts.pod6 :221:
=item a lazy Iterable, that L<truncates|#Truncating slices> in [ ]
perl6/doc
…/subscripts.pod6 :295:
When accessing via a lazy subscript, the resulting slice will be truncated.
perl6/doc
…/Complex.pod6 :125:
=head2 method truncate
perl6/doc
…/Complex.pod6 :129:
method truncate(Complex:D: --> Complex:D)
perl6/doc
…/Complex.pod6 :132:
number, using L<Real.truncate|/type/Real#method_truncate>, and returns the result as a new C<Complex>.
perl6/doc
…/Complex.pod6 :134:
say (1.2-3.8i).truncate; # OUTPUT: «1-3i␤»
perl6/doc
…/Cool.pod6 :77:
truncate Numeric
perl6/doc
…/Cool.pod6 :662:
=head2 routine truncate
perl6/doc
…/Cool.pod6 :666:
multi sub truncate(Numeric(Cool))
perl6/doc
…/Cool.pod6 :667:
multi method truncate()
perl6/doc
…/Cool.pod6 :672:
say 1.2.truncate; # OUTPUT: «1␤»
perl6/doc
…/Cool.pod6 :673:
say truncate -1.2; # OUTPUT: «-1␤»
perl6/doc
…/Date.pod6 :131:
=head2 method truncated-to
perl6/doc
…/Date.pod6 :135:
method truncated-to(Date:D: Cool $unit)
perl6/doc
…/Date.pod6 :137:
Returns a C<Date> truncated to the first day of its year, month or week.
perl6/doc
…/Date.pod6 :141:
say $c.truncated-to('year'); # OUTPUT: «2012-01-01␤»
perl6/doc
…/Date.pod6 :142:
say $c.truncated-to('month'); # OUTPUT: «2012-12-01␤»
perl6/doc
…/Date.pod6 :143:
say $c.truncated-to('week'); # OUTPUT: «2012-12-24␤», because it's Monday already
perl6/doc
…/DateTime.pod6 :32:
say $dt.truncated-to('hour'); # OUTPUT: «2015-11-21T16:00:00Z␤»
perl6/doc
…/DateTime.pod6 :323:
=head2 method truncated-to
perl6/doc
…/DateTime.pod6 :327:
method truncated-to(DateTime:D: Cool $unit)
perl6/doc
…/DateTime.pod6 :330:
unit truncated to the smallest possible value.
perl6/doc
…/DateTime.pod6 :333:
say $d.truncated-to('second'); # OUTPUT: «2012-02-29T12:34:56Z␤»
perl6/doc
…/DateTime.pod6 :334:
say $d.truncated-to('minute'); # OUTPUT: «2012-02-29T12:34:00Z␤»
perl6/doc
…/DateTime.pod6 :335:
say $d.truncated-to('hour'); # OUTPUT: «2012-02-29T12:00:00Z␤»
perl6/doc
…/DateTime.pod6 :336:
say $d.truncated-to('day'); # OUTPUT: «2012-02-29T00:00:00Z␤»
perl6/doc
…/DateTime.pod6 :337:
say $d.truncated-to('month'); # OUTPUT: «2012-02-01T00:00:00Z␤»
perl6/doc
…/DateTime.pod6 :338:
say $d.truncated-to('year'); # OUTPUT: «2012-01-01T00:00:00Z␤»
perl6/doc
…/DateTime.pod6 :340:
DateTimes with fractional seconds can be truncated to whole seconds with
perl6/doc
…/DateTime.pod6 :341:
C<.truncated-to('second')>.
perl6/doc
…/Handle.pod6 :34:
:$create, :$append, :$truncate, :$exclusive,
perl6/doc
…/Handle.pod6 :60:
:w same as specifying :mode<wo>, :create, :truncate
perl6/doc
…/Handle.pod6 :73:
C<.open(:mode<wo> :append :truncate)> might work or might cause the Universe
perl6/doc
…/Handle.pod6 :85:
:truncate means the file will be emptied, if it exists
perl6/doc
…/Method.pod6 :65:
C<lastcall> was called first, the dispatch chain was truncated and
perl6/doc
…/Mix.pod6 :133:
are negative or truncate to zero.
perl6/doc
…/Mix.pod6 :144:
the weights are negative or truncate to zero.
perl6/doc
…/MixHash.pod6 :136:
original C<MixHash>, if any of the weights are negative or truncate to zero.
perl6/doc
…/MixHash.pod6 :147:
original C<MixHash>, if any of the weights are negative or truncate to zero.
perl6/doc
…/Mu.pod6 :153:
by humans. As such lists will be truncated at 100 elements. Use C<.perl> to get
perl6/doc
…/Mu.pod6 :159:
more specific that may truncate output.
perl6/doc
…/Numeric.pod6 :43:
calling C<truncate> on that C<Real> to get an C<Int>. Fail with
perl6/doc
…/Real.pod6 :126:
=head2 method truncate
perl6/doc
…/Real.pod6 :128:
method truncate(Real:D --> Int:D)
perl6/doc
…/Str.pod6 :778:
sprintf "<%2s>", "long"; # RESULT: «<long>␤» (does not truncate)
perl6/doc
…/Str.pod6 :833:
For string conversions, specifying a precision truncates the string to
perl6/doc
…/Str.pod6 :836:
sprintf '<%.5s>', "truncated"; # RESULT: «<trunc>␤»
perl6/doc
…/Str.pod6 :837:
sprintf '<%10.5s>', "truncated"; # RESULT: «< trunc>␤»
perl6/doc
…/atomicint.pod6 :61:
silently truncated. The C<atomic-assign> routine ensures that any required
perl6/doc
…/atomicint.pod6 :125:
overflows C<atomicint> then it will be silently truncated before the addition
perl6/doc
…/atomicint.pod6 :140:
otherwise overflows C<atomicint> then it will be silently truncated before the
perl6/doc
…/atomicint.pod6 :197:
will be silently truncated to this size.
perl6/doc
…/atomicint.pod6 :225:
silently truncated. The C<⚛=> operator ensures that any required barriers are
perl6/doc
…/atomicint.pod6 :300:
C<atomicint> then it will be silently truncated before the addition is
perl6/doc
…/atomicint.pod6 :315:
overflows C<atomicint> then it will be silently truncated before the
perl6/doc
…/Htmlify.pm6 :92:
$footer.subst-mutate(/DATETIME/, ~DateTime.now.utc.truncated-to('seconds'));
perl6/whateverable
…/Processing.pm6 :103:
grumble ‘Refusing to handle truncated gist’ if %data<truncated>;
perl6/whateverable
…/Processing.pm6 :121:
if .<truncated> {
perl6/whateverable
…/Processing.pm6 :123:
grumble ‘Can't handle truncated files yet’; # TODO?
perl6/whateverable
…/Notable.p6 :40:
sub timestampish { DateTime.now(:0timezone).truncated-to: ‘seconds’ }
perl6/whateverable
…/Reportable.p6 :33:
my $next-date = now.DateTime.truncated-to: ‘day’;
perl6/whateverable
…/Reportable.p6 :109:
my $datetime = now.DateTime.truncated-to: ‘minute’;
sergot/http-useragent
…/010-headers.t :64:
is ~$h.field('Custom-Auth-Header'), 'W/7fhEfhkjafeHF', 'got the non truncated value';
skids/perl6sum
…/CRC.pm6 :37:
most significant term's coefficient truncated. The most significant
skids/perl6sum
…/MDPad.pm6 :99:
or simply truncate higher bits off the length counter when storing it
spebern/Parser-FreeXL-Native
…/Doxyfile.in :1638:
# becomes larger than this value, doxygen will truncate the graph, which is
spebern/Parser-FreeXL-Native
…/configure :6302:
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
spebern/Parser-FreeXL-Native
…/configure :6303:
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
spebern/Parser-FreeXL-Native
…/configure :19183:
# A sed program that does not truncate output.
spebern/Parser-FreeXL-Native
…/libtool.m4 :7547:
# Check for a fully-functional sed program, that truncates
spebern/Parser-FreeXL-Native
…/libtool.m4 :7553:
_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
spebern/Parser-FreeXL-Native
…/libtool.m4 :7567:
[AC_MSG_CHECKING([for a sed that does not truncate output])
spebern/Parser-FreeXL-Native
…/libtool.m4 :7588:
# along with /bin/sed that truncates output.
spitsh/spitsh
…/reserved.txt :659:
truncate
sylvarant/Avro
…/Auxiliary.pm :262:
my Int $nat = $neutr.truncate;
sylvarant/Avro
…/Auxiliary.pm :273:
my FatRat $comma = $neutr - ($neutr.truncate).FatRat;
ufobat/p6-time-crontab
…/README.md :14:
if $tc.match(DateTime.now, :truncate(True)) { ..... }
ufobat/p6-time-crontab
…/README.md :21:
* `match(DateTime $datetime, Bool :$truncate = False) returns Bool:D`
ufobat/p6-time-crontab
…/README.md :23:
Matches the $datetime against the crontab specification. Since the crontab's smallest granulation is minute wise there is a option to $truncate the $datetime to minutes when it comes to consideration if the $datetime matches the $crontab.
ufobat/p6-time-crontab
…/Crontab.pm6 :28:
multi method match(DateTime $datetime, Bool :$truncate = False) {
ufobat/p6-time-crontab
…/Crontab.pm6 :66:
if $truncate {
ufobat/p6-time-crontab
…/Crontab.pm6 :70:
if $datetime.truncated-to('minute') == $datetime {
ufobat/p6-time-crontab
…/crontab.t :19:
my $without-sec = $with-sec.truncated-to('minute');
zoffixznet/perl6-Twitter
…/API.pm6 :157:
truncated => Bool::False.Bool,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment