Results for: "partition"

No documentation available

Parses the received response and separates the reply code and the human readable reply text

Raises an exception if any arguments given.

Raises an exception if argument is not present.

Parses argument if given, or uses default value.

Returns nil if argument is not present or begins with ‘-’.

Return the ActivationRequest that contained the dependency that we were activated for.

The version of this activation request’s specification

The version of the gem for this specification.

Sets dmp1, dmq1, iqmp for the RSA instance. They are calculated by d mod (p - 1), d mod (q - 1) and q^(-1) mod p respectively.

Gets the initial Negotiate token. Returns it as a base64 encoded string suitable for use in HTTP. Can be easily decoded, however.

No documentation available

Oldest version we support downgrading to. This is the version that originally ships with the first patch version of each ruby, because we never test each ruby against older rubygems, so we can’t really guarantee it works. Version list can be checked here: stdgems.org/rubygems

No documentation available

Sets up the resolution process @return [void]

No documentation available

Initializes this object from orig if it can be duplicated/cloned and returns it.

No documentation available
No documentation available

Initializes a copy of a {DependencyGraph}, ensuring that all {#vertices} are properly copied. @param [DependencyGraph] other the graph to copy.

No documentation available

Re-composes a prime factorization and returns the product.

For the decomposition:

[[p_1, e_1], [p_2, e_2], ..., [p_n, e_n]],

it returns:

p_1**e_1 * p_2**e_2 * ... * p_n**e_n.

Parameters

pd

Array of pairs of integers. Each pair consists of a prime number – a prime factor – and a natural number – its exponent (multiplicity).

Example

Prime.int_from_prime_division([[3, 2], [5, 1]])  #=> 45
3**2 * 5                                         #=> 45

Constant time memory comparison for fixed length strings, such as results of HMAC calculations.

Returns true if the strings are identical, false if they are of the same length but not identical. If the length is different, ArgumentError is raised.

The index to insert activated gem paths into the $LOAD_PATH. The activated gem’s paths are inserted before site lib directory by default.

No documentation available
Search took: 5ms  ·  Total Results: 2543