相关文件 muduo/net/Channel.h muduo/net/Channel.cc 作用 Channel可理解为一个文件描述符fd和如何处理它的事件的回调函数的封装。 Channel负责注册和响应IO事件. muduo用户一般不直接使用Channel,而使用更上一层的封装,如TCPConne ...
分类:
其他好文 时间:
2021-05-24 12:25:58
阅读次数:
0
public AbstractBeanDefinition parseBeanDefinitionAttributes(Element ele, String beanName, @Nullable BeanDefinition containingBean, AbstractBeanDefinit ...
分类:
编程语言 时间:
2021-05-24 11:55:36
阅读次数:
0
简介 接雨水. 简单思路 排序, 依次选择最高的柱子,所围城的池塘高度 code class Solution { public: struct zhuzi{ int height; int index; }; bool static cmp(const struct zhuzi &a, const ...
分类:
其他好文 时间:
2021-05-24 11:50:06
阅读次数:
0
if语句 控制流程语句 语句:就是使用;分隔的代码 顺序语句:按照代码顺序从上往下执行所有的代码就是顺序语句 格式一: if(判断的条件){ 符合条件执行的代码; } 格式二: if(判断条件){ 符合条件的代码; }else{ 不符合条件的代码; } 格式三: if(判断条件){ 符合条件的代码; ...
分类:
其他好文 时间:
2021-05-24 11:12:19
阅读次数:
0
1:error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type] } 答:问题在于if else这种写法中没有写全,比如只写了if后返回XXX。没写if不成功情况下返回XXX ...
分类:
其他好文 时间:
2021-05-24 10:41:53
阅读次数:
0
解题思路 找到子问题 if p[i]= s[j] or p[i] ='.' : match(s[0..j-1],p[0..i-1]) else return false if p[i] = '' : match(s[0..j] ,p[0..i-1]) // is empty or p[i-1]p[i ...
分类:
其他好文 时间:
2021-05-24 10:39:50
阅读次数:
0
如果有图片就展示图片,没有图片展示默认图片 <td rowspan="6" style="width:70%"> <img v-if="!item.imgs" src="../../../../assets/index/default.png" /> <j-image v-else :imageSr ...
分类:
其他好文 时间:
2021-05-24 09:13:11
阅读次数:
0
《说明先引入layui组件框架》 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="http://java.sun.com/ ...
分类:
其他好文 时间:
2021-05-24 08:43:31
阅读次数:
0
思路: 图论。参考了https://codeforces.com/blog/entry/71080。 实现: 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const ll INF = 0x3f3 ...
分类:
其他好文 时间:
2021-05-24 08:39:17
阅读次数:
0
1 <html> 2 <head> 3 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 4 <title>Reg</title> 5 <style> 6 .state1{ 7 color:#aaa; 8 } 9 ...
分类:
Web程序 时间:
2021-05-24 06:16:05
阅读次数:
0