Time of Update: 2018-12-04
⑴ 假設在 Windows下己安裝 cygwin 在 c:\cygwin,下載己安裝標頭檔及編譯好的 toolchain4toolchain4_cygwin_built.tar.bz2 (182.71MB) (115 下載 : http://u.115.com/file/e6y9axmh )將 toolchain4_cygwin_built.tar.bz2 放在 c:\cygwin 下⑵ 進入 cygwin 環境內 ⑶ 安裝 toolchain4 檔案夾tar xjvf
Time of Update: 2018-12-04
最近做了一次佇列服務的效能測試,是通過兩種協議windows socket和http分別往記憶體中寫入url。對比哪種協議的效果更高,是測試結果。此次使用的工具是loadrunner。在壓socket協議時,不能進行錄製,只能通過手寫函數完成。 環境說明服務端 111.111.111.218,配置cpu3.0/4核 記憶體4G. 100m頻寬測試機 111.111.111.19 配置cpu3.0/4核 記憶體4G. 100m頻寬測試目的效能測試測試人李秀龍情境說明windows
Time of Update: 2018-12-04
package com.wzs;import java.util.Arrays;/** * 演算法導論--page16 * * @author Administrator * */public class SelectSort {public static void main(String[] args) {int arr[] = { 5, 2, 4, 6, 1, 3 };System.out.println("排序前:" +
Time of Update: 2018-12-04
void mouseHandler(int event, int x,int y ,int flags,void *p) { IplImage *img0, *img1; img0=(IplImage*)p; img1=cvCloneImage(img0); CvFont font; uchar *ptr; char label[20]; cvInitFont (&font,CV_FONT_HERSHEY_PLAIN,
Time of Update: 2018-12-04
pytesser 調用了 tesseract,因此需要安裝 tesseract,安裝 tesseract 需要安裝 leptonica,否則編譯tesseract 的時候出現 "configure: error: leptonica not found"。 以下都是解壓編譯安裝的老步驟:./configuremake -j4sudo make
Time of Update: 2018-12-04
本文用原廠模式實現 計算機的四則運算package com.wzs.design;import java.util.Scanner;/** * 大話設計模式--page10 簡單原廠模式 * * @author Administrator * */public class SimpleFactory {public static void main(String[] args)
Time of Update: 2018-12-04
package com.wzs;import java.util.Arrays;/** * 演算法導論--page41 * * @author Administrator * */public class FindMaximumSubArray {public static void main(String[] args) {int[] arr = { 13, -3, -25, 20, -3, -16, -23, 18, 20, -7, 12, -5, -22, 15, -4, 7
Time of Update: 2018-12-04
package com.wzs;import java.util.Arrays;/** * 演算法導論--page86 * * @author Administrator * */public class HeapSort {private static int[] sort = new int[] { 1, 0, 10, 20, 3, 5, 6, 4, 9, 8, 12, 17, 34, 11 };public static void main(String[] args)
Time of Update: 2018-12-04
// opencv_test02.cpp : 定義控制台應用程式的進入點。//#include"stdafx.h"#include "stdafx.h"#include <opencv2/core/core.hpp>#include <opencv2/features2d/features2d.hpp>#include <opencv2/highgui/highgui.hpp>#include
Time of Update: 2018-12-04
本文以 商場促銷 為例子來實現這種模式。商場三種活動:1.按照原來價格收費2.八折收費3.滿300反100一:原廠模式實現二:策略模式實現三:工廠+策略模式實現package com.wzs.design;/** * 原廠模式的實現 * * @author Administrator * */public class SimpleFactory_1 {public static void main(String[] args) {CashFactory cashFactory = new
Time of Update: 2018-12-04
一、 Apache附帶的工具abab的全稱是ApacheBench,是Apache附帶的一個小工具,專門用於HTTP Server的benchmark testing,可以同時類比多個並發請求。在這個例子的一開始,我執行了這樣一個命令ab -n 10 -c 10http://www.google.com/。這個命令的意思是啟動ab,向www.google.com發送10個請求(-n 10) ,並每次發送10個請求(-c 10) ——也就是說一次都發過去了。apache
Time of Update: 2018-12-04
小菜要去見漂亮女孩,不知道穿什麼衣服好,就開始一件一件的開始搭配,實驗出最好效果的搭配...package com.wzs.design;/** * 大話設計模式--page53 裝飾模式 * * @author Administrator * */public class DecorativePattern {public static void main(String[] args) {Person xc = new
Time of Update: 2018-12-04
Action.c(4): Error -27796: Failed to connect to server "stadig.ifeng.com:80": [10048] Address already in useTry changing the registry value HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/tcpip/Parameters/TcpTimedWaitDelay to 30and
Time of Update: 2018-12-04
卓賈易讓戴勵協助自己追嬌嬌為情境,卓賈易不好意思直接送禮物給嬌嬌,讓戴勵代替自己送.package com.wzs.design;/** * 大話設計模式--page62 代理模式 * * @author Administrator * */public class ProxyPattern {public static void main(String[] args) {SchoolGirl jiaojiao = new SchoolGirl("李嬌嬌");Pursuit pursuit
Time of Update: 2018-12-04
前幾天與幾家公司的測試負責人有過一次交流,瞭解一下他們的測試團隊在公司裡的職能範圍和話語權。A公司:測試團隊與研發團隊是平級部門,測試經理直接向CTO彙報,測試工程師30人左右,分成幾個小組,有測試組長。涉及功能,效能,安全,使用者體驗。測試的比較深入。從需求階段測試就開始介入,需求評審階段,測試的疑問如果沒有得到解決,是不允許開發寫代碼的。開發過程每天提交的代碼,測試要與昨天的代碼進行比對,新增代碼的具體作用是什麼,開發要給測試進行講解。每天的開發程式碼數和bug數要隨時可以檢查。上線也是要得
Time of Update: 2018-12-04
問題描述使用SDK Manager更新時出現問題Failed to fetch URLhttps://dl-ssl.google.com/android/repository/repository-6.xml,reason: Connection to https://dl-ssl.google.com refusedFailed to fetch URLhttp://dl-ssl.google.com/android/repository/addons_list-1.xml,reason:
Time of Update: 2018-12-04
大學生和社區志願者學習雷鋒協助老人,掃地,洗衣服,買米為例.package com.wzs.design;/** * 大話設計模式--page73 Factory 方法 * * @author Administrator * */public class FactoryMethod {public static void main(String[] args) {IFactory iFactory = new UndergraduateFactory();//
Time of Update: 2018-12-04
package com.wzs;import java.util.Arrays;/** * 演算法導論--page10 * * @author Administrator * */public class InsertionSort {public static void main(String[] args) {int arr[] = { 5, 2, 4, 6, 1, 3 };System.out.println("排序前:" +
Time of Update: 2018-12-04
package com.wzs;/** * 演算法導論--page22 * * @author Administrator * */public class BinarySearch {public static void main(String[] args) {int[] arr = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };System.out.println(binarySearch(arr, 6, 0, arr.length));}/** *
Time of Update: 2018-12-04
package com.wzs;import java.util.Arrays;/** * 演算法導論--page18 * * @author Administrator * */public class MergeSort {public static void main(String[] args) {int[] arr = { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 };System.out.println("排序前:" + Arrays.toString(arr))