05 2017 档案

摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace 线程同步{ 阅读全文
posted @ 2017-05-25 15:40 甜菜波波 阅读(4604) 评论(0) 推荐(1) 编辑
摘要:using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTestProject1 { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1()... 阅读全文
posted @ 2017-05-25 10:01 甜菜波波 阅读(501) 评论(0) 推荐(0) 编辑
摘要:和AutoEvent相似是处理同步关系的,但是AutoEvent是跨进程的,而Monitor是针对线程的。 以下是MSDN的代码示例,调试起来很容易看出来两个函数的作用了,因为尽管是多线程程序,但是是同步操作,所以代码始终是单步执行的。 using System; using System.Thre 阅读全文
posted @ 2017-05-22 15:52 甜菜波波 阅读(12852) 评论(0) 推荐(1) 编辑
摘要:参考 http://blog.csdn.net/zhengguanxiong/article/details/52517127 阅读全文
posted @ 2017-05-21 16:53 甜菜波波 阅读(6386) 评论(0) 推荐(0) 编辑
摘要:var a=function(){ this.msg="aa"; } a.prototype.say=function(){ alert('this is say');} 1.只有 Object.prototype Array.prototype String.prototype Date.prot 阅读全文
posted @ 2017-05-18 12:06 甜菜波波 阅读(201) 评论(0) 推荐(0) 编辑
摘要:CF_DEPTUCORGANIZATION INSERT UPDATE DELETE 触发器CREATE OR REPLACE TRIGGER tr_del_CF_DEPTUCORGANIZATIONBEFORE INSERT OR UPDATE OR DELETE ON CF_DEPTUCORGA 阅读全文
posted @ 2017-05-16 16:24 甜菜波波 阅读(514) 评论(0) 推荐(0) 编辑
摘要:create or replace procedure p_test(p_cur out sys_refcursor)asbegin open p_cur for select * from F_RELATION;end p_test;DECLARE test_cur sys_refcursor ; 阅读全文
posted @ 2017-05-16 15:37 甜菜波波 阅读(782) 评论(0) 推荐(0) 编辑
摘要:1.无参存储过程 create or replace procedure test_procasv_total number(10);begin select count(*) into v_total from F_RELATION; DBMS_OUTPUT.put_line('总人数:'||v_ 阅读全文
posted @ 2017-05-16 15:00 甜菜波波 阅读(2421) 评论(0) 推荐(0) 编辑
摘要:declaremsg varchar2(100);num integer :=1;begin msg :='a';case msg when 'a' then dbms_output.put_line('1');else dbms_output.put_line('3');end case ;<<b 阅读全文
posted @ 2017-05-16 11:27 甜菜波波 阅读(137) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2017-05-15 12:14 甜菜波波 阅读(1) 评论(0) 推荐(0) 编辑
摘要:1、定义 从实用主义角度描述分布式系统,即系统对外有统一的入口,系统内的业务层进程可以有无限多个,即可水平扩展,可根据计算量增减机器。存储层支持水平扩展,可根据计算量增减机器。使系统在计算和存储上,理论上可以达到无限制。对于这个定义,大家看看就好,我并没有过多的进行抽象,我希望更实用更易懂一些。强调 阅读全文
posted @ 2017-05-11 14:41 甜菜波波 阅读(318) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示