亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? opsensem.nc

?? tinios的 源碼
?? NC
字號:
/*									tab:4 * * * "Copyright (c) 2000-2002 The Regents of the University  of California.   * All rights reserved. * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose, without fee, and without written * agreement is hereby granted, provided that the above copyright * notice, the following two paragraphs and the author appear in all * copies of this software. *  * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS * DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *  * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE * PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF * CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, * UPDATES, ENHANCEMENTS, OR MODIFICATIONS." * *//*									tab:4 *									 *  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. *  By downloading, copying, installing or using the software you *  agree to this license.  If you do not agree to this license, do *  not download, install, copy or use the software. * *  Intel Open Source License  * *  Copyright (c) 2002 Intel Corporation  *  All rights reserved.  *  Redistribution and use in source and binary forms, with or without *  modification, are permitted provided that the following conditions are *  met: *  *	Redistributions of source code must retain the above copyright *  notice, this list of conditions and the following disclaimer. *	Redistributions in binary form must reproduce the above copyright *  notice, this list of conditions and the following disclaimer in the *  documentation and/or other materials provided with the distribution. *      Neither the name of the Intel Corporation nor the names of its *  contributors may be used to endorse or promote products derived from *  this software without specific prior written permission. *   *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *  ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *  PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE INTEL OR ITS *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *  *  *//* * Authors:   Philip Levis <pal@cs.berkeley.edu> * History:   Apr 14, 2003         Inception. * *//** * @author Philip Levis <pal@cs.berkeley.edu> */includes Bombilla;module OPsenseM {    provides {    interface StdControl;    interface BombillaBytecode;  }    uses {    interface BombillaStacks as Stacks;    interface BombillaTypes as Types;    interface BombillaQueue as Queue;    interface BombillaError as Error;    interface BombillaContextSynch as Synch;    interface StdControl as PhotoControl;    interface BombillaVirus as Virus;        interface ADC as Sensors[uint8_t types];  }}implementation {#define NO_SUCH_SENSOR 34  BombillaQueue senseWaitQueue;  BombillaContext* sensingContext;  uint8_t waitingSensor;    // A pointer to the readyQueue of the VM which the context  // mid-sensing belongs to.  BombillaQueue* readyQueue;  uint16_t reading;    command result_t StdControl.init() {    call PhotoControl.init();    call Queue.init(&senseWaitQueue);    atomic {      sensingContext = NULL;      waitingSensor = 255;    }    return SUCCESS;  }    command result_t StdControl.start() {    return SUCCESS;  }    command result_t StdControl.stop() {    return SUCCESS;  }      inline result_t execSense(BombillaContext* context,                            uint8_t which) {    BombillaQueue* queue = &senseWaitQueue;    if (sensingContext != NULL) {      call Stacks.pushValue(context, which);      context->state = BOMB_STATE_SENSE_WAIT;      call Queue.enqueue(context, queue, context);      return SUCCESS;    }    else {      result_t rval;      dbg(DBG_USR1, "VM (%i): Sensing %i.\n", (int)context->which, (int)which);      rval = call Sensors.getData[which]();      if (rval == SUCCESS) {        atomic {	  waitingSensor = which;	  sensingContext = context;	}        context->state = BOMB_STATE_SENSE;        return SUCCESS;      }      else if (rval == NO_SUCH_SENSOR) {	dbg(DBG_ERROR, "VM (%i): Sensor type %i not supported yet.\n", (int)context->which, (int)which);	call Error.error(context, BOMB_ERROR_INVALID_SENSOR);	return FAIL;      }      else { // re-issue the instruction	dbg(DBG_ERROR, "VM (%i): Sensor busy, reissue.\n", (int)context->which);	call Stacks.pushValue(context, which);	context->pc--;	return FAIL;      }    }  }  task void senseDoneTask();    command result_t BombillaBytecode.execute(uint8_t instr,                                            BombillaContext* context) {    BombillaStackVariable* arg = call Stacks.popOperand(context);    dbg(DBG_USR1, "VM (%i): Sensing.\n", (int)context->which);    if (!call Types.checkTypes(context, arg, BOMB_VAR_V)) {return FAIL;}        // select a sensor here    if (execSense(context, arg->value.var) == SUCCESS) {      call Synch.releaseLocks(context, context);      call Synch.yieldContext(context);    }    return SUCCESS;  }  async event result_t Sensors.dataReady[uint8_t id](uint16_t datum) {    bool isMine;    atomic {      isMine = (id == waitingSensor) && (sensingContext != NULL);    }    if (isMine) {      atomic {	reading = datum;      }      post senseDoneTask();    }    return SUCCESS;  }  task void senseDoneTask() {    BombillaContext* senser = sensingContext;    BombillaQueue* queue = &senseWaitQueue;    uint16_t datum;    atomic {      datum = reading;    }    dbg(DBG_USR1, "VM: Sensor reading: %i\n", (int)datum);        if (sensingContext != NULL) {      // Resume the sensing context      call Synch.resumeContext(sensingContext, sensingContext);      call Stacks.pushReading(sensingContext, waitingSensor, datum);      atomic {	sensingContext = NULL;      }    }    if (!call Queue.empty(queue)) {      senser = call Queue.dequeue(senser, queue);      if (senser != NULL &&          senser->state != BOMB_STATE_SENSE_WAIT) {        call Error.error(senser, BOMB_ERROR_QUEUE_INVALID);        return;      }      senser->state = BOMB_STATE_RUN;      call Synch.resumeContext(senser, senser);    }    return;  }    default async command result_t Sensors.getData[uint8_t which]() {    return NO_SUCH_SENSOR;  }  event result_t Synch.makeRunnable(BombillaContext* context) {    return SUCCESS;  }  event result_t Virus.capsuleInstalled(BombillaCapsule* capsule) {    atomic {      sensingContext = NULL;      waitingSensor = 255;      call Queue.init(&senseWaitQueue);    }    return SUCCESS;  }  event result_t Virus.enableExecution() {    return SUCCESS;  }  event result_t Virus.disableExecution() {    return SUCCESS;  }  event result_t Virus.capsuleHeard(uint8_t type) {    return SUCCESS;  }  event void Virus.capsuleForce(uint8_t type) {    return;  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产91精品免费| 91精品久久久久久久99蜜桃| 中文字幕一区免费在线观看| av电影一区二区| 国产日韩欧美a| 成人性生交大合| 日韩一区有码在线| 91精彩视频在线| 亚洲欧美日韩一区| 欧美日韩在线一区二区| 精油按摩中文字幕久久| 久久久国际精品| 色综合激情五月| 日本欧美韩国一区三区| 久久亚洲精品小早川怜子| 91丨九色丨黑人外教| 日韩福利视频导航| 国产精品白丝在线| 亚洲精品一区在线观看| 97精品国产露脸对白| 美美哒免费高清在线观看视频一区二区| 欧美大胆一级视频| 欧美在线一区二区三区| 国产精品99久久久久久有的能看| 一区二区三区国产精华| 国产色一区二区| 久久久精品天堂| 91精品免费在线| 欧美伊人久久大香线蕉综合69| 精品一区二区三区在线观看| 精品国产1区二区| 欧美一区二区三区思思人| 欧美性生交片4| 在线观看三级视频欧美| 欧美丝袜丝交足nylons图片| 日本韩国欧美一区二区三区| 国产69精品久久777的优势| 国产ts人妖一区二区| 国产精品香蕉一区二区三区| 国产**成人网毛片九色| 国产成人免费视频网站| 成人高清av在线| 91麻豆6部合集magnet| 欧美日韩国产高清一区二区三区| 色吊一区二区三区 | 综合自拍亚洲综合图不卡区| 精品美女在线播放| 国产欧美日韩视频一区二区| 中文字幕精品三区| 亚洲一区二区三区自拍| 视频一区国产视频| 国产麻豆精品theporn| av成人老司机| 日韩欧美电影在线| 国产精品对白交换视频| 亚洲成人tv网| av在线这里只有精品| 欧美一级一区二区| 中文字幕综合网| kk眼镜猥琐国模调教系列一区二区| 一区二区国产盗摄色噜噜| 亚洲一卡二卡三卡四卡| 五月激情六月综合| 韩国精品一区二区| 极品少妇xxxx精品少妇| 久久国产精品无码网站| 在线观看视频一区二区| 国产精品午夜久久| 日韩主播视频在线| 在线亚洲一区二区| 欧美国产综合一区二区| 韩国三级在线一区| 91精品国产aⅴ一区二区| 一区二区在线看| jiyouzz国产精品久久| 亚洲国产成人一区二区三区| 国产一区二区三区av电影 | 美女网站视频久久| 欧美巨大另类极品videosbest| 国产精品国产自产拍在线| 国产美女娇喘av呻吟久久| 欧美精品一区二区精品网| 国产在线精品视频| 国产精品视频一区二区三区不卡| 国产福利精品一区二区| 国产日产欧美一区二区视频| 成人小视频在线| 国产精品电影一区二区| 成人av高清在线| 日韩制服丝袜先锋影音| 久久这里都是精品| 不卡一区二区三区四区| 亚洲a一区二区| 日韩女优av电影在线观看| 国内欧美视频一区二区| 综合婷婷亚洲小说| 日韩欧美的一区| 色哟哟精品一区| 亚洲国产精品久久久久秋霞影院| 欧美日韩亚洲国产综合| 成人综合在线观看| 麻豆精品国产传媒mv男同| 国产精品国产三级国产普通话99| 欧美精品国产精品| 99久久精品国产网站| 激情图片小说一区| 五月天精品一区二区三区| 国产午夜精品美女毛片视频| 欧美日本国产一区| 色一区在线观看| 色综合天天视频在线观看 | 欧美一区永久视频免费观看| jiyouzz国产精品久久| 国产在线精品国自产拍免费| 蜜臂av日日欢夜夜爽一区| 亚洲国产综合色| 亚洲美女电影在线| 亚洲品质自拍视频| 亚洲免费在线观看| 国产精品久久国产精麻豆99网站| 欧美成人精品福利| wwwwww.欧美系列| 久久精品一级爱片| 国产精品国产精品国产专区不片 | 成人av网在线| 色网综合在线观看| 欧美网站大全在线观看| 欧美日本在线播放| 日韩久久久精品| 欧美经典三级视频一区二区三区| 精品国产乱码久久久久久牛牛| 欧美不卡123| 最新高清无码专区| 蜜臀av一级做a爰片久久| 国产在线播放一区三区四| 成人精品一区二区三区四区| 日本丶国产丶欧美色综合| 欧美一级日韩免费不卡| 国产精品乱码一区二区三区软件| 亚洲自拍偷拍欧美| 国产精品综合久久| 欧美日韩国产一区| 中文字幕+乱码+中文字幕一区| 亚洲免费电影在线| 成人免费的视频| 日韩精品中午字幕| 亚洲成人av一区| 99久久精品国产精品久久 | 久久久久亚洲蜜桃| 亚洲3atv精品一区二区三区| 国产毛片精品国产一区二区三区| 91黄视频在线| ㊣最新国产の精品bt伙计久久| 日日夜夜免费精品视频| 成人av免费网站| 国产三级欧美三级日产三级99| 亚洲一卡二卡三卡四卡五卡| 99国产精品久久久久久久久久 | 日韩一级免费一区| 亚洲一区二区黄色| 欧美午夜电影一区| 日韩影院在线观看| 在线播放91灌醉迷j高跟美女| 有码一区二区三区| 色域天天综合网| 亚洲大型综合色站| 精品视频1区2区| 蜜臀99久久精品久久久久久软件| 欧美精品在线一区二区三区| 日本成人在线电影网| 欧美大片国产精品| 成人黄色av网站在线| 一区二区三区视频在线看| 欧美久久久久久久久| 国产精品1024| 五月天久久比比资源色| 久久嫩草精品久久久精品一| 懂色av噜噜一区二区三区av| 一区二区在线观看免费| 欧美一级片免费看| 99精品桃花视频在线观看| 亚洲国产人成综合网站| 久久精品在线免费观看| 91久久免费观看| 国产成人亚洲综合a∨婷婷| 亚洲三级在线免费| 日韩亚洲欧美高清| 欧美三区在线观看| 成人理论电影网| 国内外成人在线| 日韩精品三区四区| 亚洲美女淫视频| 日韩理论片中文av| 久久久www成人免费无遮挡大片| 欧美日韩国产小视频在线观看| 韩国精品在线观看| 国产麻豆欧美日韩一区| 久久精品国产澳门| 久久99精品国产麻豆婷婷洗澡| 亚洲欧美色一区|