码迷,mamicode.com
首页 >  
搜索关键字:console output    ( 25228个结果)
netcore 俩个线程乱序调整
class Program { public static long flgVal = 0; static void Main(string[] args) { int n = 100; Task.Run(() => DaMi(n)); Task.Run(() => LaoShu(n)); Cons ...
分类:编程语言   时间:2021-06-15 18:31:41    阅读次数:0
微信小程序子组件传参给父组件
父组件: <tpupload bind:tpuploadFun="tpupload1" imgs="{{imgs}}" tpNum='9' ></tpupload> // 事件可以拿到传来的参数 tpupload1(e){ console.log(e.detail.imgs, '这个是子组件传递来的 ...
分类:微信   时间:2021-06-15 17:50:51    阅读次数:0
文件写入流
let fs = require('fs'); // 1 创建写入流 // fs.createWriteStream(文件路径,[可选择的配置操作]) // 2 let ws = fs.createWriteStream("hello.txt",{flag:'w',encoding:"utf8"}) ...
分类:其他好文   时间:2021-06-15 17:37:58    阅读次数:0
WEB服务与NGINX(2)-NGINX的I/O模型
WEB服务与NGINX(2)-NGINX的I/O模型 1. linux I/0模型及在NGINX中的应用 1.1 I/O模型概述 I/O在计算机中指的是INPUT和OUPUT,IOPS(INPUT/OUTPUT per second)每秒的输入输出量(或读写次数),是衡量I/O性能的主要指标之一。 ...
分类:Web程序   时间:2021-06-13 10:47:01    阅读次数:0
扩展运算符与rest参数
今天小编来介绍一个平时接触较少的,但是却给平时编码带来很多方便的ES6语法——三个点。这三个点主要是针对数组的格式转换。大家也可以关注我的微信公众号,蜗牛全栈。一、扩展运算符:把数组或者类数组展开成逗号隔开的值实例1: function foo(a,b,c){ console.log(a,b,c) ...
分类:其他好文   时间:2021-06-13 10:42:25    阅读次数:0
实验六
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 10 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20 ...
分类:其他好文   时间:2021-06-11 18:28:53    阅读次数:0
JavaScript中的进制转换
一、10进制转其他进制(如2进制): console.log(num.toString(2)) 二、其他进制(如2进制)转10进制: console.log(parseInt(num,2)) ...
分类:编程语言   时间:2021-06-11 18:21:58    阅读次数:0
实验六
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 4 typedef struct student { int id; /*学生学号 */ char name[20]; /*学生姓名 */ char subject[2 ...
分类:其他好文   时间:2021-06-11 18:15:08    阅读次数:0
实验6
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 typedef struct student { int id; char name[20]; char subject[20]; float perf; floa ...
分类:其他好文   时间:2021-06-11 18:04:10    阅读次数:0
vue和uniapp 分别获取组件距离顶部距离
<cpn ref="aa"></cpn> //vue获取组件距离顶部距离 console.log('距离顶部高度', this.$refs.aa.$el.offsetTop) //uniapp 在h5页面可以使用vue的获取高度 但是在小程序端需要使用下面方法 同时适合于h5页面 const que ...
分类:移动开发   时间:2021-06-10 18:51:53    阅读次数:0
共25228条   上一页 1 ... 4 5 6 7 8 ... 2523 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!