E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
ctx=mx.gpu
es 新增字段 并赋予默认值
properties":{"pushTime":{"type":"long"}}}POST索引名/_update_by_query{"script":{"lang":"painless","source":"if(
ctx
赵八斤
·
2025-07-10 03:00
es
elasticsearch
java
大数据
GO OSS 前端直传 Presign
oss.GetObjectRequesthandlerpackagehandlerimport("goshop-api/oss-web/utils""net/http""github.com/gin-gonic/gin")funcPresign(
ctx
你的代码我的心
·
2025-07-05 17:39
golang
前端
开发语言
Ollama增加上下文大小
32b-instruct-q4_K_Mparametertemperature0.1PARAMETERtop_p0.8PARAMETERrepeat_penalty1.1PARAMETERtop_k20PARAMETERnum_
ctx
131072
添财小哥
·
2025-07-02 04:41
大语言模型相关
人工智能
小程序第四章作业
代码:.js代码:Page({onReady:function(e){constctx=wx.createCanvasContext('quanquan')//绘制蓝色圆环
ctx
.beginPath()
胡小图图图图图
·
2025-06-25 02:39
小程序
用python写注册登录界面web_用Python实现web端用户登录和注册功能
我们可以先通过API把用户注册这个功能实现了:_RE_MD5=re.compile(r'^[0-9a-f]{32}$')@api@post('/api/users')defregister_user():i=
ctx
藏漂老白
·
2025-06-19 19:26
js生成浏览器指纹(2层)
=document.createElement('canvas')varctx=canvas.getContext('2d')vartxt='http://security.tencent.com/'
ctx
.textBasel
avoidaily
·
2025-06-11 21:16
javascript
前端
开发语言
{“error“:{“root_cause“:[{“type“:“script_exception“,“reason“:“compile error“,“script_stack“:[“... par
:{"root_cause":[{"type":"script_exception","reason":"compileerror","script_stack":["...params.objId;
ctx
总是幸福的老豌豆
·
2025-06-01 13:23
日常工作总结
java
Vue中methods原理分析
于是也实现了自己的polyfillBindfunctionpolyfillBind(fn,
ctx
){returnfunctionboundFn(a){constl=arguments.length;returnl
lznism666
·
2025-05-31 21:35
Vue
koa 中间件原理
先看一个例子app.use(async(
ctx
,next)=>{console.log('--->中间件1before');awaitnext();console.log('--->中间件1after'
·
2025-05-22 10:35
golang之
ctx
cancel
在Go语言中,context包提供了
ctx
(上下文)和cancel相关的函数,用于管理多个goroutine的生命周期和传递截止日期、取消信号等信息。
程序员麻辣烫
·
2025-05-21 12:24
语言
golang
数据库
开发语言
ebpf-verifier
禁止循环结构经检测无法到达的指令,确保CFG(控制流图)的有效性路径模拟从第一条指令开始,遍历所有可能的执行路径模拟每条指令的执行,观察寄存器和堆栈的状态变化寄存器与类型追踪初始状态:R1指向上下文的指针,类型为PTR_TO_
CTX
凌云行者
·
2025-05-21 09:04
ebpf
ebpf
verifier
鸿蒙 Core File Kit(文件基础服务)之简单使用文件
'查看常用的沙箱目录').onClick(_=>{letctx=getContext()//UI下只能使用这个方法,不能this.contextconsole.log('--应用缓存文件保存目录:',
ctx
.cacheDir
bestadc
·
2025-05-19 06:01
HarmonyOS
harmonyos
剖析 FFmpeg:从基本功能到过滤器,实现音视频处理的灵活性
step1:对媒体文件上下文初始化AVFormatContext*ifmt_
ctx
=NULL;intret=avformat_open_input(&ifmt_
ctx
,in_filename,
邪恶的贝利亚
·
2025-05-14 05:59
c++音视频
FFMPEG
ffmpeg
音视频
C++使用ssl发送https请求
总的来说,需要经过以下步骤:初始化OpenSSL创建
CTX
上下文环境建立TCP连接创建SSL套接字,将SSL与TCPSOCKET连接建立SSL连
宝宝可乖了
·
2025-05-12 00:08
http
linux
C++
https
Uniapp编写微信小程序,使用canvas进行绘图
developer.mozilla.org/zh-CN/docs/Web/API/Canvas_API/Tutorial二、数据绘制(单位是像素):1、绘制文本:文字的长度超过设置的最大宽度,文字会缩在一起①填充文本(实心):
ctx
.fillText
ᥬ 小月亮
·
2025-05-10 20:37
小程序+H5
uni-app
微信小程序
c#
用uniapp在微信小程序实现画板(电子签名)功能,使用canvas实现功能
电子签名画布抖动问题解注意:保存的时候上传到自己的服务器地址,后端返回图片地址代码:保存退出重签exportdefault{data(){return{height:"",showCanvas:true,
ctx
-嘻嘻哈哈~
·
2025-05-09 21:08
uni-app
微信小程序
小程序
kafka 消费并行度提升
下面是一个消费组消费的例子:func consume(){ // 定义一个消费者,并开始消费 consumer := Consumer{} ConsumerHighLevel.Consume(
ctx
weixin_46825193
·
2025-05-08 07:04
kafka
分布式
薪资 20-40K ,坐标北京,高级golang开发岗面经
高级开发工程师岗位的一面面经,整体面的比较广,但是细节拷打不多,不够深入,来学习一下吧:自我介绍2.context的应用场景context的典型应用场景包括:控制请求生命周期:用于HTTP请求等场景,当请求被取消或超时时,通过
ctx
.Done
·
2025-04-21 18:23
go后端
nginx的ngx_module_s 模块
2019独角兽企业重金招聘Python工程师标准>>>特点:module和command:所有的模块结构都是全局变量module是配置的内存结构,所有的配置都存放在cycle->
ctx
中command是配置文件的解析函数
weixin_33836223
·
2025-04-20 11:14
运维
epoll
python
ngx_http_ssl_module 的 create_srv_conf 函数
ngx_module_tngx_http_ssl_module={ngx_module_tngx_http_ssl_module={NGX_MODULE_V1,&ngx_http_ssl_module_
ctx
若云止水
·
2025-04-20 11:41
nginx
ngx_events_block
event\ngx_event.cstaticchar*ngx_events_block(ngx_conf_t*cf,ngx_command_t*cmd,void*conf){char*rv;void***
ctx
若云止水
·
2025-04-20 04:17
nginx
【音视频】MP4解封装
文件同时,添加main函数参数,表示输入文件和输出文件打开文件打开输入文件,初始化格式上下文char*in_filename=argv[1];ret=avformat_open_input(&ifmt_
ctx
浅慕Antonio
·
2025-04-18 23:09
音视频
音视频
ffmpeg
基于uniapp 实现画板签字
直接上效果图代码清除保存签名exportdefault{data(){return{
ctx
:null,//canvas上下文points:[],//存储绘制点isDrawing:false,//是否正在绘制
争取一行
·
2025-04-17 02:14
前端
uniapp
Node.js处理URL模块详解
例如像这样写:app.use(async(
ctx
,next)=>{if(
ctx
.request.path==='/'){
ctx
.response.body='inde
程序员柳
·
2025-04-13 20:45
nodejs教程
node.js
javascript
前端
springboot使用国密sm2证书,腾讯Kona国密套件,生成truststore.p12生成keystore.p12。angie nginx 配置sm2国密证书
目录概述第一步:编译openssl3.0.3和蚂蚁的tongsuoFAQ:crypto/ec/ec_elgamal_crypt.c:Infunction'EC_ELGAMAL_
CTX
_new':crypto
2020小小酥
·
2025-04-11 18:17
kona
kona
truststore.p12
keystore.p12
springboot国密证书
nginx
golang通过飞书邮件服务API发送邮件功能详解
这里验证码有过期时间,保存到redis缓存中二.实现实现的部分代码如下:控制器部分代码//发送邮件控制器funcEmailSendController(userIduint64,mproto.Message,
ctx
zhoupenghui168
·
2025-04-09 10:10
#
golang基础
golang
服务器
飞书
飞书邮件服务发送邮件
golang
open.feishu.cn
ngx_core_module 的 create_conf
ngx_core_module-CSDN博客定义在src\core\nginx.cngx_module_tngx_core_module={NGX_MODULE_V1,&ngx_core_module_
ctx
若云止水
·
2025-04-09 07:55
nginx
jquery 访问手机摄像头_jquery.webcam.js实现调用摄像头拍照兼容各个浏览器
2.所需js文件和swf控件可在官方博客下载,地址jQuery-webcam-js拍照倒计时varw=320,h=240;//摄像头配置,创建canvasvarpos=0,
ctx
=null,saveCB
weixin_39616693
·
2025-04-06 20:38
jquery
访问手机摄像头
ffmpeg介绍(一)——解封装
典型用法AVFormatContext*fmt_
ctx
zczlsy11
·
2025-03-28 07:30
c++
ffmpeg
nodejs+mysql分页查询
router:(参数page,size)goodsRouter.get("/getList",getGoodsList)controllerasyncgetGoodsList(
ctx
,next){const
m0_67987829
·
2025-03-17 16:15
mysql
前端
node.js
openssl TLS 单向认证
创建SSL上下文(SSL_
CTX
)。在服务器端,加载服务器证书和私钥;在客户端,加载CA证书。使用SSL套接字进行加密通信。服务器端代码c复制代码#include#include#include#
spring*-*
·
2025-03-16 05:55
网络
服务器
运维
分页、渲染、读取静态资源.
/Db/BooksDb.js'constlist=async(
ctx
,next)=>{//转换为数字类型constpage=parseInt(
ctx
.query.pageIndex)||1constsize
数据潜水员
·
2025-03-12 07:36
node.js
Ubuntu 下 nginx-1.24.0 源码分析 - ngx_core_module
定义在src\core\nginx.cngx_module_tngx_core_module={NGX_MODULE_V1,&ngx_core_module_
ctx
,/*modulecontext*/ngx_core_commands
若云止水
·
2025-03-12 01:16
ubuntu
nginx
数据库
H5基于Canvas实现电子签名并生成PDF文档
number,beginY:number;constcanvas:HTMLCanvasElement=canvasDom.current;constctx=canvas.getContext(‘2d’);
ctx
.fillStyle
2401_85156853
·
2025-03-11 12:57
程序员
pdf
前端
java
Ubuntu 下 nginx-1.24.0 源码分析 - cycle->modules[i]->
ctx
ngx_module_s结构体中的
ctx
字段是Nginx模块系统的核心设计之一。这个字段的主要作用是提供特定类型模块的上下文信息。
ctx
字段实际上是一个指向模块特定上下文结构的指针。
若云止水
·
2025-03-09 19:48
ubuntu
nginx
linux
vue2前端使用图片展现视频,无法销毁请求
,default:()=>({url:'',index:''}),},},data(){return{currentImage:null,isFullScreen:false,canvas:null,
ctx
贾宝玉单臂擒方腊
·
2025-03-08 04:23
前端
音视频
openssl下SM4算法OFB模式加解密运算实例
unsignedchar*key,unsignedchar*iv,unsignedchar*in_buf,intin_len,unsignedchar*out_buf,int*out_len){EVP_CIPHER_
CTX
李洛克07
·
2025-03-05 06:11
openssl
gmssl算法接口的使用
算法
openssl
ofb
openssl下SM4算法cbc模式加解密运算实例
unsignedchar*key,unsignedchar*iv,unsignedchar*in_buf,intin_len,unsignedchar*out_buf,int*out_len){EVP_CIPHER_
CTX
李洛克07
·
2025-03-05 06:41
openssl
gmssl算法接口的使用
算法
openssl
cbc
openssl下aes128算法ctr模式加解密运算实例
unsignedchar*key,unsignedchar*iv,unsignedchar*in_buf,intin_len,unsignedchar*out_buf,int*out_len){EVP_CIPHER_
CTX
李洛克07
·
2025-03-03 09:53
算法
c++
开发语言
Linux C语言调用OpenSSL: 对称算法(AES高级加密标准)
LinuxC语言调用OpenSSL:对称加解密概述对称算法种类及特点:AES算法模式种类及特点:调用函数介绍EVP_CIPHER_
CTX
_newEVP_CIPHER_
CTX
_freeEVP_EncryptInit_exEVP_EncryptUpdateEVP_EncryptFinal_exEVP_DecryptInit_exEVP_DecryptUpdateEVP_DecryptFinal_ex
鬼火中年
·
2025-03-03 09:23
Linux
C语言调用OpenSSL
linux
c语言
ssl
密码学
openssl下aes128算法CFB模式加解密运算实例
unsignedchar*key,unsignedchar*iv,unsignedchar*in_buf,intin_len,unsignedchar*out_buf,int*out_len){EVP_CIPHER_
CTX
李洛克07
·
2025-03-03 09:20
算法
openssl
ofb
ffmpeg拉流rtmp保存h264和aac
代码实现#include#include#includeextern"C"{#include#include}intmp4toannexb(AVBSFContext*bsf_
ctx
,AVPacket*pkt
农民工-IT
·
2025-03-01 14:46
ffmpeg源码解析
ffmpeg
aac
【FFmpeg】拉流
;总结方法遵循实现功能配合函数具体实现基本使用拉流avformat_network_init();//日志输出等级set_ffmpeg_log_level();AVFormatContext*fmt_
ctx
gma999
·
2025-03-01 13:09
ffmpeg
ffmpeg拉流设置暂停_ffmpeg拉流长时间堵塞解决方式
av_read_frame()该函数是链接成功后,由于网络堵塞或者其它问题导致packet丢失,无法读取,导致堵塞,函数在ffmpeg.c文件中,解决方式也是添加超时f->
ctx
->interrupt_callback.callback
weixin_39667041
·
2025-02-27 23:51
ffmpeg拉流设置暂停
ffmpeg拉流设置暂停_解决ffmpeg打开流各种超时问题
tcporudp,默认一般优先tcp再尝试udpav_dict_set(&opts,"stimeout","3000000",0);//设置超时3秒intret=avformat_open_input(&
ctx
小花学姐
·
2025-02-27 23:51
ffmpeg拉流设置暂停
Canvas 和 SVG 有什么区别?
(绘制后无对象保留)保留模式(DOM树维护图形对象)更新机制全量重绘增量更新constctx=document.getElementById('myCanvas').getContext('2d');
ctx
.fillStyle
晚夜微雨问海棠呀
·
2025-02-25 09:11
前端
javascript
开发语言
HTTP SSE 实现
下面是基于libhv实现的SSESSEserverintHandler::sse(constHttpContextPtr&
ctx
){//SSEvent(message)every1shv::setIn
CAir2
·
2025-02-22 04:02
libhv
http
SSE
libhv
ffmpeg 获取 rtsp 视频流 c++ 代码实现
您好,以下是使用FFmpeg获取RTSP视频流的C代码示例:#include#includeintmain(intargc,char*argv[]){AVFormatContext*fmt_
ctx
=NULL
或困
·
2025-02-11 00:55
ffmpeg
c++
开发语言
GOland的context的使用
packagemainimport("context""fmt""time")funcmain(){//设置2秒超时
ctx
,cancel:=context.WithTimeout(context.Background
卑微的小鬼
·
2025-02-10 15:49
golang
Linux: Openssl使用
文章目录多线程Server建立SSL_
CTX
设置context工作模式根据accept的socketfd处理handshake消息获取错误信息根据上面的err查询错误信息;错误:tlsclienthello
mzhan017
·
2025-02-08 11:02
网络
安全
openssl
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他