`
lobin
  • 浏览: 117296 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
我的论坛
  private static PrivateKey privateKey = null; private static PublicKey publicKey = null; @BeforeClass public static void init() { KeyPairGenerator keyPairGenerator = null; try { keyPairGenerator = KeyPairGenerator.getInstance("DSA"); } catch (NoSuchAlgorithmE ...
  String privateKey = "MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEApTHMs+zR16SE0v3npoVbMGo70xX5tJ7HF23SvM2rARkJNtRs4xZRQpWQ1JBZnGna9HcVQsrRAORqYhhTrZ9rMQIDAQABAkAFNrlYrasZErJGQEEiIWP9lwHCvZchLTB4j+TahIV+2iLTiLa21QOqQFmpBqw/uqmHsJGtqtHIXdtgCrGtoLVhAiEA4zpbZ52vkCskvZ2eJ34n6dTsiybZLIMYIdp21kd ...
The symbolic, non-executable form of a method handle's invocation semantics. It consists of a series of names. The first N (N=arity) names are parameters, while any remaining names are temporary values. Each temporary specifies the application of a function to some arguments. The functions are method ...
Last Agent Optimization
import org.junit.{Before, BeforeClass, Test} import org.scalatest.junit.JUnitSuite import scala.util.control.ControlThrowable private class BreakControl extends ControlThrowable object ScalaBreaksTest {   @BeforeClass   def _init : Unit = {   } } class ScalaBreaksTest extends JUnitSuite {   private v ...

RLP

RLP Recursive Length Prefix RLP元素: item,list 长度编码 数据编码 数据编码和长度编码采用的是相同的编码规则。 编码规则:               <encoded data> -> <length of data prefix> | <length of data prefix><data> | <length of data prefix>(<encoded data&gt ...
  public class HessianMethodInvocation implements InvocationHandler, Serializable { private static final long serialVersionUID = 7304512179586775133L; private TestServiceImpl testService; private HessianSkeleton skeleton; private AbstractHessianInput input; private AbstractHessian ...
  public int index() { return Math.abs(idx.getAndIncrement() % executors.length); }   public int index1() { return idx1.getAndIncrement() & executors1.length - 1; }   public int index2() { int value = idx1.getAndIncrement(); int i = value & executors1.length - 1; if (value % ...
    @Test public void interrupt4b() { Thread t = new Thread() { public void run() { for (int i = 0; i < 10; i++) { if (isInterrupted()) { System.out.println("interrupted"); } else { System.out.println("not interrupted"); } } ...
  public class ThriftExporter extends RemoteExporter implements InitializingBean { private static final Logger LOGGER = LoggerFactory.getLogger(ThriftExporter.class); public static final String CONTENT_TYPE_HESSIAN = "application/x-thrift"; protected TProcessorFactory processo ...
Global site tag (gtag.js) - Google Analytics