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

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

?? pic.c

?? nucleas source code
?? C
?? 第 1 頁 / 共 5 頁
字號:
                    destination++;
                } while (1);
            }
            else
            {

                /* Copy the first half of the message.  */
                i =  (INT) copy_size;
                do
                {
                    *(destination++) =  *(source);
                    if ((--i) ==  0)
                        break;
                    source++;
                } while (1);

                /* Copy the second half of the message.  */
                source =  pipe -> pi_start;
                i =  (INT) (size - copy_size);
                do
                {
                    *(destination) =  *(source++);
                    if ((--i) == 0)
                        break;
                    destination++;
                } while (1);
            }
        }

        /* Check again for wrap-around condition on the read pointer. */
        if (source >= pipe -> pi_end)

            /* Move the read pointer to the top of the pipe area.  */
            source =  pipe -> pi_start;

        /* Determine if the pipe supports variable-length messages.  If
           so, pad bytes are needed to keep UNSIGNED alignment.  */
        if (pad)
        {

            /* Variable-size message.  Add pad bytes to the read
               pointer.  */

            /* Calculate the number of bytes remaining from the read
               pointer to the bottom of the pipe.  */
            copy_size =  pipe -> pi_end - source;

            /* If there is not enough room at the bottom of the pipe, the
               pad bytes must be wrapped around to the top.  */
            if (copy_size <= pad)

                /* Move read pointer to the top of the pipe and make the
                   necessary adjustment.  */
                source =  pipe -> pi_start + (pad - copy_size);
            else

                /* There is enough room in the pipe to simply add the
                   the pad bytes to the read pointer.  */
                source =  source + pad;

            /* Add pad bytes to the available bytes count.  */
            pipe -> pi_available =  pipe -> pi_available + pad;
        }

        /* Adjust the actual read pointer.  */
        pipe -> pi_read =  source;

        /* Increment the number of available bytes.  */
        pipe -> pi_available =  pipe -> pi_available + size;

        /* Decrement the number of messages in the pipe.  */
        pipe -> pi_messages--;

        /* Return the number of bytes received.  */
        *actual_size =  size;

#ifdef INCLUDE_PROVIEW
        _RTProf_DumpPipe(RT_PROF_RECEIVE_FROM_PIPE,pipe,RT_PROF_OK);
#endif /* INCLUDE_PROVIEW */

        /* Determine if any tasks suspended on a full pipe can be woken
           up.  */
        if (pipe -> pi_suspension_list)
        {

            /* Pickup the suspension list and examine suspension blocks
               to see if the message could now fit in the pipe.  */
            suspend_ptr =  pipe -> pi_suspension_list;
            preempt =      NU_FALSE;
            size =         suspend_ptr -> pi_message_size;
            i =            0;
            pad =          0;

            /* Overhead of each pipe message.  */
            if (!pipe -> pi_fixed_size)
            {

                /* Variable messages have one additional word of overhead.  */
                i =  sizeof(UNSIGNED);

                /* Calculate the number of pad bytes necessary to keep
                   the pipe write pointer on an UNSIGNED data element
                   alignment.  */
                pad =  (((size + sizeof(UNSIGNED) - 1)/sizeof(UNSIGNED)) *
                                        sizeof(UNSIGNED)) - size;

                /* Insure that padding is included in the overhead.  */
                i =  i + ((INT) pad);
            }

            while ((suspend_ptr) && ((size + i) <= pipe -> pi_available))
            {

                /* Place the suspended task's message into the pipe.  */

                /* Setup the source and destination pointers.  */
                source =       suspend_ptr -> pi_message_area;
                destination =  pipe -> pi_write;

                /* Process according to the type of message supported.  */
                if (pipe -> pi_fixed_size)
                {

                    /* Fixed-size messages are supported by this pipe.  */

                    /* Loop to copy the message into the pipe area.  */
                    i =  (INT) size;
                    do
                    {
                        *(destination++) =  *(source);
                        if ((--i) ==   0)
                            break;
                        source++;
                    } while (1);
                }
                else
                {

                    /* Variable-size messages are supported.  Processing must
                       check for pipe wrap-around conditions.  */

                    /* Place message size in first location.  */
                    *((UNSIGNED *) destination) =  size;
                    destination =  destination + sizeof(UNSIGNED);

                    /* Check for a wrap-around condition on the pipe.  */
                    if (destination >= pipe -> pi_end)

                        /* Wrap the write pointer back to the top of the pipe
                           area.  */
                        destination =  pipe -> pi_start;

                    /* Decrement the number of bytes remaining for this
                       extra word of overhead.  */
                    pipe -> pi_available =  pipe -> pi_available -
                                                        sizeof(UNSIGNED);

                    /* Calculate the number of bytes remaining from the write
                       pointer to the bottom of the pipe.  */
                    copy_size =  pipe -> pi_end - destination;

                    /* Determine if the message needs to be wrapped around the
                       edge of the pipe area.  */
                    if (copy_size >= size)
                    {

                        /* Copy the whole message at once.  */
                        i =  (INT) size;
                        do
                        {
                            *(destination++) =  *(source);
                            if ((--i) == 0)
                                break;
                            source++;
                        } while (1);
                    }
                    else
                    {

                        /* Copy the first half of the message.  */
                        i =  (INT) copy_size;
                        do
                        {
                            *(destination) =  *(source++);
                            if ((--i) == 0)
                                break;
                            destination++;
                        } while (1);

                        /* Copy the second half of the message.  */
                        destination =  pipe -> pi_start;
                        i =  (INT) (size - copy_size);
                        do
                        {
                            *(destination++) =  *(source);
                            if ((--i) == 0)
                                break;
                            source++;
                        } while (1);
                    }
                }

                /* Check again for wrap-around condition on the write
                   pointer. */
                if (destination >= pipe -> pi_end)

                    /* Move the write pointer to the top of the pipe area.  */
                    destination =  pipe -> pi_start;

                /* Determine if the pipe supports variable-length messages.  If
                   so, pad bytes are needed to keep UNSIGNED alignment.  */
                if (pad)
                {

                    /* Variable-size message.  Add pad bytes to the write
                       pointer.  */

                    /* Calculate the number of bytes remaining from the write
                       pointer to the bottom of the pipe.  */
                    copy_size =  pipe -> pi_end - destination;

                    /* If there is not enough room at the bottom of the pipe,
                       the pad bytes must be wrapped around to the top.  */
                    if (copy_size <= pad)

                        /* Move write pointer to the top of the pipe and make
                           the necessary adjustment.  */
                        destination =  pipe -> pi_start + (pad - copy_size);
                    else

                        /* There is enough room in the pipe to simply add
                           the pad bytes to the write pointer.  */
                        destination =  destination + pad;

                    /* Decrement the number of available bytes.  */
                    pipe -> pi_available =  pipe -> pi_available - pad;
                }

                /* Update the actual write pointer.  */
                pipe -> pi_write =  destination;

                /* Decrement the number of available bytes.  */
                pipe -> pi_available =  pipe -> pi_available - size;

                /* Increment the number of messages in the pipe.  */
                pipe -> pi_messages++;

                /* Decrement the number of tasks waiting counter.  */
                pipe -> pi_tasks_waiting--;

                /* Remove the first suspended block from the list.  */
                CSC_Remove_From_List((CS_NODE **)
                    &(pipe -> pi_suspension_list),
                                &(suspend_ptr -> pi_suspend_link));

                /* Return a successful status.  */
                suspend_ptr -> pi_return_status =  NU_SUCCESS;

                /* Resume the suspended task.  */
                preempt =  preempt |
                 TCC_Resume_Task((NU_TASK *) suspend_ptr -> pi_suspended_task,
                                                       NU_PIPE_SUSPEND);

                /* Setup suspend pointer to the head of the list.  */
                suspend_ptr =  pipe -> pi_suspension_list;

                /* Determine if there really is another suspended block.  If
                   there is and the pipe supports variable length messages,
                   calculate new size and padding parameters.  */
                if ((suspend_ptr) && (!pipe -> pi_fixed_size))
                {

                    /* Get the next message size.  */
                    size =   suspend_ptr -> pi_message_size;

                    /* Variable messages have one additional word of
                       overhead.  */
                    i =  sizeof(UNSIGNED);

                    /* Calculate the number of pad bytes necessary to
                       keep the pipe write pointer on an UNSIGNED data element
                       alignment.  */
                    pad =  (((size + sizeof(UNSIGNED) - 1)/sizeof(UNSIGNED)) *
                                          sizeof(UNSIGNED)) - size;

                    /* Insure that padding is included in the overhead.  */
                    i =  i + ((INT

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
尤物av一区二区| 日本中文字幕一区二区有限公司| 亚洲一区二区三区视频在线播放 | 成人app在线| 欧美日韩中文一区| 欧美激情一区二区三区| 亚洲电影第三页| 成人黄色片在线观看| 6080yy午夜一二三区久久| 国产精品人妖ts系列视频| 久久精品久久99精品久久| 色婷婷国产精品综合在线观看| 欧美mv日韩mv| 亚洲男女一区二区三区| 国产经典欧美精品| 精品国产123| 日韩不卡免费视频| 欧美写真视频网站| 亚洲精选视频在线| 成人黄色网址在线观看| 国产视频亚洲色图| 九色综合狠狠综合久久| 91精品国产综合久久久久| 亚洲一区二区av在线| 色综合天天综合网天天狠天天| 国产日韩欧美a| 精品写真视频在线观看| 日韩一级黄色大片| 美日韩黄色大片| 日韩欧美一二区| 国产做a爰片久久毛片| 日韩欧美电影一区| 激情综合色播激情啊| 欧美一级二级在线观看| 日本aⅴ精品一区二区三区 | 性做久久久久久| 欧美性三三影院| 亚洲午夜激情av| 欧美日韩精品一二三区| 日本三级亚洲精品| 日韩免费高清电影| 国产精品亚洲专一区二区三区| 久久亚洲影视婷婷| 懂色av中文一区二区三区| 国产视频一区在线播放| 99免费精品在线观看| 亚洲天堂精品在线观看| 91国在线观看| 日韩av中文字幕一区二区| 91精品国产手机| 国产自产v一区二区三区c| 国产日韩视频一区二区三区| 99久久er热在这里只有精品66| 日韩美女久久久| 欧美亚洲国产一区在线观看网站| 五月婷婷另类国产| 精品国产在天天线2019| 国产成人啪免费观看软件 | 亚洲日本韩国一区| 欧美午夜电影网| 精品无人区卡一卡二卡三乱码免费卡| 久久久精品黄色| 91成人免费电影| 麻豆成人av在线| 久久精品久久99精品久久| 欧美精品国产精品| 国产精品女主播在线观看| 欧美一区午夜视频在线观看| 亚洲影院理伦片| 国产在线精品一区二区夜色| 理论片日本一区| 欧美精品在线一区二区| 国产精品国产a| 丰满少妇久久久久久久| 亚洲国产高清aⅴ视频| 美脚の诱脚舐め脚责91| 伊人夜夜躁av伊人久久| 丁香一区二区三区| 一区二区三区精品在线观看| 欧美性大战久久久| 日本韩国欧美一区| 免费成人在线视频观看| 精品国产91乱码一区二区三区 | 欧美一区2区视频在线观看| 亚洲午夜在线观看视频在线| 欧美经典一区二区| 精品亚洲国产成人av制服丝袜| 国产精品入口麻豆原神| 欧美影片第一页| 欧美xxxxxxxxx| 国产精品一区二区x88av| 亚洲一区二区av在线| 久久久av毛片精品| 久久久青草青青国产亚洲免观| 免费的成人av| 婷婷国产v国产偷v亚洲高清| 国产精品传媒入口麻豆| 国产日韩精品一区二区三区| 91免费观看视频| 91日韩在线专区| 国产老女人精品毛片久久| 欧美亚洲一区二区在线| 亚洲国产精品久久艾草纯爱| 久久精品日产第一区二区三区高清版 | 日韩中文字幕91| 日韩一区二区三区四区| av成人免费在线观看| 91色婷婷久久久久合中文| 97久久人人超碰| 色欧美片视频在线观看 | 精品一区免费av| 福利一区在线观看| 欧美中文字幕一区| 2017欧美狠狠色| 亚洲欧美激情小说另类| 午夜日韩在线电影| 美女网站视频久久| 99精品视频在线播放观看| 欧美乱妇20p| 久久精品一区四区| 一级日本不卡的影视| 激情六月婷婷久久| 日本韩国欧美国产| 久久久久国色av免费看影院| 亚洲一区免费观看| 粉嫩绯色av一区二区在线观看| 在线视频欧美精品| 精品成人在线观看| 亚洲精品你懂的| 国内精品伊人久久久久影院对白| 97久久精品人人爽人人爽蜜臀| 欧美日韩一二区| 国产精品久线在线观看| 手机精品视频在线观看| 成人免费视频caoporn| 91精品中文字幕一区二区三区| 中文字幕第一区综合| 免费观看91视频大全| 99re热视频精品| 久久久久久久久伊人| 婷婷综合另类小说色区| 波多野洁衣一区| 久久久久久久久久久久久久久99| 午夜精品福利一区二区三区av| 成人激情电影免费在线观看| 精品三级av在线| 日本视频在线一区| 欧美视频第二页| 亚洲欧美国产77777| 成人中文字幕合集| 精品av久久707| 久久九九国产精品| 欧美在线观看一区二区| 国产精品家庭影院| 欧美激情一区二区三区| 久久se精品一区二区| 欧美亚洲动漫制服丝袜| 亚洲欧美日韩在线| 风间由美中文字幕在线看视频国产欧美| 91精品国产综合久久久久久 | 日韩理论片在线| 国产黄色91视频| 久久久精品国产99久久精品芒果| 免费精品视频在线| 欧美zozo另类异族| 经典三级一区二区| 精品黑人一区二区三区久久| 蜜臀精品久久久久久蜜臀| 欧美电视剧在线看免费| 美女尤物国产一区| 久久这里只有精品视频网| 久久国产福利国产秒拍| 精品国产成人在线影院| 久久99精品久久久久久久久久久久| 亚洲综合偷拍欧美一区色| 色呦呦网站一区| 欧美a级理论片| 久久精品国产免费看久久精品| 555夜色666亚洲国产免| av在线不卡观看免费观看| 亚洲国产美国国产综合一区二区| 欧美一区二区三区在线看| 成人动漫av在线| 99久久综合国产精品| 一区二区久久久久久| 久久亚洲捆绑美女| 欧美高清在线精品一区| 亚洲一区二区精品3399| 欧美性感一区二区三区| 日韩精品电影一区亚洲| 日韩精品一区二区三区视频播放| 久久99国产精品久久99果冻传媒| 久久久精品天堂| 99精品国产99久久久久久白柏| 亚洲精品视频在线观看免费| 欧美丰满少妇xxxxx高潮对白| 久久精品国产精品亚洲红杏| 中文一区二区在线观看| 91成人免费在线| 久久成人麻豆午夜电影|