The DHRY program performs the dhrystone benchmarks on the 8051. Dhrystone is a general-performance benchmark test originally developed by Reinhold Weicker in 1984. This benchmark is used to measure and compare the performance of different computers or, in this case, the efficiency of the code generated for the same computer by different compilers. The test reports general performance in dhrystones per second. Like most benchmark programs, dhrystone consists of standard code and concentrates on String handling. It uses no floating-point operations. It is heavily influenced by hardware and software design, compiler and linker options, code optimizing, cache memory, wait states, and integer data types. The DHRY program is available in different targets: Simulator: Large Model: DHRY example in LARGE model for Simulation Philips 80C51MX: DHRY example in LARGE model for the Philips 80C51MC
標簽: general-performanc benchmarks Dhrystone dhrystone
上傳時間: 2016-11-30
上傳用戶:hphh
樹狀目錄結構,帶有源碼。分為不同的類,可獨自運行,也可插入其它框架中,代碼實現了文件路徑以String存取
上傳時間: 2013-11-29
上傳用戶:wkchong
Skype4Java開發指南 Skype4Java架構 Skype4Java提供了一個較為完善的開發體系,使您可以非常容易地使用Java開發Skype外殼程序。 Skype插件程序與Skype的通信都是基于一些文本命令來完成的。因此,要想開發Skype的插件應用,就需要依靠不同操作系統平臺的系統調用,發送Skype平臺的相應命令來實現。 Skype4Java在最底層,也是通過操作系統的系統調用來完成消息的發送。針對異構平臺,Skype4Java提供了不同平臺的底層實現,而Skype4Java的使用者不用管具體的操作系統平臺。因為抽象父類Connector類的靜態方法getInstance()具體判斷當前操作系統是什么平臺,采用簡單的工廠模式,返回相應平臺的子類對象,如OSXConnector.,LinuxConnector, WindowsConnector, Win32Connector等,這些都是Connector類的子類。Connector及其子類即實現了一些系統調用的方法,其中被重載的一系列execute()方法最終調用不同子類的sendCommand (String command)方法來實現了不同平臺的消息發送。 而對于一些數據的接收和處理全局都是采用事件監聽的機制(觀察者模式),用于完成數據的接收,處理機制的調用,錯誤的處理等。 Skype平臺利用錯誤消息機制提供了出錯的處理。因此,在我們的錯誤處理中,只需分析錯
標簽: Skype4Java 開發指南 架構
上傳時間: 2014-11-28
上傳用戶:manlian
在程序中需要使用到的字符串大致可以分為兩大類,一類是創建之后不需要做修改和變動的字符串常量,另一類則是創建之后需要添加,插入和修改等更改的字符串變量。在java中,對于字符串常量對象則使用String類,它提供了許多諸如比較(compareTo),查找(indexOf)之類的操作,而對于字符串變量對象則使用StringBuffer類,它提供了擴充(append),插入(insert)等操作。
上傳時間: 2014-01-14
上傳用戶:gxrui1991
一個windows記事本c#源碼 在編輯菜單中的"查找下一個"沒有實現 實現方法,在查找窗體的關閉事件中添加this.visual=false 或者把search類中的 biaoji()函數改為 String biaoji() 提供個值 本期項目產生的問題 1.攔載windows窗體中的關閉事件 HREF 屬性 notebookhelp是幫助文件源碼
標簽: windows biaoji search visual
上傳時間: 2013-12-29
上傳用戶:時代電子小智
NetBeans下實現ajax,利用String傳值
上傳時間: 2017-01-21
上傳用戶:hewenzhi
Q: 我應該怎樣處理內存泄漏? A: 很簡單,只要寫“不漏”的代碼就完事了啊。顯然,如果你的代碼到處是new、delete、指針運算,那你想讓它“不漏”都難。不管你有多么小心謹慎,君為人,非神也,錯誤在所難免。最終你會被自己越來越復雜的代碼逼瘋的——你將投身于與內存泄漏的奮斗之中,對bug們不離不棄,直至山峰沒有棱角,地球不再轉動。而能讓你避免這樣困境的技巧也不復雜:你只要倚重隱含在幕后的分配機制——構造和析構,讓C++的強大的類系統來助你一臂之力就OK了。標準庫中的那些容器就是很好的實例。它們讓你不必化費大量的時間精力也能輕松愜意地管理內存。我們來看看下面的示例代碼——設想一下,如果沒有了String和vector,世界將會怎樣?如果不用它們,你能第一次就寫出毫無內存錯誤的同樣功能代碼嗎?
標簽: 內存泄漏
上傳時間: 2017-01-25
上傳用戶:alan-ee
#include<stdlib.h> #include "dos.h" #include "graphics.h" #include "math.h" #define PI 3.1415926 #define NULL 0 #include<stdio.h> #include<String.h>
標簽: include graphics define stdlib
上傳時間: 2013-12-29
上傳用戶:王者A
液晶 OCM/TG240128 驅動 編程語言: C 原產品硬件ATMega128/1280 ,晶振14.7456M 軟件AVR ICC7.14C 破解版 由產品源碼中提取,詳細的字符和圖行操作.實現LCD內任何位置的定位操作. void LCD_Init(void) void GMoveTo(U8 yline, U8 xcolumn) void TMoveTo(U8 y, U8 x,U8 len) void DispStartLine(U8 gt, U8 line) void LCD_ClrRam (void) void LCD_ON(unsigned char on) void Draw_Pixel(U8 x, U8 y) void LineTo(U8 x0, U8 y0, U8 x1, U8 y1) void Draw_Line(unsigned char x0, unsigned char y0, unsigned char yl) void disp_img(unsigned int x0, unsigned int y0, unsigned int xl, unsigned int yl, const U8 *img) void DispString(unsigned char x, unsigned char y, char* String) void Printf(U8 x, U8 y, char *fmt, ...) ......
標簽: 14.7456 240128 ATMega 1280
上傳時間: 2013-12-27
上傳用戶:youke111
public class CircleMenuCanvas extends Canvas implements Runnable{ double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage[] = new Image[6] int []jiaodu = {330,30,90,150,210,270} String menuName[] = {"新游戲","繼續游戲","游戲設置","高分榜","游戲幫助","退出游戲"} int x = getWidth()/2 int y = getHeight()/2 int count = 0 int local int index = 0 Font f boolean running = false /** * 構造方法 * */
標簽: public CircleMenuCanvas implements Runnable
上傳時間: 2014-01-08
上傳用戶:zhaoq123