The Valgrind distribution has multiple tools. The most popular is the memory checking tool (called Memcheck) which can detect many common memory errors such as: * touching memory you shouldn t (eg. overrunning heap block boundaries) * using values before they have been initialized * incorrect freeing of memory, such as double-freeing heap blocks * memory leaks.
標(biāo)簽: distribution The Valgrind checking
上傳時(shí)間: 2014-01-14
上傳用戶:xc216
EXAMPLE SOURCE CODE FOR TASM FILTER his filter accepts input through the standard input stream, converts it and outputs it to the standard output stream. The streams are linked through pipes, such that the input stream is the output from the assembler being invoked, and the output stream is connected to the message window of the IDE, ie.
標(biāo)簽: input standard EXAMPLE accepts
上傳時(shí)間: 2014-01-13
上傳用戶:小碼農(nóng)lz
Address book helps you look up your addresses from the system tray. It is quite useful in that way 慶ause it stays out of the way and is easily accessible when needed. Double clicking on any URL will start the default web browser and take you to that URL. Double clicking on the phone number will dial that number. Every column supports sorting and can be customized to your needs. Preview will display the notes associated with each record. This program can also import Comma Separated Values (*csv) text files of Outlook Express.
標(biāo)簽: addresses Address system useful
上傳時(shí)間: 2014-07-08
上傳用戶:lyy1234
1.功能 用高斯方法計(jì)算n重積分(C語言) 2.參數(shù)說明 int n : 積分重?cái)?shù) int js[n] : js[k]表示第k層積分區(qū)間所劃分的子區(qū)間 void (*ss)() : 指向計(jì)算各層積分上、下限的函數(shù)名(用戶自編) double (*f)() : 指向計(jì)算被積函數(shù)值的函數(shù)名(用戶自編) double gaus() : 函數(shù)返回積分值 3.文件說明 gaus.c為函數(shù)程序 gaus0.c為主函數(shù)程序
上傳時(shí)間: 2014-01-05
上傳用戶:731140412
很多嵌入式系統(tǒng),特別是應(yīng)用于圖像處理與高速數(shù)據(jù)采集等場合的嵌入式系統(tǒng),都需要高速緩存大量的數(shù)據(jù)。DDR(Double Data Rate,雙數(shù)據(jù)速率)SDRAM由于其速度快、容量大,而且價(jià)格便宜,因此能夠很好地滿足上述場合對大量數(shù)據(jù)緩存的需求。但DDR SDRAM的接口不能直接與現(xiàn)今的微處理器和DSP的存儲(chǔ)器接口相連,需要在其間插入控制器實(shí)現(xiàn)微處理器或DSP對存儲(chǔ)器的控制。
標(biāo)簽: 嵌入式系統(tǒng)
上傳時(shí)間: 2015-09-18
上傳用戶:zjf3110
三次樣條插值程序。編譯運(yùn)行本程序后,程序會(huì)彈出窗口及問句:“input the number of intervals:”,輸入插值的次數(shù)即可,程序?qū)⒌玫降拇螖?shù)保存在變量int n中。如果輸入的插值次數(shù)正確(n>=2),程序會(huì)顯示下一語句:"input the value of the variable:",此時(shí)輸入插值點(diǎn)即可,程序?qū)⒌玫降牟逯迭c(diǎn)保存在變量double v中。若插值點(diǎn)正確(v>=0&&v<=6),則程序?qū)⑤敵霾逯到Y(jié)果。
上傳時(shí)間: 2014-01-16
上傳用戶:Avoid98
實(shí)現(xiàn)一個(gè)類,描述二維平面的直線Line。 描述屬性:私有屬性 直線所通過的點(diǎn):Point p; 直線的斜率:double m 實(shí)現(xiàn)方法: 直線的構(gòu)建; 返回直線的兩個(gè)屬性; 返回直線在Y軸上的截距:yIntercept ; 判斷兩條直線是否相等; 顯示直線的內(nèi)容:y = mx + b isParallelTo(Line line2),判斷本直線與直線line2是否平行; isPeroendicularTo(Line line2),判斷本直線與直線line2是否垂直; translate(double dx, double dy),將直線向右移動(dòng)dx單位,向上移動(dòng)dy單位; rarate(double ta),將直線沿逆時(shí)針方向旋轉(zhuǎn)ta度
標(biāo)簽:
上傳時(shí)間: 2015-10-24
上傳用戶:Divine
問題描述:編寫一個(gè)JAVA程序,用面向?qū)ο笤O(shè)計(jì)的方法編寫一個(gè)電話卡的類。包括卡號(hào)、密碼、余額、撥入號(hào)碼等 b)基本要求:類的屬性有卡號(hào)、密碼、余額、撥入號(hào)碼,電話卡的常用操作可以用連接電話方法、返回余額方法與通電話方法來實(shí)現(xiàn)。 c)方法功能描述: 構(gòu)造方法(PhoneCard(卡號(hào),密碼,余額,撥入號(hào)碼))可以完成屬性值初始化賦值,并判斷余額,余額為負(fù)就退出系統(tǒng),請?jiān)跇?gòu)造方法中將初始時(shí)的連接置為false即表示沒有連接。 卡號(hào)long cardNumber 密碼private int password,余額double balance,撥入號(hào)碼string connectNumber boolean connected(一個(gè)布爾類型變量表示電話卡連接狀態(tài),初始時(shí)默認(rèn)沒有連接,值為false,當(dāng)調(diào)用連接電話方法()后,在判斷卡號(hào)和密碼相匹配后值置為true) 連接電話方法(performConnection(卡號(hào),密碼))可以完成檢查卡號(hào)和密碼,它是只有在卡號(hào)和密碼相匹配時(shí)才連接 返回余額方法(getBalance())得到電話卡的余額 通電話方法(performDial())是模擬通過過程中,余額會(huì)不斷減少,每調(diào)用此方法,電話卡的余額減少0。5元,打一次電話調(diào)用一次
上傳時(shí)間: 2014-01-20
上傳用戶:1109003457
% 文件名:randlsbget.m % 程序員:余波 % 編寫時(shí)間:2007.6.25 % 函數(shù)功能: 本函數(shù)將完成提取隱秘于上的秘密信息 % 輸入格式舉例:result=( scover.jpg ,56, secret.txt ,2001) % 參數(shù)說明: % output是信息隱藏后的圖象 % len_total是秘密信息的長度 % goalfile是提取出的秘密信息文件 % key是隨機(jī)間隔函數(shù)的密鑰 % result是提取的信息 function result=randlsbget(output,len_total,goalfile,key) ste_cover=imread(output) ste_cover=double(ste_cover) % 判斷嵌入信息量是否過大 [m,n]=size(ste_cover) frr=fopen(goalfile, a ) % p作為信息嵌入位計(jì)數(shù)器將信息序列寫回文本文件 p=1 % 調(diào)用隨機(jī)間隔函數(shù)選取像素點(diǎn) [row,col]=randinterval(ste_cover,len_toal,key) for i=:len_toal if bitand(ste_cover(row(i),col(i)),1)==1 fwrite(frr,1, bit1 ) result(p,1) else fwrite(frr,0, bit1 ) result(p,1)=0 end if p==len_total break end p=p+1 end fclose(frr)
標(biāo)簽: randlsbget result scover 2007
上傳時(shí)間: 2015-11-10
上傳用戶:yzhl1988
雙曲線回歸方程 HyperbolaRegress.cs 注意!該模型要求a與b的值要大于0!使用該模型時(shí)應(yīng)注意驗(yàn)證這個(gè)限制條件。我在實(shí)現(xiàn)模型時(shí)未加入任何出錯(cuò)流程控制。X不能為0。 方程模型為 public override double[] buildFormula() 得到系數(shù)數(shù)組,存放順序與模型系數(shù)相反,即該數(shù)組中系數(shù)的值依次是b,a。 public override double forecast(double x) 預(yù)測函數(shù),根據(jù)模型得到預(yù)測結(jié)果。 public override double computeR2()
標(biāo)簽: HyperbolaRegress 模型 方程 cs
上傳時(shí)間: 2014-11-30
上傳用戶:youke111
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1