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.esotericsoftware.kryo; | |
import java.io.Serializable; | |
import java.lang.reflect.Array; | |
import java.util.Arrays; | |
public class PrivateInnerClassTest extends KryoTestCase { | |
{ | |
supportsCopy = true; | |
} |
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
diff --git a/src/main/scala/com/romix/scala/serialization/kryo/ScalaCollectionsSerializer.scala b/src/main/scala/com/romix/scala/serialization/kryo/ScalaCollectionsSerializer.scala | |
index 60f4d75..6f37ecf 100644 | |
--- a/src/main/scala/com/romix/scala/serialization/kryo/ScalaCollectionsSerializer.scala | |
+++ b/src/main/scala/com/romix/scala/serialization/kryo/ScalaCollectionsSerializer.scala | |
@@ -19,6 +19,7 @@ package com.romix.scala.serialization.kryo | |
import scala.collection.Traversable | |
import scala.collection.Set | |
import scala.collection.SortedSet | |
+import scala.collection.immutable.{Set=>ISet} | |
import java.lang.reflect.Constructor |
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
local string = require('string') | |
local ffi = require('ffi') | |
local JUMP_IF_A = 1 | |
local MOV_A_R = 2 | |
local MOV_R_A = 3 | |
local ADD_R_TO_A = 4 | |
local DECR_A = 5 | |
local RETURN_A = 6 |
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 org.crsh.command.CRaSHCommand | |
import org.crsh.cmdline.annotations.Usage | |
import org.crsh.cmdline.annotations.Command | |
import org.crsh.cmdline.annotations.Option | |
import java.io.* | |
import java.lang.management.* | |
class jvmstats extends CRaSHCommand { | |
@Usage("show different jvm statistics") | |
@Command |
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
#!/bin/sh | |
# | |
# resolve links - $0 may be a softlink | |
PRG="$0" | |
while [ -h "$PRG" ]; do | |
ls=`ls -ld "$PRG"` | |
link=`expr "$ls" : '.*-> \(.*\)$'` | |
if expr "$link" : '/.*' > /dev/null; then |
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
@echo off | |
REM init variables | |
set CMD_LINE_ARGS= | |
set EXT_JARS= | |
REM Get standard environment variables | |
set PRGDIR=%~dp0 | |
REM Only set CRASH_HOME if not already set | |
if not ".%CRASH_HOME%" == "." goto setupArgs |