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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? databuffer.h

?? 彩信瀏覽器
?? H
字號(hào):
/* * This file is part of Ambulant Player, www.ambulantplayer.org. * * Copyright (C) 2003-2007 Stichting CWI,  * Kruislaan 413, 1098 SJ Amsterdam, The Netherlands. * * Ambulant Player is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * Ambulant Player is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with Ambulant Player; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */  #ifndef AMBULANT_NET_DATABUFFER_H#define AMBULANT_NET_DATABUFFER_H#include "ambulant/config/config.h"#include "ambulant/lib/mtsync.h"//////////////////////////////////////#ifndef AMBULANT_NO_IOSTREAMS_HEADERS#include <iostream>#ifndef AMBULANT_NO_OSTREAM#include <ostream>#else /*AMBULANT_NO_OSTREAM*/#include <ostream.h>#endif/*AMBULANT_NO_OSTREAM*/#endif // AMBULANT_NO_IOSTREAMS_HEADERS//////////////////////////////////////namespace ambulant {namespace net {typedef char bytes; /// Class to hold data bytes./// Data can be pushed in (at the back) and pulled out (at the/// front), and it is possible to set the maximum size of the/// buffer. In addition you can control when to free the unused space/// in the buffer.class AMBULANTAPI databuffer  {							  public:	// constructors	databuffer(int max_size=0);		// destructor	~databuffer();	#ifndef AMBULANT_NO_IOSTREAMS_HEADERS	// show information about the buffer, if verbose is true the buffer contents are dumped to cout.	void dump(std::ostream& os, bool verbose) const;		#endif // AMBULANT_NO_IOSTREAMS_HEADERS		/// Returns the number of bytes in the buffer.	/// Cannot be called between get_read_ptr/readdone.	int  size() const;		/// Return true if the buffer is full. 	bool buffer_full();	/// Return true if the buffer is non-empty.    bool buffer_not_empty();		/// Prepare to write size bytes of data.	/// Returns a pointer at which the bytes can be written.	char* get_write_ptr(int size);		/// Finish writing data.	/// Size must be less or equal to the size passed to the get_write_ptr call.	void  pushdata(int size);	/// Prepare to read data.	/// Returns a pointer from which at most size() bytes can be read.    char* get_read_ptr();			/// Finish reading data.	void readdone(int size);		/// Set the maximum size for the buffer.	/// When the buffer becomes this full buffer_full() will start returning true.	/// Pass zero to set the size to unlimited.	void set_max_size(int max_size);		/// Set the maximum unused size of the buffer.	/// As soon as this many unused bytes are occupied by the buffer	/// we reallocate and copy the data to free the unused space.	void set_max_unused_size(int max_unused_size);	/// Class method to set default value for max_size.	static void default_max_size(int max_size);		/// Class method to set default for max_unused_size.	static void default_max_unused_size(int max_unused_size);  private:	// Add space to the end of the buffer	void _grow(int sz);	    char* m_buffer;			// Our databuffer    bool m_reading;			// True between get_read_ptr/readdone	bool m_writing;			// True between get_write_ptr/pushdata  	char* m_old_buffer;		// An old buffer, to be removed in readdone	unsigned long int m_rear;	unsigned long int m_size; 	unsigned long int m_max_size;	unsigned long int m_max_unused_size;	unsigned long int m_used;	bool m_buffer_full;	lib::critical_section m_lock;		static long int s_default_max_size;	static long int s_default_max_unused_size;};#ifndef AMBULANT_NO_IOSTREAMS_HEADERSinline std::ostream& operator<<(std::ostream& os, const databuffer& n) {		os << "databuffer(" << (void *)&n << ", used=" << n.size() << ")";		return os;	}#endif // AMBULANT_NO_IOSTREAMS_HEADERS	} // end namespace net} //end namespace ambulant	#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产日韩欧美综合在线| 日韩欧美视频一区| 成人激情小说网站| 国产.欧美.日韩| www.成人网.com| 99视频超级精品| 欧美色倩网站大全免费| 欧美人与z0zoxxxx视频| 欧美精品久久99久久在免费线 | 日韩电影免费一区| 日产欧产美韩系列久久99| 丝袜国产日韩另类美女| 日韩国产高清在线| 狠狠久久亚洲欧美| av一区二区不卡| 欧美喷潮久久久xxxxx| 欧美一区二区网站| 欧美国产激情一区二区三区蜜月| 国产亚洲一本大道中文在线| 中文字幕免费不卡在线| 亚洲一区二区三区四区在线| 日产国产高清一区二区三区| 国产激情一区二区三区| 色88888久久久久久影院按摩| 欧美日韩综合色| 精品国产乱码久久久久久牛牛| 久久久久国产成人精品亚洲午夜| 成人欧美一区二区三区视频网页| 亚洲第一主播视频| 国产二区国产一区在线观看| 日本高清无吗v一区| 日韩欧美一二三四区| 中文字幕亚洲综合久久菠萝蜜| 亚洲成人一区二区在线观看| 国产一区二区在线影院| 日本精品视频一区二区| 精品国产一区二区三区久久久蜜月 | 成年人网站91| 日韩一区二区免费在线观看| 国产精品丝袜一区| 日韩黄色免费网站| 91在线观看免费视频| 日韩午夜在线播放| 亚洲乱码国产乱码精品精的特点 | 精品在线一区二区| 日本久久一区二区三区| 精品国产在天天线2019| 亚洲无线码一区二区三区| 国产成人在线视频免费播放| 欧美日韩亚州综合| 日韩一区中文字幕| 成人小视频在线观看| 日韩欧美激情四射| 午夜久久久影院| 欧日韩精品视频| 亚洲人成影院在线观看| jlzzjlzz亚洲女人18| 久久久午夜精品| 精品无人码麻豆乱码1区2区| 欧美精品丝袜久久久中文字幕| 18成人在线观看| 国产91丝袜在线观看| 久久久99免费| 国产乱淫av一区二区三区| 精品欧美久久久| 喷水一区二区三区| 555夜色666亚洲国产免| 亚洲成人动漫一区| 欧美日韩免费观看一区二区三区| 亚洲视频在线一区观看| 91一区一区三区| 亚洲三级免费观看| 一本一道综合狠狠老| 亚洲人成人一区二区在线观看| 国产精品综合在线视频| 国产无一区二区| 成人蜜臀av电影| 亚洲欧美日本在线| 一本色道久久综合亚洲91| 亚洲人xxxx| 欧美精品自拍偷拍| 男女性色大片免费观看一区二区 | 亚洲成在线观看| 欧美日韩国产综合一区二区 | 国产欧美精品日韩区二区麻豆天美| 蜜臀精品久久久久久蜜臀| 欧美一级精品大片| 国产又粗又猛又爽又黄91精品| 欧美成人a∨高清免费观看| 毛片不卡一区二区| 国产喂奶挤奶一区二区三区| 国产高清视频一区| 亚洲精品国产一区二区三区四区在线 | 麻豆免费精品视频| 国产肉丝袜一区二区| 99综合影院在线| 亚洲在线成人精品| 精品国产乱码久久久久久1区2区| 国产一区在线观看麻豆| 中文字幕在线观看一区| 欧美日产在线观看| 国产成人精品一区二区三区四区| 国产精品嫩草久久久久| 欧美精品丝袜久久久中文字幕| 久久66热偷产精品| 亚洲三级视频在线观看| 日韩女优av电影| 色综合久久综合中文综合网| 首页国产丝袜综合| 欧美极品aⅴ影院| 欧美精品免费视频| 波多野结衣中文字幕一区二区三区| 亚洲精品福利视频网站| 日韩欧美国产一区二区在线播放| 成人av集中营| 另类综合日韩欧美亚洲| 亚洲乱码中文字幕综合| 久久久久久久久蜜桃| 欧美日韩国产123区| 成人免费精品视频| 蜜桃av一区二区| 亚洲国产欧美在线| 亚洲欧洲精品一区二区三区不卡 | 国产福利精品导航| 免费一区二区视频| 亚洲曰韩产成在线| 日韩久久一区二区| 久久综合狠狠综合久久综合88| 欧美午夜精品一区二区蜜桃| 成人污污视频在线观看| 久久国产尿小便嘘嘘尿| 天天综合色天天综合色h| 椎名由奈av一区二区三区| 久久久青草青青国产亚洲免观| 欧美日韩成人综合| 一本久久a久久免费精品不卡| 国精产品一区一区三区mba视频| 午夜精品福利久久久| 玉足女爽爽91| 亚洲人成网站在线| 亚洲日穴在线视频| 国产精品日韩精品欧美在线| 久久精品综合网| 久久久另类综合| 久久午夜羞羞影院免费观看| 欧美大度的电影原声| 91精品国产综合久久香蕉的特点| 欧美日韩亚洲另类| 在线不卡免费欧美| 欧美肥妇bbw| 5858s免费视频成人| 欧美一区二区三区啪啪| 91精品婷婷国产综合久久竹菊| 欧洲国内综合视频| 欧美日韩久久久一区| 欧美亚洲一区三区| 欧美日韩激情在线| 欧美日韩精品一区二区三区四区 | 色婷婷av久久久久久久| 日本久久电影网| 欧美日韩免费视频| 欧美一区二区三区爱爱| 欧美精品一区二区三区蜜桃视频 | 不卡大黄网站免费看| 99久久99久久综合| 色婷婷国产精品久久包臀| 欧美在线小视频| 精品欧美乱码久久久久久| 国产日韩精品一区二区三区在线| 亚洲国产精华液网站w| 亚洲卡通动漫在线| 偷拍一区二区三区| 国内不卡的二区三区中文字幕 | 色综合天天综合网天天狠天天| 在线观看免费亚洲| 日韩一区二区免费在线电影| 精品久久久久久无| 国产精品国产三级国产普通话三级| 国产精品成人在线观看| 午夜精品福利一区二区三区蜜桃| 麻豆精品在线视频| 91在线观看免费视频| 91精品婷婷国产综合久久竹菊| 久久伊99综合婷婷久久伊| 亚洲精品中文在线| 另类小说综合欧美亚洲| 福利一区在线观看| 欧美日韩午夜影院| 国产精品五月天| 亚洲bdsm女犯bdsm网站| 成人中文字幕在线| 欧美视频中文字幕| 国产欧美日韩精品一区| 亚洲电影中文字幕在线观看| 国产精品亚洲午夜一区二区三区| 97se亚洲国产综合自在线观| 日韩一区二区免费在线电影| 亚洲欧美色综合| 懂色av噜噜一区二区三区av| 欧美人与z0zoxxxx视频|