複製鏈接
請複製以下鏈接發送給好友

Register

鎖定
Register:是緩存器的意思,其功能是能夠在高速下達到同步的目的。
中文名
寄存器
外文名
Register
其他含義
register修飾符
應    用
編程

Register名詞定義

register
n.
記錄,登記簿,登記,註冊,寄存器
【語言學】語域(即當前語境的最適合語言)
vt.
記錄,登記,註冊,提示,把...掛號
vi.
登記,註冊,掛號

Register雙語例句

  • 1Have you come to register at the school?你到學校來註冊過了嗎?《柯林斯英漢雙解大詞典》
  • 2Could you sign the hotel register please, sir?先生,請在酒店登記簿上簽字好嗎?《牛津詞典》
  • 3We learned how to create and register a new web page.我們學會了新網頁的製作和註冊方法。《牛津詞典》
  • 4How do I register?我怎麼註冊呢?
  • 5The default value of this register is an empty string.這個寄存器的默認值是一個空字符串。
  • 6Did you register already for your classes next semester?你下學期的課已經註冊了嗎?
  • 7In this case, we only care about the first word of the register.在本例中,我們只關心寄存器的第一個單詞。
  • 8Does it cost anything to register or do you collect money each week?註冊要花錢嗎?還是你每週都收錢?
  • 9These ratios register the fluctuations of air temperatures over the seasons and years.這些比率記錄了空氣温度隨季節和年份的波動。
  • 10Mr. Chen stared at the register as if the answers to his questions were hidden in it somewhere.陳先生盯着登記簿,好像回答他問題的答案就藏在裏面的某個地方。
  • 11One of its purposes is to register for all notifications which occur on that cell, node, or server.其目的之一就是註冊該單元、節點或服務器上發生的所有通知。
  • 12If you do so, you should register it so that other developers can write components to communicate with yours.如果您這樣做,則應當註冊它,以便其他開發人員可以編寫組件來與您的組件通信。
  • 13The units are the same as the time base register and the sum of the PURR values for both threads is equal to time base register.這些單元與基準時間寄存器相同,並且兩個線程的 PURR 值的總和等於基準時間寄存器的值。
  • 14Can I register this, please?請給我把這個掛號郵寄。《牛津詞典》
  • 15Thousands lined up to register to vote.數千人排隊登記投票。《柯林斯英漢雙解大詞典》
  • 16Those who fail to register risk severe penalties.那些沒登記的人冒着受重罰的風險。《柯林斯英漢雙解大詞典》
  • 17The raiders snatched $100 from the cash register.劫匪從現金出納機裏搶走了100元。《牛津詞典》
  • 18I told her my name, but it obviously didn't register.我把名字告訴了她,但她顯然沒有在意。《牛津詞典》
  • 19He checked the register. There was money in the till.他檢查了收銀機。錢櫃裏有錢。《柯林斯英漢雙解大詞典》
  • 20Schwartz must register as a sex offender in New York.施瓦茲必須作為性罪犯者在紐約立案。《柯林斯英漢雙解大詞典》
  • 21It will only register on sophisticated X-ray equipment.只有在先進的X光設備上它才會顯示出來。《柯林斯英漢雙解大詞典》
  • 22She was ringing up her sale on an ancient cash register.她在把銷售額記入那台老舊的收款機。《柯林斯英漢雙解大詞典》
  • 23He'd been helping himself to the money in the cash register.他一直在偷現金出納機中的錢。《牛津詞典》
  • 2418-year-olds are sent reminders that they should register to vote.給18歲的人派送了通知單,提醒他們應該登記投票。《柯林斯英漢雙解大詞典》
  • 25The essay suddenly switches from a formal to an informal register.這篇短文的語體風格突然從正式轉為非正式。《牛津詞典》
  • 26Voters wish to register their dissatisfaction with the ruling party.選民們希望表達他們對執政黨的不滿。《柯林斯英漢雙解大詞典》
  • 27In order to register a car in Japan, the owner must have somewhere to park it.在日本要想登記一輛汽車,車主必須要有停車的地方。《柯林斯英漢雙解大詞典》
  • 28Two men forced the clerks to flee before helping themselves to the cash register.兩名男子強迫店員跑開,然後偷走了現金出納機裏的錢。《柯林斯英漢雙解大詞典》
  • 29The property register will also say whether the property is freehold or leasehold.財產登記薄也會寫出該財產是永久業權的還是租憑的。《柯林斯英漢雙解大詞典》
  • 30'Register' is the term commonly used to describe different levels of formality in language.“語域”是一個術語,通常用以描述語言中用語的正式程度。《牛津詞典》 [1] 

Register修飾符

register修飾符暗示編譯程序相應的變量將被頻繁地使用,如果可能的話,應將其保存在CPU寄存器中,以加快其存儲速度。例如下面的內存塊拷貝代碼,
/* Procedure for the assignment of structures, */
/* if the C compiler doesn't support this feature */
#ifdef NOSTRUCTASSIGN
memcpy (d, s, i)
{
	register char *d;
	register char *s;
	register int i;
	while (i--)
	*d++ = *s++;
}
#endif
但是使用register修飾符有幾點限制。
首先,register變量必須是能被CPU所接受的類型。這通常意味着register變量必須是一個單個的值,並且長度應該小於或者等於整型的長度。不過,有些機器的寄存器也能存放浮點數
其次,因為register變量可能不存放在內存中,所以不能用“&”來獲取register變量的地址。
由於寄存器的數量有限,而且某些寄存器只能接受特定類型的數據(如指針和浮點數),因此真正起作用的register修飾符的數目和類型都依賴於運行程序的機器,而任何多餘的register修飾符都將被編譯程序所忽略。
在某些情況下,把變量保存在寄存器中反而會降低程序的運行速度。因為被佔用的寄存器不能再用於其它目的;或者變量被使用的次數不夠多,不足以裝入和存儲變量所帶來的額外開銷。
早期的C編譯程序不會把變量保存在寄存器中,除非你命令它這樣做,這時register修飾符是C語言的一種很有價值的補充。然而,隨着編譯程序設計技術的進步,在決定哪些變量應該被存到寄存器中時,C編譯環境能比程序員做出更好的決定。實際上,許多編譯程序都會忽略register修飾符,因為儘管它完全合法,但它僅僅是暗示而不是命令。

Register註冊公司

Register是美國較為知名的域名註冊公司,百度公司的域名曾經在此公司註冊,後來由於該公司的安全漏洞導致百度域名被黑,事情的結局是Register公司已經對百度全部損失做出賠償,並正式向百度公司發佈公開道歉聲明,對由於自身安全漏洞遭黑客攻擊導致百度域名無法訪問而給百度公司帶來的嚴重影響表示歉意。
參考資料