码迷,mamicode.com
首页 > 2018年03月29日 > 全部分享
五、垃圾回收
五、垃圾回收 为什么要垃圾回收? 计算机系统,包括内存最小的寻址单元是字节;说白了,虚拟机理论上最大内存就是硬件内存,硬件内存是有限的,你占用了,我就用不了了;所以对象不用的时候,回收其占用内存空间,以提高虚拟机资源利用率!让虚拟机有更高的产出! 垃圾回收作用的区域? 程序计数器,栈区,本地方法栈区 ...
分类:其他好文   时间:2018-03-29 13:29:13    阅读次数:596
公钥与私钥,数字签名
client (有w的公钥) < > website (公钥+私钥) | | | | - -- hack 目的:公私钥保证数据安全 数字签名为了保证数据完整 client 访问website得到证书,用证书加密数据,website得到数据后用私钥解密 website用私钥加密,发送给client,得 ...
分类:其他好文   时间:2018-03-29 13:29:05    阅读次数:131
配置网卡绑卡 --RHEL7
配置网卡绑卡 1)网卡绑定(team方式) # 创建组接口nmcli connection add type team ifname team0 con-name team0 config '{"runner":{"name":"activebackup"}}' ipv4.addresses 192 ...
分类:其他好文   时间:2018-03-29 13:28:52    阅读次数:246
LF.366.Linked List Insert At Index
Insert a new element at a specific index in the given linked list. The index is 0 based, and if the index is out of the list's scope, you do not need ...
分类:其他好文   时间:2018-03-29 13:28:45    阅读次数:190
1085. Perfect Sequence (25)
Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect sequence" if M <= m * p where M and m are ...
分类:其他好文   时间:2018-03-29 13:28:37    阅读次数:134
Exp2 后门原理与实践 20154301仉鑫烨
20154301《网络对抗》Exp2 后门原理与实践 20154301仉鑫烨 一、实验内容 常用后门工具实践: Windows获得Linux Shell: 在Windows下,先使用 指令查看win7虚拟机IP: 使用 程序监听本机的 端口: Kali:使用nc指令的 e选项反向连接Windows主 ...
分类:其他好文   时间:2018-03-29 13:28:29    阅读次数:168
Active Directory: Install
Install Active Directory Domain Service.[1]Run [Server Manager] and click [Add roles and features].[2]Click [Next] button.[3]Select [Role-based or feature-based installation].[4]Select a Host which yo
分类:其他好文   时间:2018-03-29 13:28:22    阅读次数:203
创建cookie
//创建cookie CloudShareCommon.prototype.setCookie = function (name, expireday) { var exp = new Date(); exp.setTime(exp.getTime() + expireday * 60 * 1000... ...
分类:其他好文   时间:2018-03-29 13:28:15    阅读次数:160
Android7.0打包安装问题
一.问题描述 Android 7.0 引入一项新的应用签名方案 APK Signature Scheme v2,先使用APK Signature Scheme v2签名打包,然后再使用python脚本打渠道包后,安装在7.0手机上出现如下问题: 二.原因 将APK直接当做zip解压,目录里会有一个不 ...
分类:移动开发   时间:2018-03-29 13:28:07    阅读次数:202
leetCode题解之删除单链表中指定的元素
1、问题描述 Remove all elements from a linked list of integers that have value val. ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6Return: 1 - ...
分类:其他好文   时间:2018-03-29 13:27:57    阅读次数:161
LF.26.Kth Smallest Number In Sorted Matrix
Given a matrix of size N x M. For each row the elements are sorted in ascending order, and for each column the elements are also sorted in ascending o ...
分类:其他好文   时间:2018-03-29 13:27:47    阅读次数:135
网页静态化FreeMarker的使用
FreeMarker简介 FreeMarker是一个用Java语言编写的模板引擎,它基于模板来生成文本输出。FreeMarker与Web容器无关,即在Web运行时,它并不知道Servlet或HTTP。它不仅可以用作表现层的实现技术,而且还可以用于生成XML,JSP或Java 等。 目前企业中:主要用 ...
分类:Web程序   时间:2018-03-29 13:27:41    阅读次数:190
在Windows下查看Java的JRE路径
这个方法可以确认当前java.exe的版本,但是并不能确定输出JRE的具体路径。 JAVA_HOME的路径,也不一定就是当前运行的java的路径。path列表中,全部路径中,哪个jre的路径在前,就先用那个jre执行。 这个方法,比较准确地输出了java的路径(输出了java运行依赖的jar包的全部 ...
分类:编程语言   时间:2018-03-29 13:27:32    阅读次数:9073
clustering and retrival: week 2 笔记
华盛顿大学 《机器学习》 笔记。 knn k-nearest-neighbors : k近邻法 给定一个 数据集,对于查询的实例,在数据集中找到与这个实例最邻近的k个实例,然后再根据k个最邻近点预测查询实例的类别。 《统计学习方法》中这样描述的: K近邻模型是基于训练数据集 对 特征空间的一个划分。 ...
分类:其他好文   时间:2018-03-29 13:27:23    阅读次数:203
muduo源码-HttpRequest.h
1 设计 HttpRequest 类,是解析完毕的请求体所存放的地方,被关联在 HttpConnext中. 2 源码 #ifndefMUDUO_NET_HTTP_HTTPREQUEST_H #defineMUDUO_NET_HTTP_HTTPREQUEST_H #include<muduo/base ...
分类:Web程序   时间:2018-03-29 12:44:11    阅读次数:213
Remote Desktop
Enable Remote Desktop to connect to the Server from other Computers.This exmaple shows to enable single session function of Remote Desktop which Windows ClientOSs also have.[1]Run Server Manager and S
分类:其他好文   时间:2018-03-29 12:44:03    阅读次数:236
PHP操作redis
Redis是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。 Redis支持的数据类型有 Stirng(字符串), List(列表), Hash(字典), Set(集合), Sorted Set(有序集合); redis版 ...
分类:Web程序   时间:2018-03-29 12:43:52    阅读次数:222
1250条   上一页 1 ... 45 46 47 48 49 50 51 ... 74 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!