Result:
found more than 660 distributions - search limited to the first 2001 files matching your query ( run in 3.194 )


Device-Velleman-K8055-Fuse

 view release on metacpan or  search on metacpan

lib/Device/Velleman/K8055/Fuse.pm  view on Meta::CPAN

This outputs $value to the analog channel indicated by $channel.

The indicated 8-bit Digital to Analogue Converter channel is altered according to the new value.
This means that the value corresponds to a specific voltage. The value 0 corresponds to a
minimum output voltage (0 Volt) and the value 255 corresponds to a maximum output voltage (+5V).
A value of $value lying in between these extremes can be translated by the following formula :
$value / 255 * 5V.

See also SetAnalogChannel() and SetAllAnalog()

=cut

 view all matches for this distribution


Device-Velleman-K8055-libk8055

 view release on metacpan or  search on metacpan

lib/Device/Velleman/K8055/libk8055.pm  view on Meta::CPAN


This outputs $data to the analog channel indicated by $channel.
The indicated 8-bit Digital to Analogue Converter channel is altered according to the new data.
This means that the data corresponds to a specific voltage. The value 0 corresponds to a
minimum output voltage (0 Volt) and the value 255 corresponds to a maximum output voltage (+5V).
A value of $data lying in between these extremes can be translated by the following formula :
$data / 255 * 5V.

=head2 OutputAllAnalog($data1, $data2);

This outputs $data1 to the first analog channel, and $data2 to the

 view all matches for this distribution


Device-WxM2

 view release on metacpan or  search on metacpan

WxM2.pm  view on Meta::CPAN

	    (0.4275 * $temp * $v016);
    }
    return $chill;
}

# old windchill formula
sub oldWindChill {
    my $self = shift;
    my $speed = $self->{windSpeed};
    my $temp = $self->{outTemp};
    my $chill;

 view all matches for this distribution


DhMakePerl

 view release on metacpan or  search on metacpan

lib/Debian/Dependency.pm  view on Meta::CPAN

                        [^\s\]]+       # architecture name
                        (?:\s+|(?=\])) # whitespace or end
                    )+
                \]
            )?
            (?:             # "restriction formulas" (build profile) is optional
                \s*         # optional space
                <
                    (?:
                        !?             # negation is optional
                        [^\s>]+        # build profile name

 view all matches for this distribution


Dictionary-Cambridge

 view release on metacpan or  search on metacpan

example.resp  view on Meta::CPAN

            <lvl>B1</lvl>
          </info>
          <def>to give someone a set of questions, in order to measure their knowledge or ability: </def>
        </definition>
        <examp>
          <eg>Will you test me <b>on</b> the chemical formulae I've been learning?</eg>
        </examp>
      </def-block>
      <def-block>
        <definition>
          <info>

 view all matches for this distribution


Digest-MD5-Reverse

 view release on metacpan or  search on metacpan

lib/Digest/MD5/Reverse.pm  view on Meta::CPAN

    my $plaintext = reverse_md5($md5);    

=head1 DESCRIPTION

MD5 sums (see RFC 1321 - The MD5 Message-Digest Algorithm) are used as a one-way
hash of data. Due to the nature of the formula used, it is impossible to reverse
it.

This module provides functions to search several online MD5 hashes database and
return the results (or return undefined if no match found).

 view all matches for this distribution


Digest-Nilsimsa

 view release on metacpan or  search on metacpan

t/d.txt  view on Meta::CPAN

die one day Cause I'm goin and goin and goin this way Not like a roach or a
piece of toast I'm going out first class not going out coach Rock my Adidas
never rock Fila *I do not sniff the coke I only smoke sinsemilla* With my
nose I knows and with my scopes I scope What I live I write and that is
strictly rope I've got science for any occasion Postulating theorems
formulating equations Cheech wizard in a snow blizzard Eating chicken
gizzards with a girl named Lizzy Dropping science like when Galileo dropped
his orange Stay up all night go to sleep watching Dragnet Never sleep alone
because Jimmy's the magnet I'm so rope they call me Mr. Roper When
the troubles arise I'm the cool coper On the mic I score just like
the Yankees Get over on Ms. Crabtree like my main man Spankee Excuse me

 view all matches for this distribution


Dist-Zilla

 view release on metacpan or  search on metacpan

lib/Dist/Zilla/Dist/Builder.pm  view on Meta::CPAN

#pod already been built, an exception will be thrown.
#pod
#pod =method build
#pod
#pod This method just calls C<build_in> with no arguments.  It gets you the default
#pod behavior without the weird-looking formulation of C<build_in> with no object
#pod for the preposition!
#pod
#pod =cut

sub build { $_[0]->build_in }

lib/Dist/Zilla/Dist/Builder.pm  view on Meta::CPAN

#pod C<$root> (or the default root, if no root is given), no exception is raised.
#pod
#pod =method ensure_built
#pod
#pod This method just calls C<ensure_built_in> with no arguments.  It gets you the
#pod default behavior without the weird-looking formulation of C<ensure_built_in>
#pod with no object for the preposition!
#pod
#pod =cut

sub ensure_built {

lib/Dist/Zilla/Dist/Builder.pm  view on Meta::CPAN

already been built, an exception will be thrown.

=head2 build

This method just calls C<build_in> with no arguments.  It gets you the default
behavior without the weird-looking formulation of C<build_in> with no object
for the preposition!

=head2 ensure_built_in

  $zilla->ensure_built_in($root);

lib/Dist/Zilla/Dist/Builder.pm  view on Meta::CPAN

C<$root> (or the default root, if no root is given), no exception is raised.

=head2 ensure_built

This method just calls C<ensure_built_in> with no arguments.  It gets you the
default behavior without the weird-looking formulation of C<ensure_built_in>
with no object for the preposition!

=head2 dist_basename

  my $basename = $zilla->dist_basename;

 view all matches for this distribution


Do

 view release on metacpan or  search on metacpan

lib/Data/Object/ClassHas.pm  view on Meta::CPAN

}

sub _generate_has {
  my ($info, $orig) = @_;

  return sub { @_ = _formulate_opts($info, @_); goto $orig; };
}

sub _formulate_opts {
  my ($info, $name, %opts) = @_;

  # name-only support
  %opts = (is => 'ro', isa => 'Any') unless %opts;

  %opts = (%opts, _formulate_new($info, $name, %opts)) if $opts{new};
  %opts = (%opts, _formulate_bld($info, $name, %opts)) if $opts{bld};
  %opts = (%opts, _formulate_clr($info, $name, %opts)) if $opts{clr};
  %opts = (%opts, _formulate_crc($info, $name, %opts)) if $opts{crc};
  %opts = (%opts, _formulate_def($info, $name, %opts)) if $opts{def};
  %opts = (%opts, _formulate_hnd($info, $name, %opts)) if $opts{hnd};
  %opts = (%opts, _formulate_isa($info, $name, %opts)) if $opts{isa};
  %opts = (%opts, _formulate_lzy($info, $name, %opts)) if $opts{lzy};
  %opts = (%opts, _formulate_opt($info, $name, %opts)) if $opts{opt};
  %opts = (%opts, _formulate_pre($info, $name, %opts)) if $opts{pre};
  %opts = (%opts, _formulate_rdr($info, $name, %opts)) if $opts{rdr};
  %opts = (%opts, _formulate_req($info, $name, %opts)) if $opts{req};
  %opts = (%opts, _formulate_tgr($info, $name, %opts)) if $opts{tgr};
  %opts = (%opts, _formulate_use($info, $name, %opts)) if $opts{use};
  %opts = (%opts, _formulate_wkr($info, $name, %opts)) if $opts{wkr};
  %opts = (%opts, _formulate_wrt($info, $name, %opts)) if $opts{wrt};

  $name = "+$name" if $opts{mod} || $opts{modify};

  return ($name, %opts);
}

sub _formulate_new {
  my ($info, $name, %opts) = @_;

  if (delete $opts{new}) {
    $opts{builder} = "new_${name}";
    $opts{lazy} = 1;
  }

  return (%opts);
}

sub _formulate_bld {
  my ($info, $name, %opts) = @_;

  $opts{builder} = delete $opts{bld};

  return (%opts);
}

sub _formulate_clr {
  my ($info, $name, %opts) = @_;

  $opts{clearer} = delete $opts{clr};

  return (%opts);
}

sub _formulate_crc {
  my ($info, $name, %opts) = @_;

  $opts{coerce} = delete $opts{crc};

  return (%opts);
}

sub _formulate_def {
  my ($info, $name, %opts) = @_;

  $opts{default} = delete $opts{def};

  return (%opts);
}

sub _formulate_hnd {
  my ($info, $name, %opts) = @_;

  $opts{handles} = delete $opts{hnd};

  return (%opts);
}

sub _formulate_isa {
  my ($info, $name, %opts) = @_;

  return (%opts) if ref($opts{isa});

  $opts{isa} = Data::Object::Utility::Reify($info->[1], $opts{isa});

  return (%opts);
}

sub _formulate_lzy {
  my ($info, $name, %opts) = @_;

  $opts{lazy} = delete $opts{lzy};

  return (%opts);
}

sub _formulate_opt {
  my ($info, $name, %opts) = @_;

  delete $opts{opt};

  $opts{required} = 0;

  return (%opts);
}

sub _formulate_pre {
  my ($info, $name, %opts) = @_;

  $opts{predicate} = delete $opts{pre};

  return (%opts);
}

sub _formulate_rdr {
  my ($info, $name, %opts) = @_;

  $opts{reader} = delete $opts{rdr};

  return (%opts);
}

sub _formulate_req {
  my ($info, $name, %opts) = @_;

  delete $opts{req};

  $opts{required} = 1;

  return (%opts);
}

sub _formulate_tgr {
  my ($info, $name, %opts) = @_;

  $opts{trigger} = delete $opts{tgr};

  return (%opts);
}

sub _formulate_use {
  my ($info, $name, %opts) = @_;

  if (my $use = delete $opts{use}) {
    $opts{builder} = _formulate_use_builder($info, $name, @$use);
    $opts{lazy} = 1;
  }

  return (%opts);
}

sub _formulate_use_builder {
  my ($info, $name, $sub, @args) = @_;

  return sub {
    my ($self) = @_;

lib/Data/Object/ClassHas.pm  view on Meta::CPAN


    goto $point;
  }
}

sub _formulate_wkr {
  my ($info, $name, %opts) = @_;

  $opts{weak_ref} = delete $opts{wkr};

  return (%opts);
}

sub _formulate_wrt {
  my ($info, $name, %opts) = @_;

  $opts{writer} = delete $opts{wrt};

  return (%opts);

 view all matches for this distribution


Docker-Client

 view release on metacpan or  search on metacpan

share/specs/v1.39.yaml  view on Meta::CPAN

        If either `precpu_stats.online_cpus` or `cpu_stats.online_cpus` is
        nil then for compatibility with older daemons the length of the
        corresponding `cpu_usage.percpu_usage` array should be used.

        To calculate the values shown by the `stats` command of the docker cli tool
        the following formulas can be used:
        * used_memory = `memory_stats.usage - memory_stats.stats.cache`
        * available_memory = `memory_stats.limit`
        * Memory usage % = `(used_memory / available_memory) * 100.0`
        * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
        * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`

 view all matches for this distribution


Docker-Names-Random

 view release on metacpan or  search on metacpan

lib/Docker/Names/Random.pm  view on Meta::CPAN

  link: https://en.wikipedia.org/wiki/Vint_Cerf
  surname: cerf
- explanation: Subrahmanyan Chandrasekhar - Astrophysicist known for his mathematical theory on different stages and evolution in structures of the stars. He has won nobel prize for physics -
  link: https://en.wikipedia.org/wiki/Subrahmanyan_Chandrasekhar
  surname: chandrasekhar
- explanation: 'Sergey Alexeyevich Chaplygin (Russian: Серге́й Алексе́евич Чаплы́гин; April 5, 1869 – October 8, 1942) was a Russian and Soviet physicist, mathematician, and mechanical engineer. He is known for mathematic...
  link: https://en.wikipedia.org/wiki/Sergey_Chaplygin
  surname: chaplygin
- explanation: Émilie du Châtelet - French natural philosopher, mathematician, physicist, and author during the early 1730s, known for her translation of and commentary on Isaac Newton's book Principia containing basic laws of physics.
  link: https://en.wikipedia.org/wiki/%C3%89milie_du_Ch%C3%A2telet
  surname: chatelet

lib/Docker/Names/Random.pm  view on Meta::CPAN

  link: https://en.wikipedia.org/wiki/Lynn_Margulis
  surname: margulis
- explanation: Yukihiro Matsumoto - Japanese computer scientist and software programmer best known as the chief designer of the Ruby programming language.
  link: https://en.wikipedia.org/wiki/Yukihiro_Matsumoto
  surname: matsumoto
- explanation: James Clerk Maxwell - Scottish physicist, best known for his formulation of electromagnetic theory.
  link: https://en.wikipedia.org/wiki/James_Clerk_Maxwell
  surname: maxwell
- explanation: Maria Mayer - American theoretical physicist and Nobel laureate in Physics for proposing the nuclear shell model of the atomic nucleus -
  link: https://en.wikipedia.org/wiki/Maria_Mayer
  surname: mayer

lib/Docker/Names/Random.pm  view on Meta::CPAN

  link: https://en.wikipedia.org/wiki/Kathleen_Antonelli
  surname: mcnulty
- explanation: Gregor Johann Mendel - Czech scientist and founder of genetics.
  link: https://en.wikipedia.org/wiki/Gregor_Mendel
  surname: mendel
- explanation: Dmitri Mendeleev - a chemist and inventor. He formulated the Periodic Law, created a farsighted version of the periodic table of elements, and used it to correct the properties of some already discovered elements and also to predict th...
  link: https://en.wikipedia.org/wiki/Dmitri_Mendeleev
  surname: mendeleev
- explanation: Lise Meitner - Austrian/Swedish physicist who was involved in the discovery of nuclear fission. The element meitnerium is named after her -
  link: https://en.wikipedia.org/wiki/Lise_Meitner
  surname: meitner

lib/Docker/Names/Random.pm  view on Meta::CPAN

  link: https://en.wikipedia.org/wiki/Vera_Rubin
  surname: rubin
- explanation: Meghnad Saha - Indian astrophysicist best known for his development of the Saha equation, used to describe chemical and physical conditions in stars -
  link: https://en.wikipedia.org/wiki/Meghnad_Saha
  surname: saha
- explanation: Jean E. Sammet developed FORMAC, the first widely used computer language for symbolic manipulation of mathematical formulas.
  link: https://en.wikipedia.org/wiki/Jean_E._Sammet
  surname: sammet
- explanation: Mildred Sanderson - American mathematician best known for Sanderson's theorem concerning modular invariants.
  link: https://en.wikipedia.org/wiki/Mildred_Sanderson
  surname: sanderson

lib/Docker/Names/Random.pm  view on Meta::CPAN

  link: https://en.wikipedia.org/wiki/Tu_Youyou
  surname: tu
- explanation: Alan Turing was a founding father of computer science.
  link: https://en.wikipedia.org/wiki/Alan_Turing.
  surname: turing
- explanation: Varahamihira - Ancient Indian mathematician who discovered trigonometric formulae during 505-587 CE -
  link: https://en.wikipedia.org/wiki/Var%C4%81hamihira#Contributions
  surname: varahamihira
- explanation: Dorothy Vaughan was a NASA mathematician and computer programmer on the SCOUT launch vehicle program that put America's first satellites into space -
  link: https://en.wikipedia.org/wiki/Dorothy_Vaughan
  surname: vaughan

 view all matches for this distribution


Docs-US_DOD-STD2167A

 view release on metacpan or  search on metacpan

lib/Docs/US_DOD/STD490A.pm  view on Meta::CPAN

Footnotes
to a table or figure shall be placed below the table or figure.
The footnotes may contain mandatory information that cannot be
presented as data within a table. Footnotes shall be numbered
separately for each table. Where numerals will lead to ambiguity
(for example in connection with a chemical formula), superior
letters, asterisks, daggers, and other symbols may be used..

=head2 3.2.12 Contractual and administrative requirements.

A specification shall not include contractual requirements which

lib/Docs/US_DOD/STD490A.pm  view on Meta::CPAN

The essential requirements
and descriptions that apply to performance, design, reliability,
personnel subsystems, etc. of the configuration item, material
or process covered by the specification shall be stated in this
section. These requirements and descriptions shall define as applicable,
the character or quality of the materials, formula, design, construction,
performance, reliability, transportability, and product characteristics,
chemical, electrical, and physical requirements, dimensions, weight,
color, nameplates, product marking, workmanship, etc. This section
is intended to indicate, as definitively as practicable, the minimum
requirements that a configuration item, material or process must

lib/Docs/US_DOD/STD490A.pm  view on Meta::CPAN

a general nature should be first, followed by specific requirements
for the material. Definitive documents shall be referenced for
the material when such documents cover materials of the required
quality.

=head2 4.3.3.1.1 Toxic products and formulations.

Specifications
requiring or permitting toxic products and formulations shall
demand compliance with the requirements of the applicable regulations
promulgated by the appropriate Federal regulatory agency or the
official compendia governing such products and formulations.

=head2 4.3.3.2. Electromagnetic radiation.

Where applicable,
requirements pertaining to electromagnetic radiation shall be

lib/Docs/US_DOD/STD490A.pm  view on Meta::CPAN

=head2 4.4. Section 4 - QUALITY ASSURANCE PROVISIONS.


For software, this section shall be titled Qualification Requirements
and shall specify the qualification requirements, including methods,
levels of testing, tools, facilities, test formulas, algorithms,
and acceptance tolerance limits required to show that the requirements
stated in Section 3 and 5 have been met. The Software Requirements
and Interface Requirements Specification Data Item Descriptions

contain further information for specifying qualification requirements

lib/Docs/US_DOD/STD490A.pm  view on Meta::CPAN

requirements governing use of materials, parts, and processes
to be used in the design of the prime item. It shall also contain
specifications as necessary for particular materials and processes
to be utilized in the design of the prime item. Special attention
shall be directed to prevent unnecessary use of strategic or critical
materials, or toxic products and formulation. A strategic and
critical materials list can be obtained from the contracting agency.
In addition, requirements for the use of standard and commercial
parts for which qualified products lists have been established
shall be specified in this paragraph.

 view all matches for this distribution


Domain-PublicSuffix

 view release on metacpan or  search on metacpan

lib/Domain/PublicSuffix/Default.pm  view on Meta::CPAN

mil.pe
org.pe
com.pe
net.pe

// pf : http://www.gobin.info/domainname/formulaire-pf.pdf
pf
com.pf
org.pf
edu.pf

 view all matches for this distribution


Doxygen-Filter-Perl

 view release on metacpan or  search on metacpan

Doxyfile  view on Meta::CPAN

# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
# cache is used to resolve symbols given their name and scope. Since this can be
# an expensive process and often the same symbol appears multiple times in the
# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
# doxygen will become slower. If the cache is too large, memory is wasted. The
# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
# symbols. At the end of a run doxygen will report the cache usage and suggest
# the optimal cache size from a speed point of view.
# Minimum value: 0, maximum value: 9, default value: 0.

Doxyfile  view on Meta::CPAN

# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.

EXT_LINKS_IN_WINDOW    = NO

# Use this tag to change the font size of LaTeX formulas included as images in
# the HTML documentation. When you change the font size after a successful
# doxygen run you need to manually remove any form_*.png images from the HTML
# output directory to force them to be regenerated.
# Minimum value: 8, maximum value: 50, default value: 10.
# This tag requires that the tag GENERATE_HTML is set to YES.

FORMULA_FONTSIZE       = 10

# Use the FORMULA_TRANPARENT tag to determine whether or not the images
# generated for formulas are transparent PNGs. Transparent PNGs are not
# supported properly for IE 6.0, but are supported on all modern browsers.
#
# Note that when changing this option you need to delete any form_*.png files in
# the HTML output directory before the changes have effect.
# The default value is: YES.
# This tag requires that the tag GENERATE_HTML is set to YES.

FORMULA_TRANSPARENT    = YES

# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
# http://www.mathjax.org) which uses client side Javascript for the rendering
# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
# installed or if you want to formulas look prettier in the HTML output. When
# enabled you may also need to install MathJax separately and configure the path
# to it using the MATHJAX_RELPATH option.
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.

Doxyfile  view on Meta::CPAN


# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
# invoked.
#
# Note that when enabling USE_PDFLATEX this option is only used for generating
# bitmaps for formulas in the HTML output, but not in the Makefile that is
# written to the output directory.
# The default file is: latex.
# This tag requires that the tag GENERATE_LATEX is set to YES.

LATEX_CMD_NAME         = latex

Doxyfile  view on Meta::CPAN

USE_PDFLATEX           = YES

# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
# command to the generated LaTeX files. This will instruct LaTeX to keep running
# if errors occur, instead of asking the user for help. This option is also used
# when generating formulas in HTML.
# The default value is: NO.
# This tag requires that the tag GENERATE_LATEX is set to YES.

LATEX_BATCHMODE        = NO

 view all matches for this distribution


Doxygen-Lua

 view release on metacpan or  search on metacpan

example/Doxyfile  view on Meta::CPAN

# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will rougly double the
# memory usage. The cache size is given by this formula:
# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
# corresponding to a cache size of 2^16 = 65536 symbols

SYMBOL_CACHE_SIZE      = 0

example/Doxyfile  view on Meta::CPAN

# used to set the initial width (in pixels) of the frame in which the tree
# is shown.

TREEVIEW_WIDTH         = 250

# Use this tag to change the font size of Latex formulas included
# as images in the HTML documentation. The default is 10. Note that
# when you change the font size after a successful doxygen run you need
# to manually remove any form_*.png images from the HTML output directory
# to force them to be regenerated.

example/Doxyfile  view on Meta::CPAN

USE_PDFLATEX           = YES

# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep
# running if errors occur, instead of asking the user for help.
# This option is also used when generating formulas in HTML.

LATEX_BATCHMODE        = NO

# If LATEX_HIDE_INDICES is set to YES then doxygen will not
# include the index chapters (such as File Index, Compound Index, etc.)

 view all matches for this distribution


Dpkg

 view release on metacpan or  search on metacpan

lib/Dpkg/BuildProfiles.pm  view on Meta::CPAN

our @EXPORT_OK = qw(
    get_build_profiles
    set_build_profiles
    build_profile_is_invalid
    parse_build_profiles
    evaluate_restriction_formula
);

use Exporter qw(import);
use List::Util qw(any);

lib/Dpkg/BuildProfiles.pm  view on Meta::CPAN

    Dpkg::BuildEnv::set('DEB_BUILD_PROFILES', join ' ', @profiles);
}

=item $bool = build_profile_is_invalid($string)

Validate a build profile formula.

=cut

my $profile_name_regex = qr{
    !?

lib/Dpkg/BuildProfiles.pm  view on Meta::CPAN

    )
    \s*
    >
}x;

my $restriction_formula_regex = qr{
    ^
    (?:
        \s*
        $restriction_list_regex
    )*

lib/Dpkg/BuildProfiles.pm  view on Meta::CPAN

}x;


sub build_profile_is_invalid($string)
{
    return $string !~ $restriction_formula_regex;
}

=item @profiles = parse_build_profiles($string)

Parses a build profiles specification, into an array of array references.

lib/Dpkg/BuildProfiles.pm  view on Meta::CPAN

=cut

sub parse_build_profiles($string)
{
    if (build_profile_is_invalid($string)) {
        error(g_("'%s' is not a valid build profile restriction formula"),
              $string);
    }

    my @restrictions = $string =~ m{$restriction_list_regex}g;

    return map { [ split ' ' ] } @restrictions;
}

=item evaluate_restriction_formula(\@formula, \@profiles)

Evaluate whether a restriction formula of the form "<foo bar> <baz>", given as
a nested array, is true or false, given the array of enabled build profiles.

=cut

sub evaluate_restriction_formula {
    my ($formula, $profiles) = @_;

    # Restriction formulas are in disjunctive normal form:
    # (foo AND bar) OR (blub AND bla)
    foreach my $restrlist (@{$formula}) {
        my $seen_profile = 1;

        foreach my $restriction (@$restrlist) {
            next if $restriction !~ m/^(!)?(.+)/;

 view all matches for this distribution


Drought-PET-Thornthwaite

 view release on metacpan or  search on metacpan

lib/Drought/PET/Thornthwaite.pm  view on Meta::CPAN

        my $pet_gross         = 16*((10*$temperature)/($tei))**$alpha;
        return $pet_gross*($daylength/12)*($ndays/30);
    }

    else {
        # Apply the hot temperature formula described in Huang et al. 1996
        return (-415.85 + 32.25*$temperature - 0.43*($temperature**2))*($ndays/30);
    }

}

 view all matches for this distribution


EBI-FGPT-FuzzyRecogniser

 view release on metacpan or  search on metacpan

t/01-testowl.t  view on Meta::CPAN

  </owl:Class>
  <owl:Class rdf:about="http://www.ifomis.org/bfo/1.1/snap#Disposition">
    <efo:definition_editor rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >James Malone</efo:definition_editor>
    <efo:source_definition rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >A realizable entity [snap:RealizableEntity] that essentially causes a specific process or transformation in the object [snap:Object] in which it inheres, under specific circumstances and in conjunction with the laws of nature. A general formula ...
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    ></rdfs:comment>
    <efo:EFO_URI rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >http://www.ebi.ac.uk/efo/EFO_0001438</efo:EFO_URI>
    <efo:example_of_usage rdf:datatype="http://www.w3.org/2001/XMLSchema#string"

 view all matches for this distribution


ETL-Yertl

 view release on metacpan or  search on metacpan

site/theme/plugin/highlight/solarized-dark.css  view on Meta::CPAN

.hljs-built_in,
.hljs-deletion {
  color: #dc322f;
}

.hljs-formula {
  background: #073642;
}

.hljs-emphasis {
  font-style: italic;

 view all matches for this distribution


ETLp

 view release on metacpan or  search on metacpan

web/javascript/prototype.js  view on Meta::CPAN

      },
      'only-of-type':   function(m) {
        var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m);
      },
      nth: function(fragment, m) {
        var mm, formula = m[6], predicate;
        if (formula == 'even') formula = '2n+0';
        if (formula == 'odd')  formula = '2n+1';
        if (mm = formula.match(/^(\d+)$/)) // digit only
          return '[' + fragment + "= " + mm[1] + ']';
        if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
          if (mm[1] == "-") mm[1] = -1;
          var a = mm[1] ? Number(mm[1]) : 1;
          var b = mm[2] ? Number(mm[2]) : 0;
          predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " +
          "((#{fragment} - #{b}) div #{a} >= 0)]";

web/javascript/prototype.js  view on Meta::CPAN

      for (var i = 0, results = [], node; node = nodes[i]; i++)
        if (!h.previousElementSibling(node) && !h.nextElementSibling(node))
          results.push(node);
      return results;
    },
    'nth-child':        function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, formula, root);
    },
    'nth-last-child':   function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, formula, root, true);
    },
    'nth-of-type':      function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, formula, root, false, true);
    },
    'nth-last-of-type': function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, formula, root, true, true);
    },
    'first-of-type':    function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, "1", root, false, true);
    },
    'last-of-type':     function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, "1", root, true, true);
    },
    'only-of-type':     function(nodes, formula, root) {
      var p = Selector.pseudos;
      return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root);
    },

    // handles the an+b logic
    getIndices: function(a, b, total) {
      if (a == 0) return b > 0 ? [b] : [];

web/javascript/prototype.js  view on Meta::CPAN

        return memo;
      });
    },

    // handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type
    nth: function(nodes, formula, root, reverse, ofType) {
      if (nodes.length == 0) return [];
      if (formula == 'even') formula = '2n+0';
      if (formula == 'odd')  formula = '2n+1';
      var h = Selector.handlers, results = [], indexed = [], m;
      h.mark(nodes);
      for (var i = 0, node; node = nodes[i]; i++) {
        if (!node.parentNode._countedByPrototype) {
          h.index(node.parentNode, reverse, ofType);
          indexed.push(node.parentNode);
        }
      }
      if (formula.match(/^\d+$/)) { // just a number
        formula = Number(formula);
        for (var i = 0, node; node = nodes[i]; i++)
          if (node.nodeIndex == formula) results.push(node);
      } else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
        if (m[1] == "-") m[1] = -1;
        var a = m[1] ? Number(m[1]) : 1;
        var b = m[2] ? Number(m[2]) : 0;
        var indices = Selector.pseudos.getIndices(a, b, nodes.length);
        for (var i = 0, node, l = indices.length; node = nodes[i]; i++) {

 view all matches for this distribution


EdgeExpressDB

 view release on metacpan or  search on metacpan

www/edgeexpress/jscript/prototype-1.5.1.1.js  view on Meta::CPAN

      },
      'only-of-type':   function(m) {
        var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m);
      },
      nth: function(fragment, m) {
        var mm, formula = m[6], predicate;
        if (formula == 'even') formula = '2n+0';
        if (formula == 'odd')  formula = '2n+1';
        if (mm = formula.match(/^(\d+)$/)) // digit only
          return '[' + fragment + "= " + mm[1] + ']';
        if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
          if (mm[1] == "-") mm[1] = -1;
          var a = mm[1] ? Number(mm[1]) : 1;
          var b = mm[2] ? Number(mm[2]) : 0;
          predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " +
          "((#{fragment} - #{b}) div #{a} >= 0)]";

www/edgeexpress/jscript/prototype-1.5.1.1.js  view on Meta::CPAN

      for (var i = 0, results = [], node; node = nodes[i]; i++)
        if (!h.previousElementSibling(node) && !h.nextElementSibling(node))
          results.push(node);
      return results;
    },
    'nth-child':        function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, formula, root);
    },
    'nth-last-child':   function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, formula, root, true);
    },
    'nth-of-type':      function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, formula, root, false, true);
    },
    'nth-last-of-type': function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, formula, root, true, true);
    },
    'first-of-type':    function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, "1", root, false, true);
    },
    'last-of-type':     function(nodes, formula, root) {
      return Selector.pseudos.nth(nodes, "1", root, true, true);
    },
    'only-of-type':     function(nodes, formula, root) {
      var p = Selector.pseudos;
      return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root);
    },

    // handles the an+b logic
    getIndices: function(a, b, total) {
      if (a == 0) return b > 0 ? [b] : [];

www/edgeexpress/jscript/prototype-1.5.1.1.js  view on Meta::CPAN

        return memo;
      });
    },

    // handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type
    nth: function(nodes, formula, root, reverse, ofType) {
      if (nodes.length == 0) return [];
      if (formula == 'even') formula = '2n+0';
      if (formula == 'odd')  formula = '2n+1';
      var h = Selector.handlers, results = [], indexed = [], m;
      h.mark(nodes);
      for (var i = 0, node; node = nodes[i]; i++) {
        if (!node.parentNode._counted) {
          h.index(node.parentNode, reverse, ofType);
          indexed.push(node.parentNode);
        }
      }
      if (formula.match(/^\d+$/)) { // just a number
        formula = Number(formula);
        for (var i = 0, node; node = nodes[i]; i++)
          if (node.nodeIndex == formula) results.push(node);
      } else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b
        if (m[1] == "-") m[1] = -1;
        var a = m[1] ? Number(m[1]) : 1;
        var b = m[2] ? Number(m[2]) : 0;
        var indices = Selector.pseudos.getIndices(a, b, nodes.length);
        for (var i = 0, node, l = indices.length; node = nodes[i]; i++) {

 view all matches for this distribution


Embperl

 view release on metacpan or  search on metacpan

Doxyfile  view on Meta::CPAN

USE_PDFLATEX           = NO

# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. 
# command to the generated LaTeX files. This will instruct LaTeX to keep 
# running if errors occur, instead of asking the user for help. 
# This option is also used when generating formulas in HTML.

LATEX_BATCHMODE        = NO

#---------------------------------------------------------------------------
# configuration options related to the RTF output

 view all matches for this distribution


Encode-Guess-Educated

 view release on metacpan or  search on metacpan

t/data/good/10398587.utf8  view on Meta::CPAN

   extends to the conservation of a catalytically important lysine that
   stabilizes the transition state and to the use of a tyrosine as a base
   — with subtle modifications arising from differing requirements of the
   reduction chemistry.
   [33]PDF (1680 K)
   [34]Triclosan: release from transdermal adhesive formulatio...
   International Journal of Pharmaceutics

   Close
   You are entitled to access the full text of this document
   [35]Triclosan: release from transdermal adhesive formulations and in
   vitro permeation across human epidermal membranes  Original Research
   Article
   International Journal of Pharmaceutics, Volume 235, Issues 1-2, 20
   March 2002, Pages 229-236
   Paula Chedgzoy, Gareth Winckle, Charles M. Heard

t/data/good/10398587.utf8  view on Meta::CPAN

   effective alternative or adjunct to conventional regimens. Triclosan is
   widely used as an anti-bacterial agent and it has recently been
   demonstrated that this compound has anti-malarial properties. Its high
   lipophilicity makes it a potential candidate for delivery across the
   skin and this paper examines in vitro the potential for the transdermal
   delivery of triclosan from ‘drug-in-glue’ formulations. Model patches
   were prepared using DuroTak® 2287, 2516 and 2051 acrylic polymer
   adhesives loaded with 0, 30 and 50 mg per 0.785 cm^−2 triclosan and
   dissolution was measured over a 12-h period. There was no apparent
   difference between the adhesives at the 30 mg patch loading, but at 50
   mg, the trend for increased release was 2051>2516>2287. No significant

 view all matches for this distribution


Encode

 view release on metacpan or  search on metacpan

Unicode/Unicode.pm  view on Meta::CPAN

1048576 more characters.  Now we can store character ranges up to
\x{10ffff} even with 16-bit encodings.  This pair of half-character is
now called a I<surrogate pair> and UTF-16 is the name of the encoding
that embraces them.

Here is a formula to ensurrogate a Unicode character \x{10000} and
above;

  $hi = ($uni - 0x10000) / 0x400 + 0xD800;
  $lo = ($uni - 0x10000) % 0x400 + 0xDC00;

 view all matches for this distribution


Excel-Grinder

 view release on metacpan or  search on metacpan

lib/Excel/Grinder.pm  view on Meta::CPAN

as simply as possible. The use cases are (1) when you need to export data from 
your database/application for non-programmers to enjoy in their beloved Excel 
and (2) when you need to allow for batch import/update operations via 
user-provided Excel.

There are so many awesome things you can do with Excel (formatting, formulas, 
pivot tables, etc.) but this module does none of that.  This is for the basic 
read-it-in and write-it-out -- which might just fit the bill.

This module will read an Excel (XLSX) file into a three-level arrayref.  The first
level is the worksheets, second level is the rows, and third level is the cells, such that:

	$$my_data[4][2][10] --> Worksheet 5, Row 3, Column 11 (aka as Column K)
	
Form a three-level arrayref to represent worksheets/rows/cells in this way, and you can create
a plain Excel XLSX file.  No formatting or formulas.  Ready for Tableau or just to confuse
your favorite front-line manager.

I put this together because I was offended at how difficult it is just to create an Excel
file in certain non-Perl environments, and since Excel is just a part of life for so many of us,
it really should be dead-simple.

 view all matches for this distribution


Excel-PowerPivot-Utils

 view release on metacpan or  search on metacpan

lib/Excel/PowerPivot/Utils.pm  view on Meta::CPAN


  my $yaml = "";

  foreach my $query ($self->queries) {

    # get the Power Query formula and reformat it if type arguments are on a single-line
    my $formula = $query->{Formula};
    $formula =~ s[(TransformColumnTypes.*?{)({.*})}][$1 . $reformat_types->($2) . '}']eg
      if $col_name;

    # build the YAML entry for that query
    $yaml .= "\n\n$YAML_separator_line\n"
          .  "- Name        : $query->{Name}\n"
          .  "$YAML_separator_line\n"
          .  "  Description : $query->{Description}\n"
          .  "  Formula     : |-\n"
          .  $formula =~ s/^/    /gmr; # indentation of the formula code
  }

  return $yaml;
}

lib/Excel/PowerPivot/Utils.pm  view on Meta::CPAN

                            RELATIONSHIPS => ...
                            MEASURES      => ...});

  # .. or specific operations on queries, relationships or measures
  print $ppu->queries_as_YAML;
  $ppu->inject_queries ([{Name => 'New_table', Formula => $M_formula_for_new_table}]);
  
  print $ppu->relationships_as_YAML;
  $ppu->inject_relationships([ {ForeignKey  => 'Album.ArtistId',
                                PrimaryKey  => 'Artist.ArtistId',
                                Active      => 1},

lib/Excel/PowerPivot/Utils.pm  view on Meta::CPAN


the name of the query

=item Formula

the M formula (Power Query language)

=item Description

optional description text

lib/Excel/PowerPivot/Utils.pm  view on Meta::CPAN


the name of the table to which this measure is associated

=item Formula

the DAX formula

=item Description

optional description text

lib/Excel/PowerPivot/Utils.pm  view on Meta::CPAN

  $ptable->CubeFields("[Genre].[Name]")                             ->{Orientation} = xlColumnField;
  $ptable->CubeFields("[Customer].[Country]")                       ->{Orientation} = xlRowField;

=item e)

Then it is possible to write Excel formulas that extract values from the pivot cache.
So for example here is the formula that retrieves the percentage of sales for the "Classical"
genre in Austria :

  = CUBEVALUE("ThisWorkbookDataModel", 
             "[Measures].[Invoice Lines Percentage Sales]",
             "[Genre].[Name].[Classical]",

 view all matches for this distribution


Excel-Template-Element-Cell-AutoSize

 view release on metacpan or  search on metacpan

lib/Excel/Template/Element/Cell/AutoSize.pm  view on Meta::CPAN

coded. The second two have variables. The third and fourth items have another
thing that should be noted. If you have text where you want a variable in the
middle, you have to use the latter form. Variables within parameters are the
entire parameter's value.

Please see Spreadsheet::WriteExcel for what constitutes a legal formula.

=head1 AUTHOR

Tim Howell (tim@fefcful.org)
Based on Excel::Template::Element::Cell by Rob Kinyon

 view all matches for this distribution


Excel-Template-XLSX

 view release on metacpan or  search on metacpan

lib/Excel/Template/XLSX.pm  view on Meta::CPAN

sub _parse_sheet_pass2 {

=head2 _parse_sheet_pass2

Parses cell contents (first by row, then by column).  Cells can contain
inline strings, string references, direct string values, formulas,
and hyperlinks.  Each cell may also contain formatting information.  
The format is in an index to formatting for borders, shading, alignment,
font, and number formats.

=cut

lib/Excel/Template/XLSX.pm  view on Meta::CPAN

            # Formulas
            elsif ( $t eq 'n' ) {
               if ( my $form_child = $cell->first_child('f') ) {
                  my $is_array = $form_child->att('t');
                  my $ref      = $form_child->att('ref');
                  my $formula  = $form_child->text() // q[="No Formula Found"];
                  if ($is_array and $ref) {
                     $sheet->write_array_formula( $ref, "=${formula}", $format, $val );
                  }
                  else {
                     if ( my $ref = $self->{MERGED_RANGES}{$sheet_idx}{$a1} ) {
                       $sheet->merge_range_type('formula', $ref, "=${formula}", $format, $val);
                       $self->{MERGED_RANGES}{$sheet_idx}{$a1} = 0; # Flag it as used.  Handle unused ranges at end
                     } else {
                        $sheet->write_formula( $a1, "=${formula}", $format, $val );
                     }
                  }
                  next;
               }

 view all matches for this distribution


Excel-Template

 view release on metacpan or  search on metacpan

lib/Excel/Template.pm  view on Meta::CPAN


This is the actual cell in a spreadsheet.

=item * L<FORMULA|Excel::Template::Element::Formula>

This is a formula in a spreadsheet.

=item * L<RANGE|Excel::Template::Element::Range>

This is a BACKREF for a number of identically-named cells.

 view all matches for this distribution


Excel-ValueReader-XLSX

 view release on metacpan or  search on metacpan

lib/Excel/ValueReader/XLSX.pm  view on Meta::CPAN


=head2 Purpose

This module reads the contents of an Excel file in XLSX format.
Unlike other modules like L<Spreadsheet::ParseXLSX> or L<Data::XLSX::Parser>, 
this module has no support for reading formulas, formats or other Excel internal
information; all you get are plain values -- but you get them much faster ! 

Besides, this API has some features not found in concurrent parsers :

=over

 view all matches for this distribution


( run in 3.194 seconds using v1.01-cache-2.11-cpan-483215c6ad5 )