Skip to content

Commit b1d6e63

Browse files
committed
Change package name back to org.fastfilter, and groupId to io.github.fastfilter
1 parent a212d1a commit b1d6e63

File tree

69 files changed

+193
-203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+193
-203
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ If you have enough disk space, you can extract the hash file (~25 GB),
4646
and convert it as follows:
4747

4848
mvn clean install
49-
cat hash.txt | java -cp target/fastfilter*.jar com.github.fastfilter.tools.BuildFilterFile filter.bin
49+
cat hash.txt | java -cp target/fastfilter*.jar org.fastfilter.tools.BuildFilterFile filter.bin
5050

5151
Converting takes about 2-3 minutes (depending on hardware).
5252
To save disk space, you can extract the file on the fly (Mac OS X using Keka):
5353

5454
/Applications/Keka.app/Contents/Resources/keka7z e -so
55-
pass.7z | java -cp target/fastfilter*.jar com.github.fastfilter.tools.BuildFilterFile filter.bin
55+
pass.7z | java -cp target/fastfilter*.jar org.fastfilter.tools.BuildFilterFile filter.bin
5656

5757
Both will generate a file named filter.bin (~630 MB).
5858

5959
### Check Passwords
6060

61-
java -cp target/fastfilter*.jar com.github.fastfilter.tools.PasswordLookup filter.bin
61+
java -cp target/fastfilter*.jar org.fastfilter.tools.PasswordLookup filter.bin
6262

6363
Enter a password to see if it's in the list.
6464
If yes, it will (for sure) either show "Found", or "Found; common",

fastfilter/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<parent>
6-
<groupId>com.github.fastfilter</groupId>
6+
<groupId>io.github.fastfilter</groupId>
77
<artifactId>fastfilter_java</artifactId>
88
<version>1.0-SNAPSHOT</version>
99
</parent>
@@ -83,10 +83,10 @@
8383
<version>1.4.3</version>
8484
<configuration>
8585
<targetClasses>
86-
<param>com.github.fastfilter.gcs.Sort</param>
86+
<param>org.fastfilter.gcs.Sort</param>
8787
</targetClasses>
8888
<targetTests>
89-
<param>com.github.fastfilter.gcs.SortTest</param>
89+
<param>org.fastfilter.gcs.SortTest</param>
9090
</targetTests>
9191
</configuration>
9292
</plugin>

fastfilter/src/main/java/com/github/fastfilter/Filter.java renamed to fastfilter/src/main/java/org/fastfilter/Filter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.fastfilter;
1+
package org.fastfilter;
22

33
/**
44
* An approximate membership filter.

fastfilter/src/main/java/com/github/fastfilter/FilterType.java renamed to fastfilter/src/main/java/org/fastfilter/FilterType.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
package com.github.fastfilter;
1+
package org.fastfilter;
22

3-
import com.github.fastfilter.bloom.BlockedBloom;
4-
import com.github.fastfilter.bloom.Bloom;
5-
import com.github.fastfilter.bloom.count.*;
6-
import com.github.fastfilter.cuckoo.Cuckoo16;
7-
import com.github.fastfilter.cuckoo.Cuckoo8;
8-
import com.github.fastfilter.cuckoo.CuckooPlus16;
9-
import com.github.fastfilter.cuckoo.CuckooPlus8;
10-
import com.github.fastfilter.gcs.GolombCompressedSet;
11-
import com.github.fastfilter.xor.Xor16;
12-
import com.github.fastfilter.xor.Xor8;
13-
import com.github.fastfilter.xor.XorSimple;
14-
import com.github.fastfilter.xor.XorSimple2;
15-
import com.github.fastfilter.xorplus.XorPlus8;
3+
import org.fastfilter.bloom.BlockedBloom;
4+
import org.fastfilter.bloom.Bloom;
5+
import org.fastfilter.bloom.count.*;
6+
import org.fastfilter.cuckoo.Cuckoo16;
7+
import org.fastfilter.cuckoo.Cuckoo8;
8+
import org.fastfilter.cuckoo.CuckooPlus16;
9+
import org.fastfilter.cuckoo.CuckooPlus8;
10+
import org.fastfilter.gcs.GolombCompressedSet;
11+
import org.fastfilter.xor.Xor16;
12+
import org.fastfilter.xor.Xor8;
13+
import org.fastfilter.xor.XorSimple;
14+
import org.fastfilter.xor.XorSimple2;
15+
import org.fastfilter.xorplus.XorPlus8;
1616

1717
/**
1818
* The list of supported approximate membership implementations.

fastfilter/src/main/java/com/github/fastfilter/bloom/BlockedBloom.java renamed to fastfilter/src/main/java/org/fastfilter/bloom/BlockedBloom.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.github.fastfilter.bloom;
1+
package org.fastfilter.bloom;
22

3-
import com.github.fastfilter.Filter;
4-
import com.github.fastfilter.utils.Hash;
3+
import org.fastfilter.Filter;
4+
import org.fastfilter.utils.Hash;
55

66
/**
77
* A special kind of blocked Bloom filter. It sets 2 to 4 (usually 4) bits in

fastfilter/src/main/java/com/github/fastfilter/bloom/Bloom.java renamed to fastfilter/src/main/java/org/fastfilter/bloom/Bloom.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.github.fastfilter.bloom;
1+
package org.fastfilter.bloom;
22

3-
import com.github.fastfilter.Filter;
4-
import com.github.fastfilter.utils.Hash;
3+
import org.fastfilter.Filter;
4+
import org.fastfilter.utils.Hash;
55

66
/**
77
* A standard Bloom filter.

fastfilter/src/main/java/com/github/fastfilter/bloom/count/CountingBloom.java renamed to fastfilter/src/main/java/org/fastfilter/bloom/count/CountingBloom.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.github.fastfilter.bloom.count;
1+
package org.fastfilter.bloom.count;
22

3-
import com.github.fastfilter.Filter;
4-
import com.github.fastfilter.utils.Hash;
3+
import org.fastfilter.Filter;
4+
import org.fastfilter.utils.Hash;
55

66
/**
77
* A standard counting Bloom filter, with 4 bits per "data bit" (entry).

fastfilter/src/main/java/com/github/fastfilter/bloom/count/Select.java renamed to fastfilter/src/main/java/org/fastfilter/bloom/count/Select.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* You should have received a copy of the GNU Lesser General Public License
1717
* along with this program; if not, see <http://www.gnu.org/licenses/>.
1818
*/
19-
package com.github.fastfilter.bloom.count;
19+
package org.fastfilter.bloom.count;
2020

2121
/**
2222
* A select implementation with guaranteed O(1) query time. This is a copy of
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.github.fastfilter.bloom.count;
1+
package org.fastfilter.bloom.count;
22

3-
import com.github.fastfilter.Filter;
4-
import com.github.fastfilter.utils.Hash;
3+
import org.fastfilter.Filter;
4+
import org.fastfilter.utils.Hash;
55

66
/**
77
* A succinct counting blocked Bloom filter. The lookup speed is the same as for
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package com.github.fastfilter.bloom.count;
1+
package org.fastfilter.bloom.count;
22

3-
import com.github.fastfilter.Filter;
4-
import com.github.fastfilter.utils.Hash;
3+
import org.fastfilter.Filter;
4+
import org.fastfilter.utils.Hash;
55

66
/**
77
* A succinct counting blocked Bloom filter. The lookup speed is the same as for

0 commit comments

Comments
 (0)