This file contains 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.File; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; | |
import java.io.PrintWriter; | |
import java.io.StringWriter; | |
import java.net.HttpURLConnection; | |
import java.net.URL; |
This file contains 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.util.ArrayList; | |
import java.util.List; | |
public class ListRangeTests { | |
public final static int COUNT = 100000; | |
public final static int REPEAT = 20; | |
public static void main(String[] args) { |
This file contains 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.lang.reflect.Field; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.apache.commons.lang.NullArgumentException; | |
import com.google.common.collect.ImmutableMap; | |
import net.minecraft.server.Block; | |
/** |
This file contains 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
Imports System.Net.Sockets | |
Public Class ScannerForm | |
' Used to carry information from our fibers | |
Public Class PortState | |
Public Property PortNumber As Integer | |
Public Property IsOpen As Boolean | |
Public Sub New(open As Boolean, port As Integer) |
This file contains 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.util.concurrent.TimeUnit; | |
import com.comphenix.protocol.injector.StructureCache; | |
import com.comphenix.protocol.reflect.FieldAccessException; | |
import com.comphenix.protocol.reflect.StructureModifier; | |
import com.google.common.base.Stopwatch; | |
import net.minecraft.server.*; | |
class Test { |
This file contains 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.util.Map; | |
import java.util.concurrent.ConcurrentHashMap; | |
import org.apache.commons.lang.NullArgumentException; | |
import org.bukkit.Location; | |
import org.bukkit.entity.HumanEntity; | |
import org.bukkit.entity.Player; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.EventPriority; | |
import org.bukkit.event.Listener; |
This file contains 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 com.comphenix.example; | |
import java.util.ArrayList; | |
import java.util.List; | |
import net.minecraft.server.EntityPlayer; | |
import net.minecraft.server.EntityTracker; | |
import net.minecraft.server.EntityTrackerEntry; | |
import net.minecraft.server.WorldServer; |
This file contains 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
// Released under the BSD License. | |
// Kristian S. Stangeland 2013. | |
package com.comphenix.example; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.bukkit.Server; | |
import org.bukkit.entity.Player; |
This file contains 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 com.comphenix.example; | |
import java.util.HashMap; | |
import java.util.Map; | |
import net.minecraft.server.Packet55BlockBreakAnimation; | |
import org.bukkit.Server; | |
import org.bukkit.block.Block; | |
import org.bukkit.craftbukkit.CraftServer; |
This file contains 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 com.comphenix.testing; | |
import java.util.concurrent.TimeUnit; | |
import com.comphenix.protocol.injector.StructureCache; | |
import com.comphenix.protocol.reflect.FieldAccessException; | |
import com.comphenix.protocol.reflect.StructureModifier; | |
import com.comphenix.protocol.reflect.compiler.BackgroundCompiler; | |
import com.google.common.base.Stopwatch; |
OlderNewer