-
chrome史上最完整调用ocx完整解决方案
关键字 chrome,ocx,控件,activeX。用于解决chrome调用ocx控件的一个demo。
- 2020-11-28下载
- 积分:1
-
halcon算子速查手册.pdf
halcon算子速查手册.pdf
- 2020-12-01下载
- 积分:1
-
Sliding Mode Control in Engineering
滑模控制在工程中的应用,学习和了解滑模的实际应用,学以致用
- 2020-12-07下载
- 积分:1
-
内存乒乓缓存机制和消息分发机制的C代码实现
用C代码实现乒乓内存缓冲机制,具体实用价值,帮助您提高内存响应速度与及时数据的处理。unsigned long writeunsigned long greadunsigned long overflowST TWTMSG QUEUE:/ Helper macros for accessing Msg queues. *#define tWt QUEUE EMPty(a)(((g->write==(q)->gread)? 1: 0)#define twt_ QUeUe full(a)(((((q)->qwrite +1% TIMEWEIGHT TASKQUEUE SIZED)==(q)->gread)?1: 0)米 generate a Msg entity*正常返回消息体的指针,异常返回NULLT TWTMSG* generateMsg(tT-TWTMSG* pmSg=nULL,if(NULL =-(ptMsg malloc(sizeof(T TWTMSG)))return NULL;memset(ptMsg, 0, sizeof(T TWTMSG)return pmSg;destroy a Msgvoid destroy Msg(t TWTMSG ptMsgif(NULL ptMsg->pfDestroyMsg)pt Msg->pfDestroy Msg(ptMsg->pvMsg)if (NULL != pt Msg)free(pmSgfree a Msg Queuevoid freeTWTMsg Que(T TWTMSG QUEUE* ptMsgQif(NULL =ptMsg Afree(ptMsg Q);Init a Msg QT TWTMSG QUEUE* initTWTMsg QueoT TWTMSG QUEUE pmSg Q= NULlif (NULL ==(ptMsgQ malloc(sizeof(T_ TWTMSG QUeue)goto ErrRetmemset(ptMsgQ, 0, sizeof(T TWTMSG QUEUE))return pmSg Q;Errretprintf( initTWTMsg Que Fail! ")freeTWTMsgQue(ptMsg Q)return nullPop a pvMsg packet from a msg packet queues param g is the packet queue from which to pop the pbuf@return pointer to pvMsg packet if available, NULl otherwiseT TWTMSG* TWTMsg Get(T_ TWTMSG QUEUE aT TWTMSG*//*加锁if(TWT_ QUEUE_ EMPTY(a))iReturn a NUll pointer if the queue is emptypmSg=NULL;else is The queue is not empty so return the next frame from itand adjust the read pointer accordinglypmSg=g->pvMsglq >greadg->gread =((q->gread +1)% TIMEWEIGHT_TASKQUEUE_ SIZE)/*解锁return(pmSg);Push a pmSg packet onto a pvMsg packet queue@param p is the pmsg to push onto the packet queue@param g is the packet queue.W @return 0 if successful, -1 if q is fullnt TWTMsg Send(T tWTMSg*p, T TWTMSG QUEUE *qint ret/if(!TWT_ QUEUE FULL(al)iThe queue isn t full so we add the new frame at the currentw write position and move the write pointer.g->pvMsgla->write]=pg- >write =((q->qwrite+1)% TIMEWEIGHT TASKQUEUE SIZE;ret =oThe stack is full so we are throwing away this value. Keep trackof the number of times this happensg->overflow++ret =-1://*解锁return(ret)**米**米来米***来米*半米*米*半米*米求***半*米米求半**米求半**半求半和*米*//消息分发机制//*算法是//*正常返回0,出错返回-1水米米******水*米*水**米*半*水米米冰半**水水*水米米半米冰水*米水水*水*米水水extern int RecToFile MsgProc(T_ MSG_ REC2 FILE* ptMsg);int DispatchMsg(T TWTMSG *ptMsgitif(NULl = ptMsg goto ErrRet/*dispatch msg*/switch(ptMsg->en Msg Type)case TWT PINgPoNgBuff recRecTo File Msg Procl(TMSG_REC2FE) (pmSg->pMsg);/*处理消息*/destroy Msg( pmSg;/*消毁消息breakdefault.printf("Dispatch Msg Msgtype Error! n")break.return 0ErrRetprintf("Dispatch Msg Fail! ";return-1./*buff size*/#defineP| NGPONG_ BUFF BSIZE0X20000//10*1024*1024/*10M*/*ping pong buff*///chargacPINGBUFF[PINGPONG BUFF BSIZE]; /* Ping Buff*///chargacPONGBUFF[PINGPONG_ BUFF BSIZE] *Pong Buff*/水米米*********米*水**米*半*水米米水**冰水*水米米半半水半米冰水*米水水*水*米米//*释放 ping pong buff/必然成功//*无返回木***木*水****本**水*水水*水****本水**水水****水水***本***米*水void Destroy Ping Pong Butt(T PINGPONGBUFF USE DES ptPing Pong Butt)nLoopif (NULL = pt Ping pong buffreturnfor (nLoop=0; nLooptIng BuffUse[nLoop]. pcHeadAddr)free(ptPing Pong ->t Ping BuffUse[nLoop]. pcHeadAddr)free(pt Ping pong Buff)/初始化 ping pong buff返回 pign pong buff的描述指针//*正常返回0,出错返回-1水水水水水水水水水木水木水水水水水木水木水水水水水水水水本水水水水水水水水水本水水水水水水水水水水水水水T PINGPONGBUFF USE DES InitPing Pong Buff(unsigned int n BuffSizeT PINGPONGBUFF USE DES* ptBuffDes=NULLintnLoop/*获取buf描述*if NULL==(ptBuffDes=malloc(sizeof(T PINGPONGBUFF USE DES))))goto ErrRetmemset(pt BuffDes, 0, sizeof(T_PINGPONGBUFF USE_ DES));/*分别初始化ping和pong*/for(nLoop=0; nLooptIng BuffUsenLoop pcHeadAddr =malloc n BuffSize))goto Err Ret;ptBuffDes->tIng BuffUselnLoop] nBuffSize nBuffsizeptBuffDes->tPing BuffUse[nLoop]. oFfsetptBuffDes->tPing BuffUsenLoop) eUseStatus-=BUFF WRITEABLE;pt BuffDes->eCurUseIDBUFF PINGreturn pt BuffDesErrretprintf("lnitPing Pong Buff Fail!");DestroyIng Pong Buff(pt BuffDes)turn null平**米**米*米***来米米*米*米*半米*米米米来*半米平**米米求*来*半求半来*米求*和*米*/*Reset ping pong buff//*正常返回0,出错返回-1米米米米水冰米*米米水**米米冰*米水米米米米水米水*水米米来米米x米来米米水冰来来宋来水米来米来冰#define ResetBuffUse(ptBuffuse)pt BuffUse->oFfset0pt BuffUse->eUseStatus BUFF WRITEABLEgenerate a file rec msg*正常返回消息体的指针,异常返回NULLT_MSG_REC2lGK SenFRMSB(T_BUFF_USE_DES *ptBuffUse, REC_FILE_DESLIST *ptFileListRT MSG REC2FILE KE* ptRFMsg= NULL;if(NULL ==(ptRFMsg malloc(sizeof(T_ MSG REC2 FILE)return nUllptRFMsg- >pt BuffUse pt BuffUseptRFMsg->pt Filelist ptFilelist;return ptRFMsg
- 2020-12-03下载
- 积分:1
-
台湾大学MATLAB课程郭彦甫全英文PPT课件
台湾大学MATLAB课程郭彦甫全英文PPT课件超详细的,不懂得可以加我微信问问macforyou1
- 2020-07-04下载
- 积分:1
-
matlab求已知数据点的拉格朗日插值多项式
求已知数据点的拉格朗日插值多项式matlab源代码
- 2020-12-07下载
- 积分:1
-
mfc界面及示波器程序源码
程序为一示波器源代码,其界面很漂亮。还有一mfc界面编程实例,里面有丰富的实例源码,相信对各位的学习有很大的帮助
- 2020-12-02下载
- 积分:1
-
5G Mobile and Wireless Communications Technology
关于5G通信和无线传输的相关知识5G Mobile and wirelessCommunications TechnologyEDITED BYAFIF OSSEIRANEricssonJOSE F MONSERRATUniversitat politecnica de valenciaPATRICK MARSCHCAMBRIDGEUNIVERSITY PRESSCAMBRIDGEUNIVERSITY PRESSUniversity Printing House, Cambridge CB2 8BS, United KingdomCambridge University Press is part of the University of CambridgeIt furthers the Universitys mission by disseminating knowledge in the pursuit ofeducation learning and research at the highest international levels of excellencewww.cambridge.orgInformationonthistitlewww.cambridge.org/9781107130098C Cambridge University Press 2016This publication is in copyright. Subject to statutory exceptionand to the provisions of relevant collective licensing agreementsno reproduction of any part may take place without the writtenpermission of Cambridge University PressFirst published 2016Printed in the United Kingdom by TJ International Ltd. Padstow Cornwalla catalogue record for this publication is available from the british libraryLibrary of Congress Cataloguing in Publication dataOsseiran. Afif editor5G mobile and wireless communications technology /[edited by] Afif Osseiran, EricssonJose F monserrat, Polytechnic University of Valencia, Patrick Marsch, Nokia NetworksNew York: Cambridge University Press, 2016LCCN2015045732|ISBN978110713009( hardback)LCSH: Global system for mobile communications. Mobile communication systems- StandardsLCC TK5103483A152016DDC62138456dc23Lcrecordavailableathttp://icCn.loc.gov/2015045732IsBN 978-1-107-13009-8 HardbackCambridge University Press has no responsibility for the persistence or accuracy ofURLS for external or third- party internet websites referred to in this publicationand does not guarantee that any content on such websites is, or will remainaccurate or appropriateTo my new born son S, my twin sons H& N, my wife L s-y for her unwaveringencouragement, and in the memory of a great lady my aunt K eA OsseiranTo my son, the proud fifth generation of the name Jose Monserrat. And with thewarmest love to my daughter and wife, for being always there.E MonserratTo my two small sons for their continuous energetic entertainment, and my dearwife for her amazing patience and support.P MarschContentsList of contributorspage xIvForewordAcknowledgmentsXIXAcronymsXXIIIntroduction1. 1 Historical background1.1.1 Industrial and technological revolution: from steam enginesto the internet1. 1.2 Mobile communications generations: from IG to 4G1.1.3 From mobile broadband ( mbb) to extreme MBB1. 1.4 IoT: relation to 5G1.2 From ICT to the whole economy6771.3 Rationale of 5G: high data volume, twenty-five billion connecteddevices and wide requirements1.3.1 Security1.4 Global initiatives1. 4.1 METIS and the 5G-PPP1. 4.2 China: 5G promotion group2241. 4.3 Korea: 5G Forum141. 4.4 Japan: ARIB 2020 and Beyond Ad Hoc1. 4.5 Other 5G initiatives14.6 Iot activities1.5 Standardization activities445551.5.1ITU-R1.5.23GPP161.5.3 EEE161.6 Scope of the book16References185G use cases and system concept212. 1 Use cases and requirements212.1.1 Use cases212. 1.2 Requirements and key performance indicatorsContents2.2 5G system concept322.2.1 Concept overview322. 2.2 Extreme mobile broadband342.2.3 Massive machine-type communication362.2.4 Ultra-reliable machine-type communication382.2.5 Dynamic radio access network392.2.6 Lean system control plane432. 2. 7 Localized contents and traffic flows52.2.8 Spectrum toolbox2. 3 Conclusions48References48The 5g architecture503.1 Introduction503.1.1 NFV and SDN503.1.2 Basics about ran architecture533.2 High-level requirements for the 5G architecture563.3 Functional architecture and 5g flexibility573.3.1 Functional split criteria583.3.2 Functional split alternatives593.3.3 Functional optimization for specific applications3.3.4 Integration of lte and new air interface to fulfill 5Grequirements3.3.5 Enhanced Multi-RAT coordination features663. 4 Physical architecture and 5G deployment3.4.1 Deployment enablers673.4.2 Flexible function placement in 5G deployments713.5 Conclusions74References75Machine-type communications774.1 Introduction774.1.1 Use cases and categorization of mto774.1.2 MTC requirements804.2 Fundamental techniques for MTC834.2.1 Data and control for short packets834.2.2 Non-orthogonal access protocols854.3 Massive mtc864.3.1 Design principles864.3.2 Technology components864.3. 3 Summary of mMTC features944.4 Ultra-reliable low-latency MTC944.4. 1 Design principles944.4.2 Technology componentsContents4.4.3 Summary of uMTC features1014.5 Conclusions102References103Device-to-device(D2D)communications1075.1 D2D: from 4G to 5G1075.1.1 D2D standardization: 4G LTE D2D1095.1. 2 D2D in 5G: research challenges1125.2 Radio resource management for mobile broadband D2D1135.2.1 RRM techniques for mobile broadband d2d5.2.2 RRM and system design for D2D1145.2.3 5G D2D RRM concept: an example5.3 Multi-hop d2d communications for proximity and emergencyservices1205.3.1 National security and public safety requirements in 3GPPand Metis1215.3.2 Device discovery without and with network assistance125.3.3 Network-assisted multi-hop d2d communications1225.3.4 Radio resource management for multi-hop D2D1245.3.5 Performance of D2D communications in the proximitcommunications scenario1255. 4 Multi-operator d2d communication1275.4.1 Multi-operator D2D discovery275.4.2 Mode selection for multi-operator D2D1285.4.3 Spectrum allocation for multi-operator D2D295.5 Conclusions133References1346Millimeter wave communications1376. 1 Spectrum and regulations1376.2 Channel propagation1396.3 Hardware technologies for mm W systems1396.3.1 Device technology1396.3.2 Antennas1426.3.3 Beamforming architecture1436.4 Deployment scenarios6. 5 Architecture and mobility1466.5.1 Dual connectivit1476.5.2 Mobility1476.6 Beamforming1496.6. 1 Beamforming techniques1496.6.2 Beam finding1506.7 Physical layer techniques1526.7.1 Duplex scheme152
- 2020-12-06下载
- 积分:1
-
svm分类器的实现 (matlab)
数据挖掘中svm分类器的实现,在matlab中编写
- 2020-12-06下载
- 积分:1
-
OFDM迭代注水算法
注水算法的基本仿真,以及迭代注水算法,与平均注水的比较
- 2020-12-05下载
- 积分:1