Searched refs:GTBigInteger (Results 1 – 11 of 11) sorted by relevance
31 class GTBigInteger { class87 } else if ($value instanceof GTBigInteger) {118 * @param GTBigInteger $integer the other GTBigInteger121 public function comp(GTBigInteger $integer) {128 * @param GTBigInteger $integer the other GTBigInteger129 * @return GTBigInteger the sum of the two integers131 public function add(GTBigInteger $integer) {132 return new GTBigInteger(bcadd($this->value, $integer->value, 0));138 * @param GTBigInteger $integer the GTBigInteger to subtract from this one139 * @return GTBigInteger the result of the subtraction[all …]
509 $integer = new GTBigInteger(531 $integer = new GTBigInteger(545 * @return GTBigInteger 8 byte GTBigInteger from the given byte array553 return new GTBigInteger(569 $checksum = new GTBigInteger($checksum);592 $version = new GTBigInteger(OPENSSL_VERSION_NUMBER);594 $mask = new GTBigInteger(0xF);
176 * @return GTBigInteger location ID computed on this location chain190 $locationId = new GTBigInteger(0);210 $locationId = $locationId->shiftLeft(16)->bitOr(new GTBigInteger($idNational));229 $locationId = $locationId->shiftLeft(16)->bitOr(new GTBigInteger($idState));249 $locationId = $locationId->shiftLeft(16)->bitOr(new GTBigInteger($idLocal));262 $locationId = $locationId->shiftLeft(16)->bitOr(new GTBigInteger($idClient));279 * @return GTBigInteger history ID computed on this history chain283 $N = $publicationId->add(new GTBigInteger(1));295 $hashChainDirs = new GTBigInteger(0);306 $hashChainDirs = $hashChainDirs->bitOr(new GTBigInteger(1));[all …]
306 … $publicationId = new GTBigInteger($timeSignature->getPublishedData()->getPublicationIdentifier());534 * @return GTBigInteger timestamp registration time
64 $publicationId = new GTBigInteger(
200 $accuracy = new GTBigInteger(0);203 $accuracy = $accuracy->add(new GTBigInteger($this->seconds));206 $accuracy = $accuracy->mul(new GTBigInteger(1000));209 $accuracy = $accuracy->add(new GTBigInteger($this->millis));212 $accuracy = $accuracy->mul(new GTBigInteger(1000));215 $accuracy = $accuracy->add(new GTBigInteger($this->micros));218 $zero = new GTBigInteger(0);221 return "{$accuracy->div(new GTBigInteger(1000000))->getValue()}s";224 return "{$accuracy->div(new GTBigInteger(1000))->getValue()}ms";
37 * @param int|GTBigInteger $value integer or GTBigInteger instance45 $this->value = new GTBigInteger($value);47 } else if ($value instanceof GTBigInteger) {74 if ($this->value->comp(new GTBigInteger(0)) == -1) {110 $this->value = new GTBigInteger($bytes);
95 $zero = new GTBigInteger(0);97 $mask1 = new GTBigInteger(0x80);98 $mask2 = new GTBigInteger(0x7F);102 $integer = new GTBigInteger($token);152 $current = new GTBigInteger(0);158 $current = $current->bitOr(new GTBigInteger($byte & 0x7F));
99 $sequence->add(new ASN1Integer(new GTBigInteger($this->publicationIdentifier)));112 $int = new GTBigInteger($this->publicationIdentifier);
105 $sequence->add(new ASN1Integer(new GTBigInteger($this->serialNumber)));
91 …$request->setHistoryIdentifier(new GTBigInteger($timestamp->getProperty(GTTimestamp::HISTORY_ID)));170 …$request->setHistoryIdentifier(new GTBigInteger($timestamp->getProperty(GTTimestamp::HISTORY_ID)));