Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
vendor /
google /
crc32 /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
BuiltinTest.php
1.28
KB
-rw-r--r--
2025-12-08 10:52
CRC32Test.php
3.79
KB
-rw-r--r--
2025-12-08 10:52
DataIterator.php
7.83
KB
-rw-r--r--
2025-12-08 10:52
GoogleTest.php
1.43
KB
-rw-r--r--
2025-12-08 10:52
Save
Rename
<?php /** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ include 'vendor/autoload.php'; use PHPUnit\Framework\TestCase; use Google\CRC32\Builtin; use Google\CRC32\CRC32; final class BuiltinTest extends TestCase { public function testUnsupported() { $this->expectException('InvalidArgumentException'); new Builtin(CRC32::KOOPMAN); } /** * @dataProvider supports */ public function testSupports($algo, $expected) { $this->assertEquals($expected, Builtin::supports($algo)); } public function supports() { return [ 'IEEE' => [CRC32::IEEE, true], 'CASTAGNOLI' => [CRC32::CASTAGNOLI, true], 'KOOPMAN' => [CRC32::KOOPMAN, false], ]; } }