码迷,mamicode.com
首页 >  
搜索关键字:operate    ( 190个结果)
1:简单工厂模式
class Operate: def __init__(self): passclass Add(Operate): def result(self): return (self.a+self.b)class Subduct(Operate): def ...
分类:其他好文   时间:2015-10-08 00:21:19    阅读次数:180
shell实现的计算器
1#!/bin/bash2#FUNCTIONcalculator3#AUTHORwangbo4#DATE2015-09-26567functionchecknum()8{9expr$1+0&>/dev/null1011case$?in120)13return$114;;15*)1617read-t50-p"pleaseinputinteger:"int1819check"$int"2021return"$int"2223;;24esac25}2627functionoperate()28{29e..
分类:系统相关   时间:2015-10-01 01:52:28    阅读次数:588
c#中简单工厂模式
运算类 public class yunsuan { public static operation create(string operate) { operation oper = null; switch (operate) { ...
分类:Windows程序   时间:2015-09-21 09:11:23    阅读次数:203
关于PHP中的opcode
简介1、当Zend engine解释器完成对脚本代码的分析后,便将它们生成可以直接运行的中间代码,也称为操作码(Operate Code,opcode),opcode是一个四元组,(opcode, op1, op2, result),它们分别代表操作码,第一操作数,第二操作数,结果2、因为PHP是构...
分类:Web程序   时间:2015-09-20 01:40:19    阅读次数:220
Shell Commands
Most commands operate like this: command -options argumentspwd(print working directory)cd(change directory). Absolute pathname: "cd /home/students...
分类:系统相关   时间:2015-09-13 09:19:09    阅读次数:224
how to install protobuff python
当前环境: operate system:Ubuntu 14.04.1 LTS protoc --version:libprotoc 2.5.0 protocol-buffers version:2.6.1按照https://github.com/google/protobuf的README...
分类:编程语言   时间:2015-09-09 13:23:09    阅读次数:228
[Operate System & Algorithm] 页面置换算法
页面置换算法是什么?我们看一下百度百科对页面置换算法给出的定义:在地址映射过程中,若在页面中发现所要访问的页面不在内存中,则产生缺页中断。当发生缺页中断时,如果操作系统内存中没有空闲页面,则操作系统必须在内存中选择一个页面将其移出内存,以便为即将调入的页面让出空间。而用来选择淘汰哪一页的规则叫做.....
分类:编程语言   时间:2015-09-05 11:04:32    阅读次数:188
column mode in VIM
1. Move the cursor to the position where you want to operate. 2. Press CTRL + v into "visible" mode, select the column to operate on how many rows. 3. Enter  SHIFT + i (I) to insert the conten...
分类:系统相关   时间:2015-08-13 12:12:05    阅读次数:234
如何删除JAVA集合中的元素
经常我们要删除集合中的某些元素。有些可能会这么写。 public void operate(List list){ for (Iterator it = list.iterator(); it.hasNext();) { String str = (String)it.next(); if ...
分类:编程语言   时间:2015-08-09 00:18:10    阅读次数:128
Transparent Firewall Mode
Part 0: overviewThe Cisco ASA can operate:routed firewall mode (default Layer 3)Transparent mode (Layer 2)Comparison of the Routed and Transparent Fir...
分类:其他好文   时间:2015-08-07 17:58:35    阅读次数:513
共190条   上一页 1 ... 11 12 13 14 15 ... 19 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!