This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ps.eden.server | |
| import java.util.* | |
| import kotlin.random.Random | |
| import kotlin.system.measureNanoTime | |
| import sun.misc.Unsafe | |
| import java.lang.reflect.Field | |
| object BFS { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ps.eden.server | |
| import java.util.* | |
| import kotlin.random.Random | |
| import kotlin.system.measureNanoTime | |
| import sun.misc.Unsafe | |
| import java.lang.reflect.Field | |
| object BFS { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ps.eden.server | |
| import java.util.* | |
| import kotlin.random.Random | |
| import kotlin.system.measureNanoTime | |
| import sun.misc.Unsafe | |
| import java.lang.reflect.Field | |
| object BFS { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <domain type="kvm"> | |
| <name>Windows</name> | |
| <uuid>2be0ee16-4447-4db7-a19f-49d579a22a4e</uuid> | |
| <metadata> | |
| <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
| <libosinfo:os id="http://microsoft.com/win/10"/> | |
| </libosinfo:libosinfo> | |
| </metadata> | |
| <memory unit="KiB">12521472</memory> | |
| <currentMemory unit="KiB">12521472</currentMemory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.FileOutputStream | |
| import java.nio.file.Paths | |
| class Agent(var id1: String, val id2: String, val id: String, val email: String, val urls: MutableSet<String> = mutableSetOf()) | |
| fun main() { | |
| val fileOne = Paths.get("original.txt").toFile().readLines() | |
| val fileTwo = Paths.get("scraped.txt").toFile().readLines() | |
| val agents = mutableListOf<Agent>() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 20 points for post: 40 characters | |
| 20 points for post: 277 characters | |
| 20 points for post: 67 characters | |
| 20 points for post: 35 characters | |
| 20 points for post: 48 characters | |
| 20 points for post: 33 characters | |
| 45 points for post: 456 characters (bonus points 25) | |
| 20 points for post: 6 characters | |
| 20 points for post: 40 characters | |
| 20 points for post: 9 characters |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ps.eden.client.jagex.RuntimeException_Sub1 | |
| at ps.eden.client.jagex.Class44.generateException(Class44.java:41) | |
| at ps.eden.client.jagex.RSByteBuffer.method757(RSByteBuffer.java:288) | |
| at ps.eden.client.jagex.HDModelRenderer.method1912(HDModelRenderer.java:1427) | |
| at ps.eden.client.jagex.HDModelRenderer.method1930(HDModelRenderer.java:2932) | |
| at ps.eden.client.jagex.HDModelRenderer.animate(HDModelRenderer.java:307) | |
| at ps.eden.client.jagex.Player.animate(Player.java:346) | |
| at ps.eden.client.jagex.Class145.method2073(Class145.java:596) | |
| at ps.eden.client.jagex.Class146.method2083(Class146.java:212) | |
| at ps.eden.client.jagex.Class3_Sub22.method398(Class3_Sub22.java:144) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import it.unimi.dsi.fastutil.longs.Long2ObjectMap; | |
| import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap; | |
| import net.openhft.hashing.LongHashFunction; | |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.net.URL; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ps.eden.server | |
| import it.unimi.dsi.fastutil.objects.ObjectArrayList | |
| import it.unimi.dsi.fastutil.objects.ObjectList | |
| import java.util.concurrent.ForkJoinPool | |
| /** | |
| * Incredibly fast zero-allocation chat filter supporting: | |
| * - ABSOLUTELY NO ALLOCATIONS AFTER INITIAL LOAD! (i.e., no garbage) | |
| * - Configurable white (allowed) and black (blocked) lists. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A class which represents a list of nodes. | |
| * @author Graham Edgecombe | |
| * @author Emperor | |
| * @param <E> The type of Node. | |
| */ | |
| public class NodeList<E extends Node> implements Collection<E>, Iterable<E> { | |
| /** | |
| * Internal nodes array. |