随笔分类 -  c++语言

上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页

c++语言
摘要:ASCII码对照表 (ustc.edu.cn) 阅读全文

posted @ 2023-08-05 01:11 lydstory 阅读(18) 评论(0) 推荐(0)

摘要:矩阵 卷积:矩阵*矩阵.... 阅读全文

posted @ 2023-08-04 23:46 lydstory 阅读(21) 评论(0) 推荐(0)

摘要:一、什么是bson BSON是一种类json的一种二进制形式的存储格式,简称Binary JSON,它和JSON一样,支持内嵌的文档对象和数组对象,但是BSON有JSON没有的一些数据类型,如Date和BinData类型。 BSON可以做为网络数据交换的一种存储形式,这个有点类似于Google的Pr 阅读全文

posted @ 2023-08-04 04:21 lydstory 阅读(72) 评论(0) 推荐(0)

摘要:在 C++ 中,函数传参有以下几种方式: 值传递(Pass by Value):将实际参数的值复制一份给形式参数,在函数内部对形式参数的修改不会影响到实际参数。 引用传递(Pass by Reference):通过传递参数的引用,在函数内部对形式参数的修改会影响到实际参数。 指针传递(Pass by 阅读全文

posted @ 2023-08-04 02:15 lydstory 阅读(46) 评论(0) 推荐(0)

摘要:EXPECT_EQ(hr.field_value.size(), 8); H_TEST_ASSERT(hr.field_value["Connection"].compare("keep-alive") == 0); H_TEST_ASSERT(hr.field_value["Accept-Lang 阅读全文

posted @ 2023-08-03 14:56 lydstory 阅读(24) 评论(0) 推荐(0)

摘要:log_info("xhttpcache redis_ip:%s", xConfig::GetInstance()->app.redis_ip.c_str()); log_info("xhttpcache redis_port:%d", xConfig::GetInstance()->app.red 阅读全文

posted @ 2023-08-02 01:53 lydstory 阅读(18) 评论(0) 推荐(0)

摘要:卷积神经网络(LeNet) 卷积神经网络(LeNet) tensorflow..... pytorch实现LeNet5 阅读全文

posted @ 2023-08-01 21:59 lydstory 阅读(34) 评论(0) 推荐(0)

摘要:RESTFUL是一种网络应用程序的设计风格和开发方式,基于HTTP,可以使用XML格式定义或JSON格式定义。RESTFUL适用于移动互联网厂商作为业务接口的场景,实现第三方OTT调用移动网络资源的功能,动作类型为新增、变更、删除所调用资源 阅读全文

posted @ 2023-07-31 23:56 lydstory 阅读(29) 评论(0) 推荐(0)

摘要:seafile seafile seafile 开源网盘 【山大智云】SeafileServer源码分析之Server核心服务_.d_p.的博客-CSDN博客 seafile/lib/utils.h at master · haiwen/seafile (github.com) 阅读全文

posted @ 2023-07-31 23:45 lydstory 阅读(18) 评论(0) 推荐(0)

摘要:rocksdb rocksdb rocksdb 阅读全文

posted @ 2023-07-31 20:02 lydstory 阅读(13) 评论(0) 推荐(0)

摘要:Libevhtp (evhttp) 是一个 libevent 的 HTTP API 一个更灵活的替代品-面圈网 (mianshigee.com) 阅读全文

posted @ 2023-07-31 19:38 lydstory 阅读(175) 评论(0) 推荐(0)

摘要:xhttpcache/common/xevHtpdBase.cpp at f1dc8df482aac98f0c3edf9e7fbad478f40f8af2 · 0xsky/xhttpcache (github.com) xhttpcache 使用详细说明_阔野嘹歌的博客-CSDN博客 阅读全文

posted @ 2023-07-31 19:07 lydstory 阅读(23) 评论(0) 推荐(0)

摘要:使用libevent evhttp做服务器提供文件上传、下载、查询功能_libevent 文件传输_小小码农Come on的博客-CSDN博客 阅读全文

posted @ 2023-07-31 18:20 lydstory 阅读(112) 评论(0) 推荐(0)

摘要:要使用libevhtp实现大文件上传功能,你可以使用libevhtp的POST请求处理器,并通过分块上传的方式来处理大文件上传。以下是一个示例代码: cpp | #include <iostream> #include <fstream> #include <evhtp/evhtp.h> const 阅读全文

posted @ 2023-07-31 13:50 lydstory 阅读(50) 评论(0) 推荐(0)

摘要:evhttp处理POST请求的技巧 - 爱码网 (likecs.com) evhttp是libevent提供的一个轻量级的基于消息驱动的HTTP Server,详细的资料可以参考libevent的主页:http://monkey.org/~provos/libevent/ ,本文主要描述如何处理PO 阅读全文

posted @ 2023-07-31 13:47 lydstory 阅读(262) 评论(0) 推荐(0)

摘要:std::string strExtInfo ="sfdfsdffffffffffsfdfdf"; if (WinHttpSendRequest(hConnect, L"Content-Type: application/octet-stream", -1L, WINHTTP_NO_REQUEST_ 阅读全文

posted @ 2023-07-31 03:55 lydstory 阅读(126) 评论(0) 推荐(0)

摘要:struct evhttp_request结构体定义了HTTP请求的各个字段,如请求行、请求头、请求正文等。 struct evhttp_request { int major; // 主版本号 int minor; // 次版本号 enum evhttp_cmd_type type; // 请求方 阅读全文

posted @ 2023-07-31 02:58 lydstory 阅读(34) 评论(0) 推荐(0)

摘要:#include <Windows.h> #include <winhttp.h> #include <iostream> #include <fstream> #pragma comment(lib, "winhttp.lib") void SendFileToServer(const std:: 阅读全文

posted @ 2023-07-31 02:46 lydstory 阅读(110) 评论(0) 推荐(0)

摘要:libevent(17)evhttp的API及server端代码 (xjx100.cn) 阅读全文

posted @ 2023-07-31 01:30 lydstory 阅读(26) 评论(0) 推荐(0)

摘要:#pragma once #include "evpp/inner_pre.h" #include "evpp/slice.h" #include "evpp/timestamp.h" #include <map> struct evhttp_request; namespace evpp { cl 阅读全文

posted @ 2023-07-31 00:40 lydstory 阅读(47) 评论(0) 推荐(0)

上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页

导航