text:
/*鍏ㄥ眬閫氱敤閲嶇疆娴忚鍣ㄩ粯璁SS*/
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,a
 { margin:0;padding:0; font-size: 12px; color:#333; }
body,button,input,select,textarea {font:12px/1.5 tahoma,arial,\5b8b\4f53; }
body{ overflow:hidden;font-family:"微软雅黑",Microsoft YaHei, Arial, Helvetica, sans-serif;color:#333;}
html{ overflow:auto;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
address,cite,dfn,em,var { font-style:normal;}
code,kbd,pre,samp { font-family:courier new,courier,monospace;}
small {font-size:12px;}
ul,ol,blockquote { list-style:none;}
a { text-decoration:none;}
a:hover {text-decoration:none;}
fieldset,img,input[type=text],select,textarea{border: none;}
input[type=text],select,textarea{ border:1px solid #dcdcdc;margin-right: 2px; }
input[type=text]:hover{ border:1px solid #ffc600;}
input[type=password],select,textarea{ border:1px solid #dcdcdc;}
input[type=password]:hover{ border:1px solid #ffc600;}
input[readonly]{ background-color:#EBEBE4;}//
select:hover{ border:1px solid #ffc600;}
textarea{font-size:100%;padding-left:5px;}
textarea:hover{ border:1px solid #ffc600;}
textarea[readonly]{ background-color:#EBEBE4;}//
button,input,select {font-size:100%;}
a:focus { -moz-outline-style: none; }
a:focus { outline: none; }

table { /* border-collapse: collapse; */ border-spacing: 0; }
div { display: block; font-weight: normal;}
.clear { clear: both; }
.clearfix:after {content: "";display: table;clear: both;}
.clearfix {*zoom: 1;}
.f_r{ float:right;}
.f_l{ float:left;}
.hide{ display:none;}

/********************head*************************/
.head{ height: 75px; width:100%; background: #1b68a9 url(../images/head_bg.png) no-repeat 0 0;}
.logo{ font-size:24px; font-family:"微软雅黑"; color:#FFF; font-weight:bolder; height:75px; line-height:75px; width:220px; float:left; text-align:center;}
.head_title{ margin:20px 0px; height:35px; line-height:35px; float:left; color:#f3faf9; font-size:22px; padding-left:20px; border-left:1px solid #64afae;font-family:Microsoft YaHei, Arial, Helvetica; _font-weight:bold;}
.head_right{ float:right; margin-right:15px;_width:450px;}
.head_right_text{ float:right;color:#fff; height:40px; line-height:40px;}
.head_right_text span{ margin-left: 12px;}
.head_right_remind{clear:both; float:right; font-size:13px;_width:350px;}
.head_right_remind  span{margin:0 10px;}
.head_right_remind  a{color:#0568bb; margin:0 0 0 10px; display:block; float:left; line-height:26px; height:26px; background:url(../images/btn_1_n.png) repeat-x 0 0; border:1px solid #0b3f87; padding:0 10px 0 5px; text-shadow:1px 1px 1px #fff;}
.head_right_remind  a:hover{text-decoration:underline}
.head_right_remind  a span{color:#fff200; margin-left:10px;}
.head_right_remind  a img{ float:left;}

.content{ height:100%; width:100%;overflow:hidden;}

/********************sidebar*************************/
.left_nav{ width:219px; background:#f6f6f6; float:left; margin:0px; border-right:1px solid #c0d9f7;}
.sidebar{ width:219px; float:left;}
.sidelist{border-bottom:1px solid #c8c8cb;}
.sidelist .category{ background:url(../images/list_bg.png) repeat-x; border-bottom:1px solid #fcfcfc; border-top:1px solid #c8c8cb;}
.sidelist > li.select{ background:url(../images/list_bg_c.png) repeat-x; color:#fff; }
.sidelist > li.select > span{font-weight:bold;}
.sidelist > li.select > a span{font-weight:bold;color:#fff;}
.sidelist .category span{ cursor:pointer; display:block; height:45px; line-height:45px; padding-left:30px; font-size:14px;}
.sidelist .category span img{ float:left; margin:14px 10px auto 10px;}
.sidelist .category span.list{background:url(../images/arrow_n.gif) no-repeat  40px 15px;padding-left: 66px;}
.sidelist .category span.arrowdown{cursor:pointer; display:block; height:45px; line-height:45px; background:url(../images/arrow_p.gif) no-repeat  40px 15px;}
.sidelist ul{ display:none;}
.sidelist ul li ul{ padding-top:20px;}
.sidelist ul .sub a{ display:block; height:40px; line-height:40px; padding-left:65px;  color:#666; background:url(../images/icon_3.png) no-repeat 45px 11px; overflow:hidden;}
.sidelist ul .sub a.current,.sidelist ul .sub a.current:hover{ background-color:#fff; color:#343434;}
.sidelist ul .sub a:hover{background:#f3f5f6 url(../images/icon_3.png) no-repeat 36px 11px; border-left:4px solid #3e78b7; padding-left:61px; }

.sidelist .category li.level2 { border-bottom:1px solid #fcfcfc; border-top:1px solid #c8c8cb;}
.sidelist .category li.level2 span.levellist{background:url(../images/list_icon_level2.png) no-repeat  40px 13px;}
.sidelist .category li.level2 span{ cursor:pointer; display:block; height:45px; line-height:45px; padding-left:64px; font-size:14px;}
.sidelist .category li.level2 span.arrowdown{cursor:pointer; display:block; height:45px; line-height:45px; background:url(../images/list_icon_level3.png) no-repeat  40px 13px;}
.sidelist .category li.level2 ul{padding-top:0px; }

.sidelist .category1{ background:url(../images/list_bg.png) repeat-x; border-bottom:1px solid #fcfcfc; border-top:1px solid #c8c8cb;}
.sidelist .category1 span{ cursor:pointer; display:block; height:45px; line-height:45px; padding-left:30px; font-size:14px;}
.sidelist .category1 span img{ float:left; margin:14px 10px auto 10px;}
.sidelist .category1 span.arrowdown{cursor:pointer; display:block; height:45px; line-height:45px;background:url(../images/arrow_p.gif) no-repeat  40px 15px;}

/********************content_main*************************/
.content_main{ float:left;height:100%; width:100%;margin: 0 -220px 0 0;}
.contentinner_ifram{margin: 0 220px 0 0;}
.contentinner{}
.place{ height:39px; line-height:39px; margin:15px 15px 0 12px; border-bottom: 2px solid #1c6bae;}
.place a{ display:block; color:#333;}
.place a:hover{text-decoration:underline;}
.place span{ display:block; float:right;}
.place span em{ color:#666;}
.place .title{ font-family:寰蒋闆呴粦; font-size:20px; color:#304568; float:left;}
.place  div.control{ float:right;}
.place  div.control a{text-decoration:none; width:60px; height:24px;line-height:24px;text-align:center; margin:5px 10px 0 0; background:url(../images/icon_button_normal.png) repeat-x; color:#fff;  border:1px solid #117877; cursor:pointer; float:left;}
.place  div.control a:hover{ background: url(../images/icon_button_hover.png) repeat-x;}

/********************bottom*************************/
.bottom{ clear:both;height:34px; line-height:34px; text-align:center; width:100%; background-color:#f6f9fe; color:#688899;border-top: 1px solid #c0d9f7;font-family:寰蒋闆呴粦; }
.bottom span{ margin:0 15px;}

/*琛ㄥ崟鏌ヨ椤甸潰*/
.inquiry{ padding:15px; padding-bottom:5px;}

.search{ border:1px solid #f0f0f0; padding:15px; overflow:auto;}
.search label{ line-height: 35px;font-weight: normal;}
.search_tag{ width:60px; height:20px;background-color:#FFFFFF;position:absolute; margin:-8px 0 0 15px; text-align:center; display:none;}
.search span{height:35px; line-height:35px; margin-left:2%;}
.search input[type=text]{ width:14%; height:22px; line-height:22px; min-width:140px; margin-right:2%;}
.search select{ width:14%; margin-right:2%;height:22px; line-height:22px; min-width:140px; margin-right:2%;}
.search_button{ float:right; height:35px; line-height:35px; margin-right:15px;  width:200px;}
.search_button_inquiry{width:60px; height:24px;line-height:24px;text-align:center; margin:5px 10px 0 0; background:url(../images/icon_button_normal.png) repeat-x; color:#fff;  border:1px solid #026294; cursor:pointer; float:left;_border: none; text-shadow:1px 1px 1px #1c6bae; outline:none;}
.search_button_inquiry:hover{ background: url(../images/icon_button_hover.png) repeat-x; border:1px solid #1477ab;}
.search_button_export{width:60px; height:24px; line-height:24px; text-align:center; margin:5px 10px 0 0; background:url(../images/icon_button_qx_normal.png) repeat-x; color:#333;  border:1px solid #818181; cursor:pointer; float:left;_border: none;}
.search_button_export:hover{ background:url(../images/icon_button_qx_hover.png) repeat-x;}
.search_button span{ margin-left:20px; background:url(../images/arrow_click.png) no-repeat  55px 15px; width:70px; display:block; float:left;cursor:pointer; height:35px; line-height:35px;_border: none;}
.search_button span:hover{background:url(../images/arrow_hover.png) no-repeat  55px 15px; color:#0e7776; }
.search label {white-space:nowrap;}

.search ul{ width:100%;}
.search ul li{float:left; height:35px; width:240px; text-align:left;}
.search ul li.time_li{float:left; height:35px; width:280px; text-align:left;}
.search ul li.search_button{float: right; width: auto;}
.search ul li span{white-space:nowrap;}
.search ul li span input{width:140px; vertical-align:middle; height:20px;}
.search ul li span input[type=checkbox]{width:20px;vertical-align:middle; height:16px;}
.search ul li span input[type=radio]{width:20px;vertical-align:middle; height:16px;}
.search ul li.checkbox{float:left; height:35px; width:113px; text-align:left;}
.search ul li.checkbox span input{width:13px;margin-right:5px;}
.search ul li span select{width:140px; vertical-align:middle; height:22px;}
.search ul li a{text-decoration:none; width:60px; height:22px;line-height:22px;text-align:center; margin:5px 10px 0 0; background:url(../images/icon_button_normal.png) repeat-x; color:#fff;  border:1px solid #117877; cursor:pointer; float:left;}
.search ul li a:hover{ background: url(../images/icon_button_hover.png) repeat-x;}

.inquiry_list{ clear:both; float:none;margin-top:10px;  border:1px solid #f0f0f0; overflow: auto; _width:99%; width:100%;border-top:none; border-bottom:none;  }
.inquiry_top{overflow-x:hidden;background:url(../images/table_title_bg.png) repeat-x;}
.inquiry_down{margin-top:0px;}
.inquiry_topl{ overflow: hidden; float: left; width: 24%;border-right: none; }
.inquiry_topr{overflow: hidden; float: left; width: 70%;clear: none;border-left: none;}
.inquiry_left{margin-top: 0px; overflow: hidden; float: left; width: 24%;clear: none; height:500px;border-right: none;}
.inquiry_right{margin-top: 0px; overflow: auto; float: left;clear: none; width: 70%;height:500px;border-left: none;}
.inquiry_list table{ width:100%;text-align:left;table-layout:fixed;}
.inquiry_list table  tr th{cursor:text;height:41px;padding-left:10px; line-height: 41px; color:#676767; border-top:1px solid #d8d8d8;background:url(../images/line_1.png) no-repeat 0 15px; }
.inquiry_list table  tr th:first-child{ background:none;}
.inquiry_list table  tr th.none{ border:none;}
.inquiry_list table  tr th.current{background:url(../images/bg_current.png) repeat-x;height:35px;}
.inquiry_list table  tr th span{float: left;white-space:nowrap; }
.inquiry_list table  tr th a.desc{ width:13px;height:25px;float: right;background:url(../images/icon_down_hov.gif) no-repeat;cursor: pointer;white-space:nowrap;position: absolute;margin-left:3px;margin-top: 3px;}
.inquiry_list table  tr th a.desc:hover{background:url(../images/icon_up_gray.gif) no-repeat;}
.inquiry_list table  tr th a.asc{ width:13px;height:25px;float: right;background:url(../images/icon_up_hov.gif) no-repeat;cursor: pointer;white-space:nowrap;position: absolute;margin-left:3px;margin-top: 3px;}
.inquiry_list table  tr th a.asc:hover{background:url(../images/icon_down_nor.gif) no-repeat;}
.inquiry_list table  tr th a.gray{ width:13px;height:25px;float: right;background:url(../images/icon_up_gray.gif) no-repeat;cursor: pointer; white-space:nowrap;position: absolute;margin-left:3px;margin-top: 3px;}
.inquiry_list table  tr th a.gray:hover{background:url(../images/icon_up_hov.gif) no-repeat;}
.inquiry_list table  tr td{ height:40px;border-bottom:1px solid #f0f0f0; padding-left:10px;vertical-align: middle;overflow: hidden; white-space: nowrap; text-overflow: ellipsis;-o-text-overflow:ellipsis;}
.inquiry_list table  tr{ cursor:pointer;}
.inquiry_list table  tr.even,.inquiry_list table  tr td.even{ background-color:#F5F5F5;}
.inquiry_list table  tr:hover{ background-color:#d9edf7;}
.inquiry_top table  tr:hover{background:url(../images/table_title_bg.png) repeat-x;}
.inquiry_list table  tr input{ cursor:pointer; text-align:center;}
.inquiry_list table  tr td.checkbox{background-color:#f9f9f9;text-align:center;padding-left:0px;}
.inquiry_list table  tr.table_bottom{ background-color:#f9f9f9;cursor: text;}
.inquiry_list table  tr.table_bottom span{ display:block; float:left;line-height:40px;}
.inquiry_list table  tr td{font-weight: normal;word-wrap:break-word:}
.inquiry_list table  tr.table_bottom div.next{ float:right; margin-right:10px;}
.inquiry_list table tr.remind td{ background:#fcf8e3; color:#c09853;}
.table_bottom div.next a.first{ background:url(../images/icon_button_first.png) no-repeat; width:7px; height:10px;float:left; margin:14px 5px; 0 0; }
.table_bottom div.next a.previous{ background:url(../images/icon_button_previous.png) no-repeat; width:5px; height:9px;float:left; margin:15px 5px; 0 0;}
.table_bottom div.next a.next{ background:url(../images/icon_button_next.png) no-repeat; width:5px; height:9px;float:left; margin:15px 5px; 0 0;}
.table_bottom div.next a.end{ background:url(../images/icon_button_end.png) no-repeat; width:7px; height:10px;float:left; margin:14px 5px; 0 0;}
.table_bottom div.next input[name=num]{ width:25px; float:left; margin:10px 5px 0 0;}
.table_bottom div.next span{ display:block; float:left; height:40px; line-height:40px;}

div.btn_g{ padding:0px 16px; height:24px;line-height:24px;margin:5px 10px 5px 0; background:url(../images/icon_btn_g_normal.png) repeat-x; color:#fff;  border:1px solid #117877; cursor:pointer;float:left; }
div.btn_g:hover{ background: url(../images/icon_btn_g_hover.png) repeat-x;border:1px solid #1477ab;}
div.btn_w{padding:0px 16px; height:24px;line-height:24px;margin:5px 10px 5px 0; background:url(../images/icon_btn_w_normal.png) repeat-x; color:#333;  border:1px solid #818181; cursor:pointer;float:left;}
div.btn_ws{padding:0px 16px; height:24px; width:150px;line-height:24px;margin:5px 10px 5px 0; overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:url(../images/icon_btn_w_normal.png) repeat-x; color:#333;  border:1px solid #818181; cursor:pointer;float:left;}
div.btn_w:hover{ background:url(../images/icon_btn_w_hover.png) repeat-x;}
div.seperator{ float:left;line-height:24px;margin-top:5px;font-size:16px;}

a.btn_g{ padding:0px 16px; height:24px;line-height:24px;margin:5px 10px 5px 0; background:url(../images/icon_button_normal.png) repeat-x; color:#fff;  border:1px solid #026294; cursor:pointer;float:left;text-shadow:1px 1px 1px #1c6bae; }
a.btn_g:hover{ background: url(../images/icon_button_hover.png) repeat-x;}
a.btn_gr{ padding:0px 16px; height:24px;line-height:24px;margin:5px 10px 5px 0; background:url(../images/btn_2_n.png) repeat-x; color:#515151;  border:1px solid #b3b3b3; cursor:pointer;float:left;text-shadow:1px 1px 1px #fff; }
a.btn_gr:hover{ background: url(../images/btn_2_h.png) repeat-x;}
a.btn_w{padding:0px 16px; height:24px;line-height:24px;margin:5px; background:url(../images/icon_btn_w_normal.png) repeat-x; color:#333;  border:1px solid #818181; cursor:pointer;float:left;}
a.btn_ws{padding:0px 16px; height:24px; width:150px;line-height:24px;margin:5px; overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:url(../images/icon_btn_w_normal.png) repeat-x; color:#333;  border:1px solid #818181; cursor:pointer;float:left;}
a.btn_w:hover{ background:url(../images/icon_btn_w_hover.png) repeat-x;}

a.btn_gtr{ padding:0px 16px; height:24px;line-height:24px;margin:5px 10px 5px 0; background:url(../images/btn_2_n.png) repeat-x; color:#515151;  border:1px solid #b3b3b3; cursor:pointer;text-shadow:1px 1px 1px #fff; }

/*绯荤粺棣栭〉*/
.content_forms{ float:left;height:100%; width:100%;;margin: 0 -220px 0 0; padding:2%; }
.contentinner_forms{ }
.box_task{ float:left; margin:0 2% 20px 0; height:220px; width:47%; border:1px solid #d2d2d2;}
.box_title{ background:url(../images/index_box_title_bg.png) repeat-x; width:100%; height:35px;}
.box_title span{ line-height:35px; font-weight:bold; font-size:14px; padding-left:15px;}
.box_title a{line-height:35px;font-size:11px; padding-right:15px; float:right;}
.box_title a:hover{text-decoration:underline}
.content_forms ul{ padding:10px 15px;}
.content_forms ul li{ border-bottom:1px dotted #dedede; height:30px; line-height:30px; cursor:pointer;overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
.content_forms ul li:hover{ color:#1e8382;}
.content_forms ul li.remind{ color:#F00;}
.content_forms ul li.remind:hover{color:#1e8382;}
.box_news{ float:left; height:220px; width:47%; border:1px solid #d2d2d2;}
.content_forms ul li span.info{ overflow:hidden; white-space:nowrap; text-overflow:ellipsis; margin-right:20px;}
.content_forms ul li span.date{ }
.box_rank{ clear:both; float:none; margin-top:20px; width:96%;border:1px solid #d2d2d2;}
.box_rank table.rank{ width:100%;}
.box_rank table.rank tr td.rank_month{ height:40px; line-height:40px; border-right:1px solid #d2d2d2;border-bottom:1px solid #d2d2d2; color:#1e8382; font-size:14px; font-weight:bold; text-align:center;}
.box_rank table.rank tr td.rank_year{ height:40px; line-height:40px; border-bottom:1px solid #d2d2d2; color:#1e8382; font-size:14px; font-weight:bold; text-align:center;}
.box_rank table.rank tr td.boder{border-right:1px solid #d2d2d2;}
.box_rank  table.rank_month_f{ width:90%;}
.box_rank  table.rank_month_f tr td.title{ font-size:14px; height:40px; line-height:40px;}
.box_rank  table.rank_month_f tr td.num{ color:#666666; border-bottom:none;}
.box_rank  table.rank_month_f tr td.name{ color:#666666; border-bottom:none;}
.box_rank  table.rank_month_f tr td.score{ color:#666666; border-bottom:none;}
.box_rank  table.rank_month_f tr td{ height:35px; line-height:35px; border-bottom:1px dotted #dedede;}
.box_rank  table.rank_month_f tr td span.number{ background-color:#ff843e; padding:2px 5px; color:#fff;}
.box_rank  table.rank_month_f tr td span.number_ncolor{ background-color:#fff; padding:2px 5px; color:#000;}
.box_rank  table.rank_month_f tr td span.number_g{ background-color:#38a7a6; padding:2px 5px; color:#fff;}
.box_rank  table.rank_month_f tr td span.name{color:#1e8382; cursor:pointer;}
.box_rank  table.rank_month_f tr td span.name:hover{text-decoration:underline}
.box_rank  table.rank_month_f tr td span.score{color:#666666;}
.box_rank  table.rank_month_f tr td a{line-height:35px;font-size:11px; padding-right:15px; float:right;}
.box_rank  table.rank_month_f tr td a:hover{text-decoration:underline}

/*鍒嗛〉鏍峰紡*/
.pagebar{ padding:5px;clear:both;margin:0px;padding-left:15px;padding-right:15px;}
.page{ float:right;}
.page a.first{ background:url(../images/icon_button_first.png) no-repeat; width:7px; height:10px;float:left; margin:14px 5px; 0 0; }
.page a.previous{ background:url(../images/icon_button_previous.png) no-repeat; width:5px; height:9px;float:left; margin:15px 5px; 0 0;}
.page a.next{ background:url(../images/icon_button_next.png) no-repeat; width:5px; height:9px;float:left; margin:15px 5px; 0 0;}
.page a.end{ background:url(../images/icon_button_end.png) no-repeat; width:7px; height:10px;float:left; margin:14px 5px; 0 0;}
.page input[name=num]{ width:25px; float:left; margin:10px 5px 0 0;}
.page span{ display:block; float:left; height:40px; line-height:40px;}
.clear {clear: both;}
.page input.btn{width:25px; height:20px;float:left; background-position:-55px -50px; border:none; font-family:Tahoma, Geneva, sans-serif; color:black; cursor:pointer;line-height: 16px;margin:10px 5px 0 0;}
.controlbtn{ float:left;}

/*鎶ラ敊椤甸潰*/
.errorpage{ padding:90px 20px 0 350px;font-family:Microsoft YaHei,瀹嬩綋; background:url(../images/error_bg.png) no-repeat 50px 80px; min-height:350px; }
.errorpage h2{ font-size:20px; color:#333;}
.errorpage .detail { margin-bottom:20px;}
.errorpage .detail .p1{ font-size:16px; color:#666; border-bottom:2px solid #e5e5e5; line-height:40px; margin-bottom:20px;}
.errorpage .detail .p2{ margin-bottom:5px;}

/*JQuery validator */
.error {font-family:Microsoft YaHei, Arial, Helvetica;color:red;font-weight:bold;}

/*鐧诲綍椤甸潰*/
.loginPage{background:#fbfbfb; min-height:600px;_height:600px; min-width:900px; overflow:auto;}
.login_top{ height:150px;}
.login_top .wrap{ width:900px; margin:0 auto;}
.login_top .wrap img{ margin-top:50px;}
.login_cont .bg{ height:317px; background:#04184d;}
.login_cont .bg .bg_img{ background:url(../images/login_bg.png) no-repeat center 0; height:317px;}
.login_cont .wrap{ width:900px; margin:0 auto; position:relative;}
.login_cont .wrap .left{ width:270px; position:absolute; height:100px; left:150px; top:45px; border-right:1px solid #fff; padding-right:20px;font-family:寰蒋闆呴粦; color:#fff;}
.login_cont .wrap .left .p1{ font-size:40px; color:#fff; text-align:right;}
.login_cont .wrap .left .p2{ font-size:20px;color:#fff;text-align:right;padding-top:10px;}
.login_box{ position:absolute; z-index:100; width:390px; background:#fff;font-family:Microsoft YaHei,瀹嬩綋; right:0; top:-20px;}
.login_box .hd{ height:129px; background:url(../images/login_hd.png) repeat-x 0 0; line-height:129px; color:#fff; text-align:center; font-size:27px;}
.login_box .bd{ padding:25px 55px 0; border:1px solid #e9e9e9;}
.login_box .bd .input_box{ height:37px; line-height:37px; border:1px solid #e1e1e1; padding:0 10px; margin:15px 0; background:url(../images/input_bg.png) repeat-x 0 0;}
.login_box .bd .input_box img{ vertical-align:-4px; margin-right:5px;}
.login_box .bd .input_box input{ width:210px; border:none 0; outline:none;}
.login_box .bd .act{ border-bottom:1px solid #e9e9e9; padding:15px 0 25px;}
.login_box .bd .remember label{ cursor:pointer;display:block;background: url(../images/checkbox_bg.png) no-repeat; background-position: 0 1px;overflow:hidden; padding-left: 25px; margin-top: 9px;}
.login_box .bd .remember label.check{background-position: 0 -33px;}
.login_box .bd .remember label input{position: absolute;clip: rect(0 0 0 0);}
.login_box .bd .remember label a{ color:#666;}
.login_btn{ padding:0 30px; background:url(../images/icon_button_normal.png) repeat-x 0 0;height: 34px; line-height:34px;border: 1px solid #117877; color:#fff; display:block; float:right; font-size:15px;text-shadow: 1px 1px 1px #1c6bae;}
.login_btn:hover{background: url(../images/icon_button_hover.png) repeat-x;border: 1px solid #026294;}
.login_box .bd .link{ padding:15px 0;color:#aaa;font-size:14px;}
.login_box .bd .link a{ color:#666;}
.login_box .bd .error_info{ color:#bd4247;}
.login_box .corner_l{ display:block; width:15px; height:21px; position:absolute; left:-15px; top:0; background:url(../images/login_hd_l.png) no-repeat 0 0;}
.login_box .corner_r{ display:block; width:15px; height:21px; position:absolute; right:-15px; top:0; background:url(../images/login_hd_r.png) no-repeat 0 0;}

/*琛ㄥ崟褰曞叆椤甸潰*/
.forms{ padding:15px;}
.forms table{ width:100%;}
.forms table tr td{ height:36px; text-align:left; margin-left: 5px;margin-right: 5px;}
.forms table tr td label{ float:left; padding-left:10px;}
.forms table tr td input[type=text]{ width:90%; height:24px; line-height:24px; margin-left:3px;}
.forms table tr td input[type=password]{ width:90%; height:22px; line-height:22px; margin-left:3px;}
.forms table tr td input[type=radio]{ margin:auto 5px; }
.forms table tr td input[disabled=true]{ background-color:#fff;border:1px solid #eeeeee;color:#999; }
.forms table tr td span{ margin: 0 20px 0 5px;}
.forms table tr td.ck span{ margin:0;color:#000;}
.forms table tr td select{ width:90%; height:22px;margin-left:3px;}
.forms table tr td select[disabled=true]{ background-color:#fff;border:1px solid #eeeeee;color:#999;margin-left:3px;}
.forms table.rule{margin:10px 0;color:#000;}
.forms table.rule span{ color:#999;}
.forms table.rule tr td textarea{ width:90%;margin:auto 3px;}
.forms table.rule tr td textarea[disabled=true]{ background-color:#fff;border:1px solid #eeeeee;color:#999; }
.forms table.rule tr td textarea[readonly=true]{ background-color:#fff;border:1px solid #eeeeee;color:#999; }
.forms caption{ width:100%; background-color:#135AA4; height:30px; line-height:30px; color:#fff; font-weight:bold; font-size:16px;}
.forms table.rule h3{ font-size:10px; font-weight:100; color:#999; line-height:15px;}

.submit{ padding: 20px 0 20px 10px;}
.submit input.current{width:62px; height:24px; margin:0 10px; background:url(../images/icon_button_normal.png) repeat-x; color:#fff; font-size:12px; border:1px solid #117877; cursor:pointer;_border: none;}
.submit input.current:hover{ background: url(../images/icon_button_hover.png) repeat-x;}
.submit input{width:62px; height:24px; margin:0 10px; background: url(../images/btn_2_n.png) repeat-x;color: #515151;border: 1px solid #b3b3b3; font-size:12px; border:1px solid #818181; cursor:pointer;_border: none;}
.submit input:hover{ background: url(../images/btn_2_h.png) repeat-x;}

/*琛ㄥ崟鏍峰紡-涓�垪*/
/* .forms{ padding:15px; padding-left:50px; padding-right:50px;}
.form_style li{ margin:10px 0;}
.form_style li span.title{ display:block; margin-bottom:5px;}
.form_style li input{ border:1px solid #ccc; background:url(../images/input_bg.png) repeat-x 0 0; height:20px; line-height:20px; padding:4px 2px; margin:0; width:280px; margin-right:10px;}
.form_style li em.tips{color:#bd4247;}
.form_style li select{border:1px solid #ccc; background:url(../images/input_bg.png) repeat-x 0 0; height:30px; line-height:30px; padding:0px 2px; margin:0; width:286px; margin-right:10px;}
.form_style li textarea{border:1px solid #ccc; width:530px; height:90px;}
.submit{ padding: 20px 0 20px 40px;}
.submit input.current{width:130px; height:34px; margin:0 10px; background:url(../images/icon_button_normal.png) repeat-x; color:#fff; font-size:14px; border:1px solid #117877; cursor:pointer;_border: none;}
.submit input.current:hover{ background: url(../images/icon_button_hover.png) repeat-x;}
.submit input{width:130px; height:34px; margin:0 10px; background: url(../images/btn_2_n.png) repeat-x;color: #515151;border: 1px solid #b3b3b3; font-size:14px; border:1px solid #818181; cursor:pointer;_border: none;}
.submit input:hover{ background: url(../images/btn_2_h.png) repeat-x;}
 */
/*琛ㄥ崟鏍峰紡-涓ゅ垪*/
/* .form_style_2 li{ margin:10px 0; height:75px; width:45%; float:left;}
.form_style_2 li span.title{ display:block; margin-bottom:5px;}
.form_style_2 li input{ border:1px solid #ccc; background:url(../images/input_bg.png) repeat-x 0 0; height:20px; line-height:20px; padding:4px 2px; margin:0; width:90%;}
.form_style_2 li em.tips{color:#bd4247; display:block;}
.form_style_2 li select{border:1px solid #ccc; background:url(../images/input_bg.png) repeat-x 0 0; height:30px; line-height:30px; padding:0px 2px; margin:0; width:90%; margin-right:10px;}
.form_style_2 li textarea{border:1px solid #ccc;height:90px;width:90%;}

 */

/*form_attendance*/
.punch{ border:1px solid #d9d9d9;width:100%; height:160px;}
.time_dtl{ border-left:8px solid #d9d9d9; float:left; height:100%; }
.time_dtl p{ text-align:left; padding-left:35px;}
.time_gl{ color:#5d7895;padding-top:20px}
.time_nl{ color:#aaaaaa;}
.time_sz{ color:#5d7895; font-size:40px; font-family:Verdana, Geneva, sans-serif;line-height:65px;}
.time_tips{ color:#aaaaaa;}
.vt_line{ float:left; width:1px; height:120px; margin:20px 35px; background:#d9d9d9;}
.up_down{  text-align:center; display:block; line-height:54px; margin-bottom:10px;font-family: 寰蒋闆呴粦;}
.active{ border:1px solid #d0d0d0; cursor:default; background: url(../images/btn_bg_act.png) repeat-x;width:185px; height:54px; }
.normal{ border:1px solid #0d75ac; cursor: pointer; background: url(../images/btn_bg_nor.png) repeat-x;width:185px; height:54px; color:#fff; font-size:18px; }
.normal:hover{ background: url(../images/btn_bg_hov.png) repeat-x;}
.up_down p{ text-align:center; font-family: 寰蒋闆呴粦; color:#aaa;}
.up_time{ font-size:18px;height:35px; line-height:35px;}
.up_loc{font-size:12px;height:14px; line-height:14px;}
.commuting{ float:left; margin-top:20px;}
.wordtime_info{ float:left; margin-top:20px;}
.wordtime_info p{ color:#5d7895; line-height:24px; }
.wordtime_info p span{ font-weight:bold; color:#26a0e0;}
.fontred{color:red;}

.weekday{ border:1px solid #d9d9d9; margin-top:15px;}
.wy_table{ width:100%}
.wy_table tr th{ height:39px; line-height:39px; background:url(../images/table_title_bg.png) repeat-x;  }
.wy_table tr th p{border-right:1px solid #d9d9d9; height:18px; line-height:18px; text-align:center; color:#676767; font-weight:bold;}
.wy_table tr{border-bottom:1px solid #d9d9d9;}
.wy_table tr td{ height:40px; line-height:40px;border-right:1px solid #d9d9d9;}
.wy_table tr td p{ margin-left:20px; color:#333; font-size:12px; display:block; float:left;}
.state{ height:20px; line-height:20px; font-size:12px; margin-top:10px; text-align:center; padding:0px 10px; color:#fff; float:right; margin-right:15px;}
.zc{ background:#8cc051;}
.cd{ background:#f6bb43;}
.kg{ background:#e9573e;}
.zt{ background:#f6bb43;}
.sj{ background:#4b89dc;}
.bj{ background:#007FFF;}
.jb{ background:#FF8080;}
.bt{ background:#B7B700;}
.cc{ background:#00A233;}

/*form_worklog*/
.time_set{ height:25px;}
.time_set a{ height:16px; width:16px; display:block; float:left; margin-right:15px; margin-top:4px;}
.set_l{ background:url(../images/icon_set_l.png) no-repeat;}
.set_l:hover{ background:url(../images/icon_set_l_hov.png) no-repeat;}
.set_r{ background:url(../images/icon_set_r.png) no-repeat;}
.set_r:hover{ background:url(../images/icon_set_r_hov.png) no-repeat;}
.time_set select{ margin-right:15px; height:24px; width:80px; float:left;}
.worklog{ margin-top:15px;}
.log{ width:100%}
.log tr th{ height:39px; line-height:39px; background:url(../images/table_title_bg.png) repeat-x;  }
.log tr th p{ height:20px; line-height:20px; text-align:center; font-weight:bold; border-right:1px solid #d9d9d9; color:#666;}
.log tr td { text-align:center; height:30px; line-height:30px; padding:2px; border:1px solid #d9d9d9;}
.log tr td.b{ background:#caecf8;}
.log tr td.y{ background:#fffcaa;}
.log tr td.o{ background:#ffe6aa;}
.log tr td:hover{ background:#3e79b3;}
.log tr td.current{ background:#3e79b3;}
.log tr td.current div{ background:#fff}
.log tr td div{ height:100%; width:100%; overflow:hidden;}
.log tr td:hover div{ background:#fff}
.log tr td div p{margin-left:20px; color:#333; font-size:12px; display:block; float:left; width:20px;}
.log tr td div a{ height:20px; line-height:20px; font-size:12px; margin-top:5px; text-align:center; padding:0px 10px; float:right; margin-right:15px; font-weight:bold;display:block;}
.log tr td div a.blue{ color:#3baeda;}
.log tr td div a.yellow{ color:#cf8b00;}
.log tr td div a.orange{ color:#dd602a;}
.log tr td div a.abnor{ background:#F00; color:#fff;}
.log tr td div a.ck{ background:#3baeda; color:#fff;}

.log_dit{ margin-top:15px; margin-bottom:15px; height:150px; overflow:auto; width:100%;}
.log_dit tr th{ font-weight:bold; background:#f9f9f9;text-align:center;border:1px solid #d9d9d9; height:30px; line-height:30px;}
.log_dit tr td{ text-align:center;border:1px solid #d9d9d9; height:30px; line-height:30px;}
.log_dit tr .tt{ text-align:left; padding-left:20px;}
.log_dit tr.on{ background:#e4f5fb;}
.log_dit tr.un td{ color:#e9573e}

/*check*/
.part{ width:12%; float:left;height:100%; overflow:auto;}
.check_cot{ float:left; overflow:hidden; width:85%;}
.part ul li{ height:25px; line-height:25px; width:90%;overflow: hidden; white-space: nowrap; text-overflow: ellipsis;-o-text-overflow:ellipsis;}
.part ul li a{padding:0px 10px; display:block;height:25px; line-height:25px; font-family:sans-serif}
.part ul li a:hover{  color:#fff; background:#1c6bae;}
.part ul li a span{ display: none; float:right; }
.part ul li a:hover span{ display:block; color:#fff; font-size:12px; line-height:25px;}

/*individual costs*/
.cate{ height:25px;}
.cate select{ float:left; height:24px; line-height:24px;}
.cate span{ display:block; float:left; margin-left:20px; height:24px; line-height:24px;}
.cost{ height:400px; overflow:auto; width:100%; margin-top:15px;}
.cost table tr td{border:1px solid #d9d9d9; height:30px; line-height:30px; padding:0px 15px; background:#f6f6f6; }
.cost table tr.f td{ border-top:none}
.cost table tr td.l{ text-align:left;}
.cost table tr td.r{ text-align:right;}
.cost table tr.t td{ background:#fff;}
.cost table tr.j td{ background:#e8eff7;}
.cost table tr.z td{ background:#eaf7fc;}
.cost table tr.tot td{ background:#caecf8;}
.cost table tr td.b{ font-weight:bold;}
.cost table tr th{ height:39px; line-height:39px; background:url(../images/table_title_bg.png) repeat-x; }
.cost table  tr th p{ height:20px; line-height:20px; text-align:center; font-weight:bold; border-right:1px solid #d9d9d9; color:#666;}
.cost table tr.cost_tit{border:1px solid #d9d9d9; border-bottom:none;}


text:
package org.jalonsoa.tibems;

import java.lang.Long;
import java.io.IOException;

import org.jruby.Ruby;
import org.jruby.RubyArray;
import org.jruby.RubyClass;
import org.jruby.RubyFixnum;
import org.jruby.RubyHash;
import org.jruby.RubyModule;
import org.jruby.RubyObject;
import org.jruby.RubyString;
import org.jruby.anno.JRubyClass;
import org.jruby.anno.JRubyMethod;
import org.jruby.runtime.ObjectAllocator;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;
import org.jruby.runtime.load.BasicLibraryService;

import com.tibco.tibjms.admin.ConsumerInfo;
import com.tibco.tibjms.admin.DestinationInfo;
import com.tibco.tibjms.admin.QueueInfo;
import com.tibco.tibjms.admin.TopicInfo;
import com.tibco.tibjms.admin.ServerInfo;
import com.tibco.tibjms.admin.StatData;
import com.tibco.tibjms.admin.TibjmsAdmin;
import com.tibco.tibjms.admin.TibjmsAdminException;

import java.util.Collection;
import java.util.logging.Level;
import java.util.logging.Logger;

// The Java class that backs the Ruby class Faye::WebSocketMask. Its methods
// annotated with @JRubyMethod become exposed as instance methods on the Ruby
// class through the call to defineAnnotatedMethods() above.
@JRubyClass(name="TibEMS::Admin")
public class Admin extends RubyObject {
  public static final int DESTINATION_TYPE_TOPIC = 0;
  public static final int DESTINATION_TYPE_QUEUE = 1;

  private static IRubyObject Qnil;

  private TibjmsAdmin admin = null;

  public Admin(final Ruby runtime, RubyClass rubyClass) {
    super(runtime, rubyClass);

    Qnil = runtime.getNil();
  }

  @JRubyMethod(name = "create")
  protected IRubyObject create(ThreadContext context, RubyString url, RubyString user, RubyString pass) throws TibjmsAdminException {
    try {
      this.admin = new TibjmsAdmin(url.asJavaString(),user.asJavaString(),pass.asJavaString());
    } catch (TibjmsAdminException exp) {
      throw exp;
    }

    return this;
  }

  @JRubyMethod(name = "close")
  public IRubyObject close(ThreadContext context) throws TibjmsAdminException {
    try {
      this.admin.close();
      this.admin = null;
    } catch (TibjmsAdminException exp) {
      throw exp;
    }
    return Qnil;
  }

  private RubyArray destinationsHash( Ruby runtime, DestinationInfo[] destInfos, int type ) {
    RubyArray info = RubyArray.newArray( runtime, destInfos.length );

    for (DestinationInfo destInfo : destInfos) {
      RubyHash dest = RubyHash.newHash( runtime );
      RubyHash inbound = RubyHash.newHash( runtime );
      RubyHash outbound = RubyHash.newHash( runtime );

      dest.put("name",destInfo.getName());

      dest.put("consumerCount", destInfo.getConsumerCount());

      dest.put("flowControlMaxBytes", destInfo.getFlowControlMaxBytes());

      dest.put("maxBytes", destInfo.getMaxBytes());
      dest.put("maxMsgs", destInfo.getMaxMsgs());

      dest.put("pendingMessageCount", destInfo.getPendingMessageCount());
      dest.put("pendingMessageSize", destInfo.getPendingMessageSize());

      dest.put("pendingPersistentMessageCount", destInfo.getPendingPersistentMessageCount());
      dest.put("pendingPersistentMessageSize", destInfo.getPendingPersistentMessageSize());

      if (type == DESTINATION_TYPE_TOPIC) {
        TopicInfo topicInfo = (TopicInfo)destInfo;
        dest.put("activeDurableCount", topicInfo.getActiveDurableCount());
        dest.put("durableCount", topicInfo.getDurableCount());
        dest.put("subscriberCount", topicInfo.getSubscriberCount());
      } else {
        QueueInfo queueInfo = (QueueInfo)destInfo;
        dest.put("deliveredMessageCount", queueInfo.getDeliveredMessageCount());
        dest.put("inTransitMessageCount", queueInfo.getInTransitMessageCount());
        dest.put("maxRedelivery", queueInfo.getMaxRedelivery());
        dest.put("receiverCount", queueInfo.getReceiverCount());
      }

      StatData inboundStats = destInfo.getInboundStatistics();
      inbound.put("totalMessages", inboundStats.getTotalMessages());
      inbound.put("messageRate", inboundStats.getMessageRate());
      inbound.put("totalBytes", inboundStats.getTotalBytes());
      inbound.put("byteRate", inboundStats.getByteRate());

      dest.put("inbound", inbound);

      StatData outboundStats = destInfo.getOutboundStatistics();
      outbound.put("totalMessages", outboundStats.getTotalMessages());
      outbound.put("messageRate", outboundStats.getMessageRate());
      outbound.put("totalBytes", outboundStats.getTotalBytes());
      outbound.put("byteRate", outboundStats.getByteRate());

      dest.put("outbound", outbound);

      info.add(dest);
    }

    return info;
  }

  @JRubyMethod(name = "get_info")
  public IRubyObject get_info(ThreadContext context) throws TibjmsAdminException {
    Ruby runtime = context.runtime;
    RubyHash info = RubyHash.newHash( runtime );

    try {
      ServerInfo serverInfo = this.admin.getInfo();

      info.put("asyncDBSize", serverInfo.getAsyncDBSize());
      info.put("connectionCount", serverInfo.getConnectionCount());
      info.put("consumerCount", serverInfo.getConsumerCount());
      info.put("diskReadOperationsRate", serverInfo.getDiskReadOperationsRate());
      info.put("diskReadRate", serverInfo.getDiskReadRate());
      info.put("diskWriteOperationsRate", serverInfo.getDiskWriteOperationsRate());
      info.put("diskWriteRate", serverInfo.getDiskWriteRate());
      info.put("durableCount", serverInfo.getDurableCount());
      info.put("inboundBytesRate", serverInfo.getInboundBytesRate());
      info.put("inboundMessageCount", serverInfo.getInboundMessageCount());
      info.put("inboundMessageRate", serverInfo.getInboundMessageRate());
      info.put("maxConnections", serverInfo.getMaxConnections());
      info.put("maxMsgMemory", serverInfo.getMaxMsgMemory());
      info.put("msgMem", serverInfo.getMsgMem());
      info.put("msgMemPooled", serverInfo.getMsgMemPooled());
      info.put("outboundBytesRate", serverInfo.getOutboundBytesRate());
      info.put("outboundMessageCount", serverInfo.getOutboundMessageCount());
      info.put("outboundMessageRate", serverInfo.getOutboundMessageRate());
      info.put("pendingMessageCount", serverInfo.getPendingMessageCount());
      info.put("pendingMessageSize", serverInfo.getPendingMessageSize());
      info.put("producerCount", serverInfo.getProducerCount());
      info.put("queueCount", serverInfo.getQueueCount());
      info.put("reserveMemory", serverInfo.getReserveMemory());
      info.put("sessionCount", serverInfo.getSessionCount());
      info.put("syncDBSize", serverInfo.getSyncDBSize());
      info.put("topicCount", serverInfo.getTopicCount());

      // TODO: pass pattern
      QueueInfo[] queueInfos = this.admin.getQueuesStatistics();

      if (queueInfos.length > 0) {
        RubyArray queues = destinationsHash( runtime, queueInfos, DESTINATION_TYPE_QUEUE );

        info.put("queues", queues);
      }

      // TODO: pass pattern
      TopicInfo[] topicInfos = this.admin.getTopicsStatistics();

      if (topicInfos.length > 0) {
        RubyArray topics = destinationsHash( runtime, topicInfos, DESTINATION_TYPE_TOPIC );

        info.put("topics", topics);
      }

    } catch (TibjmsAdminException exp) {
      throw exp;
    }

    return info;
  }
}

redpajama_set_name: RedPajamaGithub


text:
global.sinon = require("sinon");
global.chai = require("chai");
global.expect = require("chai").expect;

var portCounter = 30042;
global.nextPort = function() {
  return ++portCounter;
};

var bunyan = require("bunyan");

global.ponteSettings = function() {
  return {
    logger: {
      name: "ponteTests",
      level: 60
    },
    http: {
      port: nextPort()
    },
    coap: {
      port: nextPort()
    },
    mqtt: {
      port: nextPort()
    }
  };
};


text:
import { Component, Input } from '@angular/core';
import { UntypedFormGroup } from '@angular/forms';
import { AssetsFieldPropertiesDto, FieldDto, LanguageDto } from '@app/shared';

@Component({
    selector: 'sqx-assets-validation[field][fieldForm][languages][properties]',
    styleUrls: ['assets-validation.component.scss'],
    templateUrl: 'assets-validation.component.html',
})
export class AssetsValidationComponent {
    @Input()
    public fieldForm!: UntypedFormGroup;

    @Input()
    public field!: FieldDto;

    @Input()
    public properties!: AssetsFieldPropertiesDto;

    @Input()
    public languages!: ReadonlyArray<LanguageDto>;

    @Input()
    public isLocalizable?: boolean | null;
}


text:
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft.CodeAnalysis.LanguageServices;
using Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;

namespace Microsoft.CodeAnalysis.Remote
{
    internal sealed class RemoteExtensionMethodImportCompletionService : BrokeredServiceBase, IRemoteExtensionMethodImportCompletionService
    {
        internal sealed class Factory : FactoryBase<IRemoteExtensionMethodImportCompletionService>
        {
            protected override IRemoteExtensionMethodImportCompletionService CreateService(in ServiceConstructionArguments arguments)
                => new RemoteExtensionMethodImportCompletionService(arguments);
        }

        public RemoteExtensionMethodImportCompletionService(in ServiceConstructionArguments arguments)
            : base(arguments)
        {
        }

        public ValueTask<SerializableUnimportedExtensionMethods?> GetUnimportedExtensionMethodsAsync(
            PinnedSolutionInfo solutionInfo,
            DocumentId documentId,
            int position,
            string receiverTypeSymbolKeyData,
            ImmutableArray<string> namespaceInScope,
            ImmutableArray<string> targetTypesSymbolKeyData,
            bool forceIndexCreation,
            bool hideAdvancedMembers,
            CancellationToken cancellationToken)
        {
            return RunServiceAsync(async cancellationToken =>
            {
                var solution = await GetSolutionAsync(solutionInfo, cancellationToken).ConfigureAwait(false);
                var document = solution.GetDocument(documentId)!;
                var compilation = await document.Project.GetRequiredCompilationAsync(cancellationToken).ConfigureAwait(false);
                var symbol = SymbolKey.ResolveString(receiverTypeSymbolKeyData, compilation, cancellationToken: cancellationToken).GetAnySymbol();

                if (symbol is ITypeSymbol receiverTypeSymbol)
                {
                    var syntaxFacts = document.GetRequiredLanguageService<ISyntaxFactsService>();
                    var namespaceInScopeSet = new HashSet<string>(namespaceInScope, syntaxFacts.StringComparer);
                    var targetTypes = targetTypesSymbolKeyData
                            .Select(symbolKey => SymbolKey.ResolveString(symbolKey, compilation, cancellationToken: cancellationToken).GetAnySymbol() as ITypeSymbol)
                            .WhereNotNull().ToImmutableArray();

                    return await ExtensionMethodImportCompletionHelper.GetUnimportedExtensionMethodsInCurrentProcessAsync(
                        document, position, receiverTypeSymbol, namespaceInScopeSet, targetTypes, forceIndexCreation, hideAdvancedMembers, isRemote: true, cancellationToken).ConfigureAwait(false);
                }

                return null;
            }, cancellationToken);
        }

        public ValueTask WarmUpCacheAsync(PinnedSolutionInfo solutionInfo, DocumentId documentId, CancellationToken cancellationToken)
        {
            return RunServiceAsync(async cancellationToken =>
            {
                var solution = await GetSolutionAsync(solutionInfo, cancellationToken).ConfigureAwait(false);
                var document = solution.GetRequiredDocument(documentId);
                await ExtensionMethodImportCompletionHelper.WarmUpCacheInCurrentProcessAsync(document, cancellationToken).ConfigureAwait(false);
            }, cancellationToken);
        }
    }
}


text:
//  Copyright 2016 MaterialUI for Unity http://materialunity.com
//  Please see license file for terms and conditions of use, and more information.

using UnityEngine;
using UnityEngine.UI;

namespace MaterialUI
{
    /// <summary>
    /// Helper component to display the current FPS in play mode, on a <see cref="Text"/> component.
    /// </summary>
    /// <seealso cref="UnityEngine.MonoBehaviour" />
    [AddComponentMenu("MaterialUI/FPSCounter", 100)]
    public class FPSCounter : MonoBehaviour
    {
        /// <summary>
        /// The time (in seconds) between each update of the text.
        /// </summary>
        [SerializeField]
        private float m_UpdateInterval = 0.5f;
        /// <summary>
        /// The time (in seconds) between each update of the text.
        /// </summary>
        public float updateInterval
        {
            get { return m_UpdateInterval; }
            set { m_UpdateInterval = value; }
        }

        /// <summary>
        /// The Text component on which to display the FPS value.
        /// </summary>
        [SerializeField]
        private Text m_Text;
        /// <summary>
        /// The Text component on which to display the FPS value.
        /// If null, the attached Text will be added if it exists. If not, one will be created.
        /// </summary>
        public Text text
        {
            get
            {
                if (m_Text == null)
                {
                    m_Text = gameObject.GetAddComponent<Text>();
                }
                return m_Text;
            }
            set { m_Text = value; }
        }

        /// <summary>
        /// The FPS accumulated over the interval.
        /// </summary>
        private float m_DeltaFps;
        /// <summary>
        /// The Frames drawn over the interval.
        /// </summary>
        private int m_Frames;
        /// <summary>
        /// The time left for current interval.
        /// </summary>
        private float m_Timeleft;

        /// <summary>
        /// See MonoBehaviour.Start.
        /// </summary>
        void Start()
        {
            m_Timeleft = updateInterval;
        }

        /// <summary>
        /// See MonoBehaviour.Update.
        /// </summary>
        void Update()
        {
            m_Timeleft -= Time.deltaTime;
            m_DeltaFps += Time.timeScale / Time.deltaTime;
            ++m_Frames;

            // Interval ended - update GUI text and start new interval
            if (m_Timeleft <= 0f)
            {
                // display two fractional digits (f2 format)
                text.text = "" + (m_DeltaFps / m_Frames).ToString("f2") + " FPS";
                if ((m_DeltaFps / m_Frames) < 1)
                {
                    text.text = "";
                }
                m_Timeleft = updateInterval;
                m_DeltaFps = 0f;
                m_Frames = 0;
            }
        }
    }
}


text:
require 'uri'
require 'json'
require 'rack'

module Hubbah
  class Middleware < Rack::Builder
    def initialize(app, &block)
      @app = app
      @configuration = Hubbah::Configuration.new(&block)
      super {}
    end

    def call(env)
      env['hubbah'] = Hubbah::Payload.new(@configuration, env)
      to_app.call(env)
    end

    protected
    def encode(str)
      URI.encode(str || '')
    end
  end
end


text:
Homework

i'm making a conlflict
2

test 3

<<<<<<< HEAD
this is from the master branch
=======
this is from the slave branch
>>>>>>> slave

git bash change


text:
namespace Amazon.Ses.Tests;

public class SesContentTests
{
    [Fact]
    public void SesContentEncoding()
    {
        Assert.Null(new SesContent("Hi").Charset);
        Assert.Equal("UTF-8", new SesContent("Hi", CharsetType.UTF8).Charset);
    }
}


text:
class PrintTransition
  attr_accessor :id
  attr_accessor :from_state # see PrintState
  attr_accessor :to_state # see PrintState
  attr_accessor :action # see PrintTransitionType, Typ přechodu; 1 - dle aktuálního jednacího řádu, 2 - staré jednací řády, 3 - vyjímky a speciální přechody

  # typ_prechodu
  def initialize(args = [])
    @id = args[:id_prechod]
    @from_state = args[:from_state]
    @to_state = args[:to_state]
    @action = args[:id_akce]
  end
end


text:
<?php
/**
 * Frontcontroller for the me-site
 *
 */

// Get environment & autoloader and the $app-object.
require __DIR__.'/config_with_app.php';

// Use clean URL:s
$app->url->setUrlType(\Anax\Url\CUrl::URL_CLEAN);

// Set the navbar
$app->navbar->configure(ANAX_APP_PATH . 'config/navbar_me.php');

// Set the theme
$app->theme->configure(ANAX_APP_PATH . 'config/theme_me.php');

// Add the comment controller to the DI
$di->set('CommentController', function() use ($di) {
    $controller = new Bjurnemark\Comment\CommentController();
    $controller->setDI($di);
    return $controller;
});

// Add a controller for users
$di->set('UsersController', function() use ($di) {
    $controller = new Bjurnemark\Users\UsersController();
    $controller->setDI($di);
    return $controller;
});

// Add package controller
$di->set('PackageController', function() use ($di) {
    $controller = new Bjurnemark\Package\PackageController();
    $controller->setDI($di);
    return $controller;
});

// Add routes
$app->router->add('', function() use ($app) {
    $app->theme->setTitle("Om Stefan");

    $content = $app->fileContent->get('me.md');
    $content = $app->textFilter->doFilter($content, 'shortcode, markdown');

    $byline  = $app->fileContent->get('byline.md');
    $byline  = $app->textFilter->doFilter($byline, 'shortcode, markdown');

    $app->views->add('me/page', [
        'content' => $content,
        'byline'  => $byline,
    ]);
});

$app->router->add('redovisning', function() use ($app) {
    $app->theme->setTitle("Redovisning");

    $content = $app->fileContent->get('redovisning.md');
    $content = $app->textFilter->doFilter($content, 'shortcode, markdown');

    $byline  = $app->fileContent->get('byline.md');
    $byline  = $app->textFilter->doFilter($byline, 'shortcode, markdown');

    $app->views->add('me/page', [
        'content' => $content,
        'byline'  => $byline,
    ]);
});

$app->router->add('discuss', function() use ($app) {
    $app->theme->setTitle("Diskussions-sidor");

    $content = $app->fileContent->get('diskussion.md');
    $content = $app->textFilter->doFilter($content, 'shortcode, markdown');
    $content .= "
url->create('comment/setup') . "'>Återställ kommentarer
";
    $content .= "
url->create('linux')   . "'>Sida med kommentarer om Linux
";
    $content .= "
url->create('ramverk') . "'>Sida med kommentarer om ramverk
";

    $app->views->add('default/blankpage', [
        'content' => $content,
    ]);
});

// Add pages with comments
$app->router->add('linux', function() use ($app) {
    $app->theme->setTitle("Linux");

    // Add the base view/content for this page
    $content = $app->fileContent->get('linux.md');
    $content = $app->textFilter->doFilter($content, 'markdown');
    $app->views->add('default/blankpage', [
        'content' => $content,
    ]);

    // Run CommentController/viewByKeyAction (adds comments-view)
    $app->dispatcher->forward([
        'controller' => 'comment',
        'action'     => 'view_by_key',
        'params'     => ['linux'],
    ]);

    // Add a form for adding comments
    $app->dispatcher->forward([
        'controller' => 'comment',
        'action'     => 'add',
        'params'     => ['linux'],
    ]);
});

$app->router->add('ramverk', function() use ($app) {
    $app->theme->setTitle("Ramverk");

    // Add the base view/content for this page
    $content = $app->fileContent->get('ramverk.md');
    $content = $app->textFilter->doFilter($content, 'markdown');
    $app->views->add('default/blankpage', [
        'content' => $content,
    ]);

    // Run CommentController/viewByKeyAction (adds comments-view)
    $app->dispatcher->forward([
        'controller' => 'comment',
        'action'     => 'view_by_key',
        'params'     => ['ramverk'],
    ]);

    // Add a form for adding comments
    $app->dispatcher->forward([
        'controller' => 'comment',
        'action'     => 'add',
        'params'     => ['ramverk'],
    ]);
});

$app->router->add('source', function() use ($app) {
    $app->theme->addStylesheet('css/source.css');
    $app->theme->setTitle("Källkod");

    $source = new \Mos\Source\CSource([
        'secure_dir' => '..',
        'base_dir' => '..',
        'add_ignore' => ['.htaccess'],
    ]);

    $app->views->add('me/source', [
        'content' => $source->View(),
    ]);
});

// Display debug info
$app->router->add('debug', function() use ($app) {
    $app->theme->setTitle("Debugging information");

    $content = "
This page can be used as a utility to display debug info or links.
";

    $app->views->add('default/blankpage', [
        'content' => $content,
    ]);
});

// Route to overview page for db-models functionality
$app->router->add('db-models', function () use ($app) {

    $app->theme->setTitle("Testa databasdrivna modeller");

    $app->views->add('me/links', [
        'title' => "Testa databasdrivna modeller",
        'content' => "
Länkar till några routes som finns för att testa databasdrivna modeller.
" .
                     "
Routes som är beroende av ett användar-id (id, update, soft-delete/un-delete, " .
                     "activate/deactivate, delete) kan testas från sidan " .
                     "url->create('users/list'). "'>Alla användare.",
        'pagelinks' => [
            [
                'href' => $app->url->create('users/list'),
                'text' => "Alla användare",
            ],
            [
                'href' => $app->url->create('users/add'),
                'text' => "Lägg till användare",
            ],
            [
                'href' => $app->url->create('users/active'),
                'text' => "Aktiva, ej raderade, användare",
            ],
            [
                'href' => $app->url->create('users/inactive'),
                'text' => "Inaktiva användare",
            ],
            [
                'href' => $app->url->create('users/in-trash'),
                'text' => "Papperskorgen",
            ],
            [
                'href' => $app->url->create('users/setup'),
                'text' => "Återställ databasen",
            ],
        ],
    ]);
});

$app->router->handle();
$app->theme->render();


text:
/** @file
 * VirtualBox OpenGL Cocoa Window System Helper Implementation.
 */

/*
 * Copyright (C) 2014-2015 Oracle Corporation
 *
 * This file is part of VirtualBox Open Source Edition (OSE), as
 * available from http://www.virtualbox.org. This file is free software;
 * you can redistribute it and/or modify it under the terms of the GNU
 * General Public License (GPL) as published by the Free Software
 * Foundation, in version 2 as it comes in the "COPYING" file of the
 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
 */

#ifndef __DevVGA_SVGA3d_cocoa_h
#define __DevVGA_SVGA3d_cocoa_h

#include <iprt/types.h>
#include <VBox/VBoxCocoa.h>

RT_C_DECLS_BEGIN

#ifndef ___renderspu_cocoa_helper_h
ADD_COCOA_NATIVE_REF(NSView);
ADD_COCOA_NATIVE_REF(NSOpenGLContext);
#endif

#ifdef IN_VMSVGA3DCOCOA
# define VMSVGA3DCOCOA_DECL(type)  DECLEXPORT(type)
#else
# define VMSVGA3DCOCOA_DECL(type)  DECLIMPORT(type)
#endif

VMSVGA3DCOCOA_DECL(void) vmsvga3dCocoaServiceRunLoop(void);
VMSVGA3DCOCOA_DECL(bool) vmsvga3dCocoaCreateViewAndContext(NativeNSViewRef *ppView, NativeNSOpenGLContextRef *ppCtx,
                                                           NativeNSViewRef pParentView, uint32_t cx, uint32_t cy,
                                                           NativeNSOpenGLContextRef pSharedCtx, bool fOtherProfile);
VMSVGA3DCOCOA_DECL(void) vmsvga3dCocoaDestroyViewAndContext(NativeNSViewRef pView, NativeNSOpenGLContextRef pCtx);
VMSVGA3DCOCOA_DECL(void) vmsvga3dCocoaViewSetPosition(NativeNSViewRef pView, NativeNSViewRef pParentView, int x, int y);
VMSVGA3DCOCOA_DECL(void) vmsvga3dCocoaViewSetSize(NativeNSViewRef pView, int w, int h);
VMSVGA3DCOCOA_DECL(void) vmsvga3dCocoaViewMakeCurrentContext(NativeNSViewRef pView, NativeNSOpenGLContextRef pCtx);
VMSVGA3DCOCOA_DECL(void) vmsvga3dCocoaSwapBuffers(NativeNSViewRef pView, NativeNSOpenGLContextRef pCtx);

RT_C_DECLS_END

#endif /* !__DevVGA_SVGA3d_cocoa_h */


text:
"""
    unit test for the inheritance
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    :copyright: (c) 2009 by the Jinja Team.
    :license: BSD, see LICENSE for more details.
"""

from jinja2 import Environment, DictLoader
from jinja2.exceptions import TemplateSyntaxError

LAYOUTTEMPLATE = '''\
|{% block block1 %}block 1 from layout{% endblock %}
|{% block block2 %}block 2 from layout{% endblock %}
|{% block block3 %}
{% block block4 %}nested block 4 from layout{% endblock %}
{% endblock %}|'''

LEVEL1TEMPLATE = '''\
{% extends "layout" %}
{% block block1 %}block 1 from level1{% endblock %}'''

LEVEL2TEMPLATE = '''\
{% extends "level1" %}
{% block block2 %}{% block block5 %}nested block 5 from level2{%
endblock %}{% endblock %}'''

LEVEL3TEMPLATE = '''\
{% extends "level2" %}
{% block block5 %}block 5 from level3{% endblock %}
{% block block4 %}block 4 from level3{% endblock %}
'''

LEVEL4TEMPLATE = '''\
{% extends "level3" %}
{% block block3 %}block 3 from level4{% endblock %}
'''

WORKINGTEMPLATE = '''\
{% extends "layout" %}
{% block block1 %}
  {% if false %}
    {% block block2 %}
      this should workd
    {% endblock %}
  {% endif %}
{% endblock %}
'''

env = Environment(loader=DictLoader({
    'layout':       LAYOUTTEMPLATE,
    'level1':       LEVEL1TEMPLATE,
    'level2':       LEVEL2TEMPLATE,
    'level3':       LEVEL3TEMPLATE,
    'level4':       LEVEL4TEMPLATE,
    'working':      WORKINGTEMPLATE
}), trim_blocks=True)

def test_layout():
    tmpl = env.get_template('layout')
    assert tmpl.render() == ('|block 1 from layout|block 2 from '
                             'layout|nested block 4 from layout|')

def test_level1():
    tmpl = env.get_template('level1')
    assert tmpl.render() == ('|block 1 from level1|block 2 from '
                             'layout|nested block 4 from layout|')

def test_level2():
    tmpl = env.get_template('level2')
    assert tmpl.render() == ('|block 1 from level1|nested block 5 from '
                             'level2|nested block 4 from layout|')

def test_level3():
    tmpl = env.get_template('level3')
    assert tmpl.render() == ('|block 1 from level1|block 5 from level3|'
                             'block 4 from level3|')

def test_level4():
    tmpl = env.get_template('level4')
    assert tmpl.render() == ('|block 1 from level1|block 5 from '
                             'level3|block 3 from level4|')

def test_super():
    env = Environment(loader=DictLoader({
        'a': '{% block intro %}INTRO{% endblock %}|'
             'BEFORE|{% block data %}INNER{% endblock %}|AFTER',
        'b': '{% extends "a" %}{% block data %}({{ '
             'super() }}){% endblock %}',
        'c': '{% extends "b" %}{% block intro %}--{{ '
             'super() }}--{% endblock %}\n{% block data '
             '%}[{{ super() }}]{% endblock %}'
    }))
    tmpl = env.get_template('c')
    assert tmpl.render() == '--INTRO--|BEFORE|[(INNER)]|AFTER'

def test_working():
    tmpl = env.get_template('working')

def test_reuse_blocks():
    tmpl = env.from_string('{{ self.foo() }}|{% block foo %}42{% endblock %}|{{ self.foo() }}')
    assert tmpl.render() == '42|42|42'

def test_preserve_blocks():
    env = Environment(loader=DictLoader({
        'a': '{% if false %}{% block x %}A{% endblock %}{% endif %}{{ self.x() }}',
        'b': '{% extends "a" %}{% block x %}B{{ super() }}{% endblock %}'
    }))
    tmpl = env.get_template('b')
    assert tmpl.render() == 'BA'

def test_dynamic_inheritance():
    env = Environment(loader=DictLoader({
        'master1': 'MASTER1{% block x %}{% endblock %}',
        'master2': 'MASTER2{% block x %}{% endblock %}',
        'child': '{% extends master %}{% block x %}CHILD{% endblock %}'
    }))
    tmpl = env.get_template('child')
    for m in range(1, 3):
        assert tmpl.render(master='master%d' % m) == 'MASTER%dCHILD' % m

def test_multi_inheritance():
    env = Environment(loader=DictLoader({
        'master1': 'MASTER1{% block x %}{% endblock %}',
        'master2': 'MASTER2{% block x %}{% endblock %}',
        'child': '''{% if master %}{% extends master %}{% else %}{% extends
                    'master1' %}{% endif %}{% block x %}CHILD{% endblock %}'''
    }))
    tmpl = env.get_template('child')
    assert tmpl.render(master='master2') == 'MASTER2CHILD'
    assert tmpl.render(master='master1') == 'MASTER1CHILD'
    assert tmpl.render() == 'MASTER1CHILD'

def test_fixed_macro_scoping_bug():
    assert Environment(loader=DictLoader({
        'test.html': '''\
    {% extends 'details.html' %}

    {% macro my_macro() %}
    my_macro
    {% endmacro %}

    {% block inner_box %}
        {{ my_macro() }}
    {% endblock %}
        ''',
        'details.html': '''\
    {% extends 'standard.html' %}

    {% macro my_macro() %}
    my_macro
    {% endmacro %}

    {% block content %}
        {% block outer_box %}
            outer_box
            {% block inner_box %}
                inner_box
            {% endblock %}
        {% endblock %}
    {% endblock %}
    ''',
        'standard.html': '''
    {% block content %} {% endblock %}
    '''
    })).get_template("test.html").render().split() == [u'outer_box', u'my_macro']

def test_scoped_block():
    env = Environment(loader=DictLoader({
        'master.html': '{% for item in seq %}[{% block item scoped %}'
                       '{% endblock %}]{% endfor %}'
    }))
    t = env.from_string('{% extends "master.html" %}{% block item %}{{ item }}{% endblock %}')
    assert t.render(seq=range(5)) == '[0][1][2][3][4]'

def test_super_in_scoped_block():
    env = Environment(loader=DictLoader({
        'master.html': '{% for item in seq %}[{% block item scoped %}'
                       '{{ item }}{% endblock %}]{% endfor %}'
    }))
    t = env.from_string('{% extends "master.html" %}{% block item %}{{ super() }}|{{ item * 2 }}{% endblock %}')
    assert t.render(seq=range(5)) == '[0|0][1|2][2|4][3|6][4|8]'


text:
        Username

        <input #username type="text"
            (keyup.enter)="password.focus()" />

        Password

        <input #password type="password"
            (keyup.enter)="login(username.value, password.value)" />

    <button type="button"
        class="btn btn-primary btn-block"
        (click)="login(username.value, password.value)">Login</button>


text:
package ml.puredark.hviewer.ui.activities;

import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.widget.Toast;

import com.journeyapps.barcodescanner.CaptureActivity;

public class MyCaptureActivity extends CaptureActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (ContextCompat.checkSelfPermission(this, Manifest.permission.CAMERA)
                != PackageManager.PERMISSION_GRANTED) {
            ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA}, 1);
        }
    }

    @Override
    public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults);
        doNext(requestCode, grantResults);
    }

    private void doNext(int requestCode, int[] grantResults) {
        if (requestCode == 1) {
            if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {
                // Permission Granted
            } else {
                // Permission Denied
                Toast.makeText(this, "请在应用管理中打开"相机"访问权限!", Toast.LENGTH_LONG).show();
                finish();
            }
        }
    }
}


text:
using Moq;
using Autofac;
using System;
using System.Linq;
using System.Reflection;
using Sharpenter.BootstrapperLoader.Builder;
using Sharpenter.BootstrapperLoader.Helpers;
using Sharpenter.BootstrapperLoader;
using Xunit;

namespace Sharpenter.BootstrapperLoader.Tests.BootstrapperLoaderTests
{
    public class WhenCreatedAndInitialized
    {
        private BootstrapperLoader _subject;
        private static Assembly _testDll;

        public WhenCreatedAndInitialized()
        {
            _testDll = Assembly.GetExecutingAssembly();
        }

        [Fact(DisplayName = "Should create bootstrapper using default constructor")]
        public void should_create_bootstrapper_using_default_constructor()
        {
            _subject = new LoaderBuilder()
                            .Use(new InMemoryAssemblyProvider(() => new[] { _testDll }))
                            .Build();

            Assert.Equal(1, _subject.Bootstrappers.Count);
            Assert.Contains("BootstrapperLoaderTests.Bootstrapper", _subject.Bootstrappers.First().GetType().FullName);
        }
    }
}


text:
CXX = g++
CXXFLAGS = -Wall -g -I/usr/local/include -I/usr/include
LDFLAGS = -L/usr/local/lib -L /usr/lib -lgiblib -lImlib2 -lfreetype -lz -lX11 -lXext -ldl -lm
SOURCES = src/Screencapture.cpp src/ScreenshotManager.cpp src/Screenshot.cpp
OBJECTS = $(SOURCES:.cpp=.o)
EXECUTABLE = screencapture

all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
	$(CXX) $(OBJECTS) $(LDFLAGS) -o $@

clean:
	-rm -f $(OBJECTS) $(EXECUTABLE)

.cpp.o:
	$(CXX) -c $< $(CXXFLAGS) $(LDFLAGS) -o $@


text:
package com.facebook.buck.features.d;

import static com.facebook.buck.features.d.DDescriptionUtils.SOURCE_LINK_TREE;

import com.facebook.buck.core.cell.CellPathResolver;
import com.facebook.buck.core.description.arg.BuildRuleArg;
import com.facebook.buck.core.description.arg.HasContacts;
import com.facebook.buck.core.description.arg.HasDeclaredDeps;
import com.facebook.buck.core.description.arg.HasTestTimeout;
import com.facebook.buck.core.description.attr.ImplicitDepsInferringDescription;
import com.facebook.buck.core.model.BuildTarget;
import com.facebook.buck.core.rules.ActionGraphBuilder;
import com.facebook.buck.core.rules.BuildRule;
import com.facebook.buck.core.rules.BuildRuleCreationContextWithTargetGraph;
import com.facebook.buck.core.rules.BuildRuleParams;
import com.facebook.buck.core.rules.DescriptionWithTargetGraph;
import com.facebook.buck.core.rules.impl.SymlinkTree;
import com.facebook.buck.core.toolchain.ToolchainProvider;
import com.facebook.buck.core.util.immutables.BuckStyleImmutable;
import com.facebook.buck.cxx.config.CxxBuckConfig;
import com.facebook.buck.cxx.toolchain.CxxPlatform;
import com.facebook.buck.io.filesystem.ProjectFilesystem;
import com.facebook.buck.rules.coercer.SourceSortedSet;
import com.facebook.buck.test.config.TestBuckConfig;
import com.facebook.buck.versions.VersionRoot;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableList;
import java.util.Optional;
import org.immutables.value.Value;

public class DTestDescription
    implements DescriptionWithTargetGraph<DTestDescriptionArg>,
        ImplicitDepsInferringDescription<DTestDescription.AbstractDTestDescriptionArg>,
        VersionRoot<DTestDescriptionArg> {

  private final ToolchainProvider toolchainProvider;
  private final DBuckConfig dBuckConfig;
  private final CxxBuckConfig cxxBuckConfig;

  public DTestDescription(
      ToolchainProvider toolchainProvider, DBuckConfig dBuckConfig, CxxBuckConfig cxxBuckConfig) {
    this.toolchainProvider = toolchainProvider;
    this.dBuckConfig = dBuckConfig;
    this.cxxBuckConfig = cxxBuckConfig;
  }

  @Override
  public Class<DTestDescriptionArg> getConstructorArgType() {
    return DTestDescriptionArg.class;
  }

  @Override
  public BuildRule createBuildRule(
      BuildRuleCreationContextWithTargetGraph context,
      BuildTarget buildTarget,
      BuildRuleParams params,
      DTestDescriptionArg args) {

    ActionGraphBuilder graphBuilder = context.getActionGraphBuilder();
    ProjectFilesystem projectFilesystem = context.getProjectFilesystem();

    if (buildTarget.getFlavors().contains(SOURCE_LINK_TREE)) {
      return DDescriptionUtils.createSourceSymlinkTree(
          buildTarget, projectFilesystem, graphBuilder, args.getSrcs());
    }

    SymlinkTree sourceTree =
        (SymlinkTree) graphBuilder.requireRule(DDescriptionUtils.getSymlinkTreeTarget(buildTarget));

    CxxPlatform cxxPlatform =
        DDescriptionUtils.getCxxPlatform(
            graphBuilder, toolchainProvider, dBuckConfig, buildTarget.getTargetConfiguration());

    // Create a helper rule to build the test binary.
    // The rule needs its own target so that we can depend on it without creating cycles.
    BuildTarget binaryTarget =
        DDescriptionUtils.createBuildTargetForFile(
            buildTarget, "build-", buildTarget.getFullyQualifiedName(), cxxPlatform);

    BuildRule binaryRule =
        DDescriptionUtils.createNativeLinkable(
            context.getCellPathResolver(),
            binaryTarget,
            projectFilesystem,
            params,
            graphBuilder,
            cxxPlatform,
            dBuckConfig,
            cxxBuckConfig,
            ImmutableList.of("-unittest"),
            args.getSrcs(),
            args.getLinkerFlags(),
            DIncludes.builder()
                .setLinkTree(sourceTree.getSourcePathToOutput())
                .addAllSources(args.getSrcs().getPaths())
                .build());
    graphBuilder.addToIndex(binaryRule);

    return new DTest(
        buildTarget,
        projectFilesystem,
        params.copyAppendingExtraDeps(ImmutableList.of(binaryRule)),
        binaryRule,
        args.getContacts(),
        args.getLabels(),
        args.getTestRuleTimeoutMs()
            .map(Optional::of)
            .orElse(
                dBuckConfig
                    .getDelegate()
                    .getView(TestBuckConfig.class)
                    .getDefaultTestRuleTimeoutMs()));
  }

  @Override
  public void findDepsForTargetFromConstructorArgs(
      BuildTarget buildTarget,
      CellPathResolver cellRoots,
      AbstractDTestDescriptionArg constructorArg,
      ImmutableCollection.Builder<BuildTarget> extraDepsBuilder,
      ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder) {
    extraDepsBuilder.addAll(
        DDescriptionUtils.getUnresolvedCxxPlatform(
                toolchainProvider, buildTarget.getTargetConfiguration(), dBuckConfig)
            .getParseTimeDeps(buildTarget.getTargetConfiguration()));
  }

  @BuckStyleImmutable
  @Value.Immutable
  interface AbstractDTestDescriptionArg
      extends BuildRuleArg, HasContacts, HasDeclaredDeps, HasTestTimeout {
    SourceSortedSet getSrcs();

    ImmutableList<String> getLinkerFlags();
  }
}


text:
package org.apache.hadoop.yarn.server.sharedcachemanager.store;

import java.util.HashSet;
import java.util.Set;

import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceStability.Evolving;

/**
 * Class that encapsulates the cache resource. The instances are not thread
 * safe. Any operation that uses the resource must use thread-safe mechanisms to
 * ensure safe access with the only exception of the filename.
 */
@Private
@Evolving
class SharedCacheResource {
  private long accessTime;
  private final Set<SharedCacheResourceReference> refs;
  private final String fileName;

  SharedCacheResource(String fileName) {
    this.accessTime = System.currentTimeMillis();
    this.refs = new HashSet<SharedCacheResourceReference>();
    this.fileName = fileName;
  }

  long getAccessTime() {
    return accessTime;
  }

  void updateAccessTime() {
    accessTime = System.currentTimeMillis();
  }

  String getFileName() {
    return this.fileName;
  }

  Set<SharedCacheResourceReference> getResourceReferences() {
    return this.refs;
  }

  boolean addReference(SharedCacheResourceReference ref) {
    return this.refs.add(ref);
  }
}


text:
package com.github.carlosph.cookiesconsent;

import android.app.Activity;
import android.content.DialogInterface;
import android.support.annotation.NonNull;
import android.support.v7.app.AlertDialog;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;

public class CookiesConsentDialog extends CookiesConsentAlert {

    private boolean cancelable = false;

    public CookiesConsentDialog(@NonNull final Activity activity) {
        this.activity = activity;
    }

    public CookiesConsentDialog setCancelable(boolean cancelable) {
        this.cancelable = cancelable;
        return this;
    }

    public CookiesConsentDialog setPolicyUrl(@NonNull String policyUrl) {
        this.policyUrl = policyUrl;
        return this;
    }

    public CookiesConsentDialog setListener(CookiesConsentListener listener) {
        this.listener = listener;
        return this;
    }

    protected void show() {
        AlertDialog dialog = new AlertDialog.Builder(activity)
                .setNegativeButton(R.string.exit_button_text, new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog, int which) {
                        activity.finish();
                    }
                })
                .setPositiveButton(R.string.continue_button_text, new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog, int which) {
                        policyAccepted();
                    }
                })
                .setTitle(R.string.dialog_title)
                .setMessage(getFormattedMessage())
                .setCancelable(cancelable)
                .show();

        ((TextView) dialog.findViewById(android.R.id.message)).setMovementMethod(LinkMovementMethod.getInstance());
    }

}


text:
"""
Auto-generated setup.py file.
"""

import setuptools

setuptools.setup(
    name='pyvault',
    version=open('VERSION.txt').read(),
    author='Matthew Cotton',
    author_email='matt@thecottons.com',
    packages=['pyvault'],
    # py_modules=[],
    # scripts=[],
    url='http://pypi.python.org/pypi/pyvault/',
    license='MIT - LICENSE.txt',
    description='Simple, secure, API-driven password manager',
    long_description=open('README.rst').read(),
    install_requires=[],
)


text:
Asana - Teamwork without email

### Create/Edit Asana service

Set Asana service for a project.

> This service adds commit messages as comments to Asana tasks. Once enabled, commit messages are checked for Asana task URLs (for example, `https://app.asana.com/0/123456/987654`) or task IDs starting with # (for example, `#987654`). Every task ID found will get the commit comment added to it.  You can also close a task with a message containing: `fix #123456`.  You can find your Api Keys here: https://asana.com/developers/documentation/getting-started/auth#api-key

```
PUT /projects/:id/services/asana
```

Parameters:

- `api_key` (**required**) - User API token. User must have access to task, all comments will be attributed to this user.
- `restrict_to_branch` (optional) - Comma-separated list of branches which will be automatically inspected. Leave blank to include all branches.

### Delete Asana service

Delete Asana service for a project.

```
DELETE /projects/:id/services/asana
```

### Get Asana service settings

Get Asana service settings for a project.

```
GET /projects/:id/services/asana
```

## Assembla

Project Management Software (Source Commits Endpoint)

### Create/Edit Assembla service

Set Assembla service for a project.

```
PUT /projects/:id/services/assembla
```

Parameters:

- `token` (**required**)
- `subdomain` (optional)

### Delete Assembla service

Delete Assembla service for a project.

```
DELETE /projects/:id/services/assembla
```

### Get Assembla service settings

Get Assembla service settings for a project.

```
GET /projects/:id/services/assembla
```

## Atlassian Bamboo CI

A continuous integration and build server

### Create/Edit Atlassian Bamboo CI service

Set Atlassian Bamboo CI service for a project.

> You must set up automatic revision labeling and a repository trigger in Bamboo.

```
PUT /projects/:id/services/bamboo
```

Parameters:

- `bamboo_url` (**required**) - Bamboo root URL like https://bamboo.example.com
- `build_key` (**required**) - Bamboo build plan key like KEY
- `username` (**required**) - A user with API access, if applicable
- `password` (**required**)

### Delete Atlassian Bamboo CI service

Delete Atlassian Bamboo CI service for a project.

```
DELETE /projects/:id/services/bamboo
```

### Get Atlassian Bamboo CI service settings

Get Atlassian Bamboo CI service settings for a project.

```
GET /projects/:id/services/bamboo
```

## Buildkite

Continuous integration and deployments

### Create/Edit Buildkite service

Set Buildkite service for a project.

```
PUT /projects/:id/services/buildkite
```

Parameters:

- `token` (**required**) - Buildkite project GitLab token
- `project_url` (**required**) - https://buildkite.com/example/project
- `enable_ssl_verification` (optional) - Enable SSL verification

### Delete Buildkite service

Delete Buildkite service for a project.

```
DELETE /projects/:id/services/buildkite
```

### Get Buildkite service settings

Get Buildkite service settings for a project.

```
GET /projects/:id/services/buildkite
```

## Build-Emails

Get emails for GitLab CI builds.

### Create/Edit Build-Emails service

Set Build-Emails service for a project.

```
PUT /projects/:id/services/builds-email
```

Parameters:

| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `recipients` | string | yes | Comma-separated list of recipient email addresses |
| `add_pusher` | boolean | no | Add pusher to recipients list |
| `notify_only_broken_builds` | boolean | no | Notify only broken builds |

### Delete Build-Emails service

Delete Build-Emails service for a project.

```
DELETE /projects/:id/services/builds-email
```

### Get Build-Emails service settings

Get Build-Emails service settings for a project.

```
GET /projects/:id/services/builds-email
```

## Campfire

Simple web-based real-time group chat

### Create/Edit Campfire service

Set Campfire service for a project.

```
PUT /projects/:id/services/campfire
```

Parameters:

- `token` (**required**)
- `subdomain` (optional)
- `room` (optional)

### Delete Campfire service

Delete Campfire service for a project.

```
DELETE /projects/:id/services/campfire
```

### Get Campfire service settings

Get Campfire service settings for a project.

```
GET /projects/:id/services/campfire
```

## Custom Issue Tracker

Custom issue tracker

### Create/Edit Custom Issue Tracker service

Set Custom Issue Tracker service for a project.

```
PUT /projects/:id/services/custom-issue-tracker
```

Parameters:

- `new_issue_url` (**required**) - New Issue url
- `issues_url` (**required**) - Issue url
- `project_url` (**required**) - Project url
- `description` (optional) - Custom issue tracker
- `title` (optional) - Custom Issue Tracker

### Delete Custom Issue Tracker service

Delete Custom Issue Tracker service for a project.

```
DELETE /projects/:id/services/custom-issue-tracker
```

### Get Custom Issue Tracker service settings

Get Custom Issue Tracker service settings for a project.

```
GET /projects/:id/services/custom-issue-tracker
```

## Drone CI

Drone is a Continuous Integration platform built on Docker, written in Go

### Create/Edit Drone CI service

Set Drone CI service for a project.

```
PUT /projects/:id/services/drone-ci
```

Parameters:

- `token` (**required**) - Drone CI project specific token
- `drone_url` (**required**) - http://drone.example.com
- `enable_ssl_verification` (optional) - Enable SSL verification

### Delete Drone CI service

Delete Drone CI service for a project.

```
DELETE /projects/:id/services/drone-ci
```

### Get Drone CI service settings

Get Drone CI service settings for a project.

```
GET /projects/:id/services/drone-ci
```

## Emails on push

Email the commits and diff of each push to a list of recipients.

### Create/Edit Emails on push service

Set Emails on push service for a project.

```
PUT /projects/:id/services/emails-on-push
```

Parameters:

- `recipients` (**required**) - Emails separated by whitespace
- `disable_diffs` (optional) - Disable code diffs
- `send_from_committer_email` (optional) - Send from committer

### Delete Emails on push service

Delete Emails on push service for a project.

```
DELETE /projects/:id/services/emails-on-push
```

### Get Emails on push service settings

Get Emails on push service settings for a project.

```
GET /projects/:id/services/emails-on-push
```

## External Wiki

Replaces the link to the internal wiki with a link to an external wiki.

### Create/Edit External Wiki service

Set External Wiki service for a project.

```
PUT /projects/:id/services/external-wiki
```

Parameters:

- `external_wiki_url` (**required**) - The URL of the external Wiki

### Delete External Wiki service

Delete External Wiki service for a project.

```
DELETE /projects/:id/services/external-wiki
```

### Get External Wiki service settings

Get External Wiki service settings for a project.

```
GET /projects/:id/services/external-wiki
```

## Flowdock

Flowdock is a collaboration web app for technical teams.

### Create/Edit Flowdock service

Set Flowdock service for a project.

```
PUT /projects/:id/services/flowdock
```

Parameters:

- `token` (**required**) - Flowdock Git source token

### Delete Flowdock service

Delete Flowdock service for a project.

```
DELETE /projects/:id/services/flowdock
```

### Get Flowdock service settings

Get Flowdock service settings for a project.

```
GET /projects/:id/services/flowdock
```

## Gemnasium

Gemnasium monitors your project dependencies and alerts you about updates and security vulnerabilities.

### Create/Edit Gemnasium service

Set Gemnasium service for a project.

```
PUT /projects/:id/services/gemnasium
```

Parameters:

- `api_key` (**required**) - Your personal API KEY on gemnasium.com
- `token` (**required**) - The project's slug on gemnasium.com

### Delete Gemnasium service

Delete Gemnasium service for a project.

```
DELETE /projects/:id/services/gemnasium
```

### Get Gemnasium service settings

Get Gemnasium service settings for a project.

```
GET /projects/:id/services/gemnasium
```

## HipChat

Private group chat and IM

### Create/Edit HipChat service

Set HipChat service for a project.

```
PUT /projects/:id/services/hipchat
```

Parameters:

- `token` (**required**) - Room token
- `color` (optional)
- `notify` (optional)
- `room` (optional) - Room name or ID
- `api_version` (optional) - Leave blank for default (v2)
- `server` (optional) - Leave blank for default. https://hipchat.example.com

### Delete HipChat service

Delete HipChat service for a project.

```
DELETE /projects/:id/services/hipchat
```

### Get HipChat service settings

Get HipChat service settings for a project.

```
GET /projects/:id/services/hipchat
```

## Irker (IRC gateway)

Send IRC messages, on update, to a list of recipients through an Irker gateway.

### Create/Edit Irker (IRC gateway) service

Set Irker (IRC gateway) service for a project.

>  NOTE: Irker does NOT have built-in authentication, which makes it vulnerable to spamming IRC channels if it is hosted outside of a  firewall. Please make sure you run the daemon within a secured network  to prevent abuse. For more details, read: http://www.catb.org/~esr/irker/security.html.

```
PUT /projects/:id/services/irker
```

Parameters:

- `recipients` (**required**) - Recipients/channels separated by whitespaces
- `default_irc_uri` (optional) - irc://irc.network.net:6697/
- `server_port` (optional) - 6659
- `server_host` (optional) - localhost
- `colorize_messages` (optional)

### Delete Irker (IRC gateway) service

Delete Irker (IRC gateway) service for a project.

```
DELETE /projects/:id/services/irker
```

### Get Irker (IRC gateway) service settings

Get Irker (IRC gateway) service settings for a project.

```
GET /projects/:id/services/irker
```

## JIRA

JIRA issue tracker.

### Get JIRA service settings

Get JIRA service settings for a project.

```
GET /projects/:id/services/jira
```

### Create/Edit JIRA service

Set JIRA service for a project.

>**Notes:**
- Starting with GitLab 8.14, `api_url`, `issues_url`, `new_issue_url` and
  `project_url` are replaced by `project_key`, `url`.  If you are using an
  older version, [follow this documentation][old-jira-api].

```
PUT /projects/:id/services/jira
```

| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `url`           | string | yes | The URL to the JIRA project which is being linked to this GitLab project, e.g., `https://jira.example.com`. |
| `project_key`   | string | yes | The short identifier for your JIRA project, all uppercase, e.g., `PROJ`. |
| `username`      | string | no  | The username of the user created to be used with GitLab/JIRA. |
| `password`      | string | no  | The password of the user created to be used with GitLab/JIRA. |
| `jira_issue_transition_id` | integer | no | The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (**Administration > Issues > Workflows**) by selecting **View** under **Operations** of the desired workflow of your project. The ID of each state can be found inside the parenthesis of each transition name under the **Transitions (id)** column ([see screenshot][trans]). By default, this ID is set to `2`. |

### Delete JIRA service

Remove all previously JIRA settings from a project.

```
DELETE /projects/:id/services/jira
```

## Mattermost Slash Commands

Ability to receive slash commands from a Mattermost chat instance.

### Create/Edit Mattermost Slash Command service

Set Mattermost Slash Command for a project.

```
PUT /projects/:id/services/mattermost-slash-commands
```

Parameters:

| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `token` | string | yes | The Mattermost token |

### Delete Mattermost Slash Command service

Delete Mattermost Slash Command service for a project.

```
DELETE /projects/:id/services/mattermost-slash-commands
```

### Get Mattermost Slash Command service settings

Get Mattermost Slash Command service settings for a project.

```
GET /projects/:id/services/mattermost-slash-commands
```

## Pipeline-Emails

Get emails for GitLab CI pipelines.

### Create/Edit Pipeline-Emails service

Set Pipeline-Emails service for a project.

```
PUT /projects/:id/services/pipelines-email
```

Parameters:

| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `recipients` | string | yes | Comma-separated list of recipient email addresses |
| `add_pusher` | boolean | no | Add pusher to recipients list |
| `notify_only_broken_builds` | boolean | no | Notify only broken pipelines |

### Delete Pipeline-Emails service

Delete Pipeline-Emails service for a project.

```
DELETE /projects/:id/services/pipelines-email
```

### Get Pipeline-Emails service settings

Get Pipeline-Emails service settings for a project.

```
GET /projects/:id/services/pipelines-email
```

## PivotalTracker

Project Management Software (Source Commits Endpoint)

### Create/Edit PivotalTracker service

Set PivotalTracker service for a project.

```
PUT /projects/:id/services/pivotaltracker
```

Parameters:

- `token` (**required**)
- `restrict_to_branch` (optional) - Comma-separated list of branches which will be automatically inspected. Leave blank to include all branches.

### Delete PivotalTracker service

Delete PivotalTracker service for a project.

```
DELETE /projects/:id/services/pivotaltracker
```

### Get PivotalTracker service settings

Get PivotalTracker service settings for a project.

```
GET /projects/:id/services/pivotaltracker
```

## Pushover

Pushover makes it easy to get real-time notifications on your Android device, iPhone, iPad, and Desktop.

### Create/Edit Pushover service

Set Pushover service for a project.

```
PUT /projects/:id/services/pushover
```

Parameters:

- `api_key` (**required**) - Your application key
- `user_key` (**required**) - Your user key
- `priority` (**required**)
- `device` (optional) - Leave blank for all active devices
- `sound` (optional)

### Delete Pushover service

Delete Pushover service for a project.

```
DELETE /projects/:id/services/pushover
```

### Get Pushover service settings

Get Pushover service settings for a project.

```
GET /projects/:id/services/pushover
```

## Redmine

Redmine issue tracker

### Create/Edit Redmine service

Set Redmine service for a project.

```
PUT /projects/:id/services/redmine
```

Parameters:

- `new_issue_url` (**required**) - New Issue url
- `project_url` (**required**) - Project url
- `issues_url` (**required**) - Issue url
- `description` (optional) - Redmine issue tracker

### Delete Redmine service

Delete Redmine service for a project.

```
DELETE /projects/:id/services/redmine
```

### Get Redmine service settings

Get Redmine service settings for a project.

```
GET /projects/:id/services/redmine
```

## Slack notifications

Receive event notifications in Slack

### Create/Edit Slack service

Set Slack service for a project.

```
PUT /projects/:id/services/slack
```

Parameters:

- `webhook` (**required**) - https://hooks.slack.com/services/...
- `username` (optional) - username
- `channel` (optional) - #channel

### Delete Slack service

Delete Slack service for a project.

```
DELETE /projects/:id/services/slack
```

### Get Slack service settings

Get Slack service settings for a project.

```
GET /projects/:id/services/slack
```

## Mattermost notifications

Receive event notifications in Mattermost

### Create/Edit Mattermost notifications service

Set Mattermost service for a project.

```
PUT /projects/:id/services/mattermost
```

Parameters:

- `webhook` (**required**) - https://mattermost.example/hooks/1298aff...
- `username` (optional) - username
- `channel` (optional) - #channel

### Delete Mattermost notifications service

Delete Mattermost Notifications service for a project.

```
DELETE /projects/:id/services/mattermost
```

### Get Mattermost notifications service settings

Get Mattermost notifications service settings for a project.

```
GET /projects/:id/services/mattermost
```

## JetBrains TeamCity CI

A continuous integration and build server

### Create/Edit JetBrains TeamCity CI service

Set JetBrains TeamCity CI service for a project.

> The build configuration in Teamcity must use the build format number %build.vcs.number% you will also want to configure monitoring of all branches so merge requests build, that setting is in the vsc root advanced settings.

```
PUT /projects/:id/services/teamcity
```

Parameters:

- `teamcity_url` (**required**) - TeamCity root URL like https://teamcity.example.com
- `build_type` (**required**) - Build configuration ID
- `username` (**required**) - A user with permissions to trigger a manual build
- `password` (**required**)

### Delete JetBrains TeamCity CI service

Delete JetBrains TeamCity CI service for a project.

```
DELETE /projects/:id/services/teamcity
```

### Get JetBrains TeamCity CI service settings

Get JetBrains TeamCity CI service settings for a project.

```
GET /projects/:id/services/teamcity
```

[jira-doc]: ../user/project/integrations/jira.md
[old-jira-api]: https://gitlab.com/gitlab-org/gitlab-ce/blob/8-13-stable/doc/api/services.md#jira


text:
<?xml version="1.0" ?><para version="5.0" xml:lang="zh" xmlns="http://docbook.org/ns/docbook">

Description of configuration options for
        <literal>[object-auditor]</literal> in <filename>object-server.conf</filename>

    <col width="50%"/>
    <col width="50%"/>

        Configuration option = Default value
        描述

        <option>bytes_per_second</option> = <replaceable>10000000</replaceable>
        Maximum bytes audited per second. Should be tuned according to individual system specs. 0 is unlimited. mounted to prevent accidentally writing to the root device process simultaneously (it will actually accept(2) N + 1). Setting this to one (1) will only handle one request at a time, without accepting another request concurrently. By increasing the number of workers to a much higher value, one can reduce the impact of slow file system operations in one request from negatively impacting other requests. underlying filesystem does not support it. to setup custom log handlers. bytes you'd like fallocate to reserve, whether there is space for the given file size or not. This is useful for systems that behave badly when they completely run out of space; you can make the services pretend they're out of space early. container server.  For most cases, this should be `egg:swift#container`.

        <option>concurrency</option> = <replaceable>1</replaceable>
        Number of replication workers to spawn

        <option>disk_chunk_size</option> = <replaceable>65536</replaceable>
        Size of chunks to read/write to disk

        <option>files_per_second</option> = <replaceable>20</replaceable>
        Maximum files audited per second. Should be tuned according to individual system specs. 0 is unlimited.

        <option>log_address</option> = <replaceable>/dev/log</replaceable>
        Location where syslog sends the logs to

        <option>log_facility</option> = <replaceable>LOG_LOCAL0</replaceable>
        Syslog log facility

        <option>log_level</option> = <replaceable>INFO</replaceable>
        Logging level

        <option>log_name</option> = <replaceable>object-auditor</replaceable>
        Label used when logging

        <option>log_time</option> = <replaceable>3600</replaceable>
        Frequency of status logs in seconds.

        <option>object_size_stats</option> = <replaceable/>
        No help text available for this option.

        <option>recon_cache_path</option> = <replaceable>/var/cache/swift</replaceable>
        Directory where stats for a few items will be stored

        <option>zero_byte_files_per_second</option> = <replaceable>50</replaceable>
        Maximum zero byte files audited per second.

</para>


text:
export const REGISTER_FAILURE = 'USER_REGISTER_FAILURE';
export const REGISTER_SUCCESS = 'USER_REGISTER_SUCCESS';
export const SIGN_OUT = 'SIGN_OUT';
export const LOGIN_FAILURE = 'LOGIN_FAILURE';
export const LOGIN_SUCCESS = 'LOGIN_SUCCESS';
export const ADD_BOOK_TO_SHOPCART = 'ADD_BOOK_TO_SHOPCART';
// import crypto from 'crypto';

// 记得添加用户验证和通知
export const register = (username, password) => (dispatch, getState) => {
	if(getState().user['users'].indexOf(username) > -1) {
		dispatch({
			type: REGISTER_FAILURE
		})
	} else {
		dispatch({
			type: REGISTER_SUCCESS,
			payload: {
				username,
				password
			}
		})
	}
}
export const signOut = () => ({
	type: SIGN_OUT
})
export const login = (username, password) => (dispatch, getState) => {
  if(getState().user.users.indexOf(username) !== -1) { // 用户存在
		if(getState().user.details[username]['password'] === password) {
			dispatch({
				type: LOGIN_SUCCESS,
				payload: {
					username
				}
			})
		} else {
			dispatch({
				type: LOGIN_FAILURE,
				payload: {
					text: '密码错误'
				}
			})
		}
	} else {
		dispatch({
			type: LOGIN_FAILURE,
			payload: {
				text: '用户不存在'
			}
		})
	}
}

export const addBookToShopcart = (username, title, price, number) => ({
	type: ADD_BOOK_TO_SHOPCART,
	payload: {
		username,
		title,
		price,
		number
	}
})


text:
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

function autorizar(){
	$ci = get_instance(); // instancia CI - não tem classe para usar o this, criar um objeto
		$usuarioLogado = $ci->session->userdata("usuario_logado");
		if(!$usuarioLogado){
			$ci->session->set_flashdata("danger", "Fazer Login");
			redirect("/");
		}
		return $usuarioLogado;
}


text:
Consulter le stock d'item

Des modifications ont été sauvegardées et envoyées sur GitHub