码迷,mamicode.com
首页 >  
搜索关键字:contains    ( 4472个结果
Xilinx FPGA 学习笔记一-chipscope 无法观察信号 BUFG
今天开始试着使用chipscope,写了一个简单的流水灯的例程,开始综合布线的时候没有问题,但是加上chipscope 以后,综合就总报错。 第一种情况:用chipscope直接观察全局时钟信号,即BUFG信号-----X 错误如下: ERROR:Place:1136 - This design contains a global buffer instance,    , driving...
分类:其他好文   时间:2015-04-28 07:12:51    阅读次数:588
在指定文件夹中查找指定关键字,并输出关键字包括的次数
因为要查看相关统计代码是不是部署多了。。SO。。。。是把网上的脚本改了一下,增加了次数输出和判断。。并且不用交互式输出,直接在命令后面接关键字和指定目录。。。#!/bin/bash #find files contains a keyword #write by xiaojing.zhao #201...
分类:其他好文   时间:2015-04-27 20:05:18    阅读次数:108
python基础知识温习
#keywork模块:判断是否是字符串import keyworda='if'print keyword.iskeyword(a)"""了解某序列是否包含特定的值 x in seq seq.__contains__(x)"""print keyword.kwlist#得到python的关键字列...
分类:编程语言   时间:2015-04-26 19:44:18    阅读次数:178
LeetCode Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:其他好文   时间:2015-04-25 15:11:01    阅读次数:135
Referenced file contains errors (http://www.springframework.org/schema/context). For more information, right click on the message in the Problems
spring 配置文件的DTD或schema出问题,一般两种情况:1.当前网络环境不稳定,按住ctrl+"http://www.springframework.org/schema/context/spring-context.xsd",无法看到配置的链接地址。此时可以这样解决 http://www...
分类:编程语言   时间:2015-04-24 12:17:32    阅读次数:132
HDU 4652 Dice(概率dp)
Problem Description You have a dice with m faces, each face contains a distinct number. We assume when we tossing the dice, each face will occur randomly and uniformly. Now you have T query to answer...
分类:其他好文   时间:2015-04-24 09:14:08    阅读次数:131
Longest Substring with At Most Two Distinct Characters
Given a string S, find the length of the longest substring T that contains at most two distinct characters.Given S = “eceba”,T is “ece” which its leng...
分类:其他好文   时间:2015-04-24 07:48:35    阅读次数:109
一天一个类,一点也不累 之 Set接口
我们的口号是:一天一个类,一点也不累~~再次回忆一下集合相关的类图。官方API上这样介绍这个接口:A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1 ...
分类:其他好文   时间:2015-04-23 21:28:32    阅读次数:204
[Selenium] The commonly used validation method
Assert.assertTrue(tmpEl.getAttribute("class").contains("selected"),"The folder should be highlighted.");Assert.assertFalse(dialog.isDisplayed(),button...
分类:其他好文   时间:2015-04-23 15:33:39    阅读次数:125
Collection与List
集合接口import java.util.Iterator;public interface Collection extends Iterable{ int size (); boolean isEmpty(); void clear (); boolean contains(AnyType x....
分类:其他好文   时间:2015-04-23 12:28:45    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!