修也

实践出真知.

C++ 多继承 成员冲突解决

#include<iostream> using namespace std; class A{ public: int a; }; class B{ public: int a; }; cla...

2018-04-25 15:28:37

阅读数:73

评论数:0

Spring configuration file : simple tag works simply

package com.xiuye.spring.tag; public class User { private String name; private String email; public String getName() { return name; } public...

2018-04-20 21:20:41

阅读数:33

评论数:0

Spring MVC + Mybatis (@Transactional) + Hibernate (AOP)

<beans default-lazy-init="true" xmlns="http://www.springframework.org/schema/beans" xmlns:xsi=&qu...

2018-04-16 20:18:52

阅读数:29

评论数:0

Java NIO2 -- AIO CompletionHandler

package com.xiuye.nio; import java.io.IOException; import java.net.InetSocketAddress; import java.net.StandardSocketOptions; import java.nio.ByteBuf...

2018-04-15 19:25:41

阅读数:106

评论数:0

Java NIO2 -- AIO Callable -- Future

package com.xiuye.nio; import java.io.IOException; import java.net.InetSocketAddress; import java.net.StandardSocketOptions; import java.nio.ByteBuf...

2018-04-15 18:38:38

阅读数:41

评论数:0

Java NIO

package com.xiuye.nio; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.nio.ByteBuffer; impo...

2018-04-15 17:41:59

阅读数:20

评论数:0

CUDA user-defined dim3

#include<stdio.h> #include<stdlib.h> #include<conio.h> typedef unsigned int * cons...

2018-04-15 14:51:17

阅读数:27

评论数:0

嵌入式Tomcat简单地尝试下

package com.xiuye.server; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.se...

2018-04-14 21:43:20

阅读数:24

评论数:0

Apache + Tomcat 简单地试一试

Download  jk_module (Search and Get from Network)!Apache conf/httpd.conf tail append : #load module LoadModule jk_module modules/mod_jk.so #load prop...

2018-04-14 00:57:38

阅读数:132

评论数:0

Nginx + Tomcat 简单地试一试

/conf/nginx.cnf:#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info...

2018-04-13 23:09:36

阅读数:22

评论数:0

Java 对异步非阻塞的尝试

package com.xiuye.jdk.issue; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class CompletionThoughtTest...

2018-04-12 17:38:45

阅读数:29

评论数:0

CAS(Compare-and-Swap) 简单地实现程序操作的原子性

#include<iostream> #include<thread> using namespace std; /** * CMPXCHG r1/m,r2 * if eax == r1/m { * r1...

2018-04-09 18:06:52

阅读数:36

评论数:0

简单编译下Memory Barrier指令,看看能不能编译,验证Existence

#include<iostream> using namespace std; int main(){ cout << "start..." <&a...

2018-04-09 00:48:50

阅读数:40

评论数:0

Java 注解处理器简单地实现,看看是什么效果

import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.ProcessingEnvironment; import javax.annotation.processing.Ro...

2018-04-08 14:22:28

阅读数:20

评论数:0

Java 0b 0 0x p e 下划线 除数0 浮点数正负无穷.NaN(数学未定义行为)

package com.xiuye.jdk.issue; public class DivideZero { public static void main(String []args){ System.out.println(0.0000_0000_0000_01 == 0.00...

2018-04-05 16:55:31

阅读数:35

评论数:0

CMD 脚本运行程序下的完整路径(不是当前路径)

@echo off rem @echo %cd% rem @echo %~d0 rem @echo %~dp0 rem @echo %~df0 set JBE_ROOT=%~dp0 rem echo %JBE_ROOT% java -cp %JBE_ROOT%\bin ee.ioc.cs.jbe...

2018-04-04 12:00:20

阅读数:39

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭