码迷,mamicode.com
首页 >  
搜索关键字:logistic function    ( 55453个结果)
Comparison of the Autel MK908T vs. MS906BT, Which Is Better
Professional mechanics require the use of professional OBD2 diagnostic tools to get the job done. but before selected outstanding high-end scanners, w ...
分类:其他好文   时间:2020-11-12 13:22:27    阅读次数:9
thinkphp 数据库性能监听SQL
如果开启数据库的调试模式的话,你可以对数据库执行的任何SQL操作进行监听,使用如下方法: Db::listen(function($sql, $time, $explain){ // 记录SQL echo $sql. ' ['.$time.'s]'; // 查看性能分析结果 dump($explai ...
分类:数据库   时间:2020-11-11 16:48:50    阅读次数:29
PHP地址名称转座标(腾讯地图接口),涵数来源:梦行云软件
function get_address_gps_tx($map_key,$address){ //地址名称转座标 $r=file_get_contents('https://apis.map.qq.com/ws/geocoder/v1/?address='.$address.'&key='.$ma ...
分类:Web程序   时间:2020-11-11 15:45:09    阅读次数:16
promise的用法
Promise是异步编程的一种解决方案,也是ES6的写法,它其实是一个构造函数,自己身上有all、reject、resolve这几个方法,原型上有then、catch等方法。 不多说,直接上代码: const promise = new promise(function(resolve, rejec ...
分类:其他好文   时间:2020-11-10 11:17:47    阅读次数:7
冒泡算法
<?php function bubble_sort(&$arr){ $count = count($arr); for($i=0;$i<$count-1;$i++){ for($j=$i+1;$j<$count;$j++){ if($arr[$j]<$arr[$i]){ $arr[$i] = $a ...
分类:编程语言   时间:2020-11-10 11:07:55    阅读次数:9
Js实现滚动加载原理
原理:就是监听页面滚动事件,分析clientHeight、scrollTop、scrollHeight三者的属性关系。 window.addEventListener('scroll', function() { const clientHeight = document.documentEleme ...
分类:Web程序   时间:2020-11-10 11:04:36    阅读次数:17
poi 实战代码---导出Excel(根据模板导出,复制代码用)
html代码 <a class="btn btn-primary fa fa-export" href="javascript:void(0);" onclick="expExcel()"><span>导出excel</span></a> js代码 function expExcel() { var ...
分类:其他好文   时间:2020-11-10 10:53:41    阅读次数:4
template 和 script 是两个模块要分开写
开始我把 script 模块写到了 template 里面总是编译不通过。 第二点 template 里面可以写变量也可以写函数,写函数 script 里面就要写 /*methods:{ details: function(){ return this.site + "学的不是技术,更是梦想" ; ...
分类:其他好文   时间:2020-11-10 10:45:32    阅读次数:3
layer.open输入字数实时显示
1.表单数据 { field: 'mainSupervision', align: 'center', title: '监督要点', formatter: function (value, row, index) { var html = $.common.sprintf("<input oncli ...
分类:其他好文   时间:2020-11-10 10:38:33    阅读次数:3
C++11 中的std::function和std::bind
1. 背景: C++有不同的调用形式:函数指针、lambda表达式、有operator()的类对象等。 形式不同但调用方式却相同。为了能够统一,引入std::function和std::bind,来实现。 例子: // 普通函数 int add(int a, int b){return a+b;} ...
分类:编程语言   时间:2020-11-08 17:55:55    阅读次数:33
共55453条   上一页 1 ... 78 79 80 81 82 ... 5546 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!