码迷,mamicode.com
首页 >  
搜索关键字:function annotations    ( 55235个结果
07-js函数
#声明 ##利用函数关键字自定义函数(命名函数) function 函数名(形参) { 函数体 } ##函数表达式(匿名函数) var fun = function(形参) { //fun是变量,里面存储的是函数 函数体 } #形参与实参的匹配 实参的个数大于形参的个数,函数只取形参的个数,多余的忽 ...
分类:Web程序   时间:2021-06-02 15:14:30    阅读次数:0
spring cloud stream 3.1.2 源码搭配rocketmq学习 (二)
现在我们从源码来分析(一)中所涉及的东西 提问 问一下自己想从源码中知道什么, 带着目的去看源码才容易搞懂. 从下述的代码中发现定义了一个Function的Bean和在yaml中定义了definition, 那么这两个定义的作用是什么呢? Function是怎么样去绑定、注册的呢? 带着问题我们就可 ...
分类:编程语言   时间:2021-06-02 14:52:40    阅读次数:0
设计模式 javascipt - singleton 单例模式实现
//1. ES5 闭包实现单例模式 let singleton = (function(){ let instance = null; return function(name){ this.name = name; instance = instance? instance : this; ret ...
分类:编程语言   时间:2021-06-02 14:36:57    阅读次数:0
php数组操作(字符串转数组,数组降维,判断数组是否重复)
// 定义瓶码字符串 $bianhaop_str = substr($bianhaop_str,1); $bianhaop_arr = explode(',', $bianhaop_str); if(!empty($bianhaop_arr)){ //判断本身是否存在重复项 if(count(arr ...
分类:编程语言   时间:2021-06-02 14:10:18    阅读次数:0
防抖函数和节流函数
防抖函数 事件被触发时,在n秒后执行函数,在n秒内多次触发事件,则重新开始计时 利用定时器来实现,在n秒内多次触发,则先清除定时器,从新计时 1 // 定义一个请求函数 2 function request(val) { 3 console.log("request: " + val); 4 } 5 ...
分类:其他好文   时间:2021-06-02 13:52:05    阅读次数:0
npm install 报错 cb.apply is not a function
win + r 打开运行,输入%appdata% 删除npm和npm-cache文件夹 执行npm cache clean --force命令 此时应该就可以了,如果还不行,就执行卸载Node.js重新安装。 如果还是不行!! 换yarn 安装yarn npm install -g yarn yar ...
分类:移动开发   时间:2021-06-02 13:47:57    阅读次数:0
hdrp gpu instance MPB不生效问题
Thanks for posting these tips. I was devastated when my project dropped to 3 FPS because material properties don't work out of the box. I was able to ...
分类:其他好文   时间:2021-06-02 12:56:58    阅读次数:0
Extjs fieldLabel Style
Ext.define('Ext.ux.form', { extend: 'Ext.form.Panel', listeners: { 'beforeadd': function(){ if (!field.allowBlank) { field.labelClsExtra = 'x-required ...
分类:Web程序   时间:2021-06-02 12:56:45    阅读次数:0
vue解决跨域
1.axios基本使用 // axios 中的GET请求axios.get( '/user', { params: { ID: ‘001’ } },{ headers:{"Authorization":"Bas"+"ccccccc"} } ) .then(function (response) { ...
分类:其他好文   时间:2021-06-02 12:49:57    阅读次数:0
数据结构 11-散列4 Hashing - Hard Version (30 分)
Given a hash table of size N, we can define a hash function H(x)=x%N. Suppose that the linear probing is used to solve collisions, we can easily obtai ...
分类:其他好文   时间:2021-06-02 12:19:23    阅读次数:0
55235条   上一页 1 ... 14 15 16 17 18 ... 5524 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!