代码搜索:CMP
找到约 10,000 项符合「CMP」的源代码
代码结果 10,000
www.eeworm.com/read/279884/4132550
cmp parse.cmp
Test the #parse pluggable directive
Now calling parse1.vm :
---
This is content from parse1.vm
Hello first element.
Hello second element.
Now using a reference to get the next one :
--
Th
www.eeworm.com/read/279884/4132551
cmp include.cmp
#*
@test include.vm
This template is used for Velocity regression testing.
If you alter this template make sure you change the
corresponding comparison file so that the regression
test doesn't fa
www.eeworm.com/read/279884/4132554
cmp array.cmp
a b c
1 2
a b
1 2
a
a
a
> a <
> a < > b <
> 1 < > 2 <
> 1 < > 2 <
$p.m( [ $A.g(1), $title ])
$pp.messageFormat( [ $Abc.get($sti), $title, $ti, $sti, 'bodytext' ],
www.eeworm.com/read/279884/4132556
cmp ifstatement.cmp
start :
right
right
right
right
right
right
right
right
right
right
right
done
www.eeworm.com/read/279884/4132557
cmp escape.cmp
\A
#set($woo = "bar")
$woo => bar
The following should print 'as is' :
$f\oo
\a
"\r"
Now, test the built in directives. Note that $foo isn't in the context :
#set($foo = $foo + 1)
#set(\$foo =
www.eeworm.com/read/279884/4132563
cmp interpolation.cmp
Start with simple string interpolation :
it will cost you $10.00
dog.jpg
foobar.jpg
foobar.jpg
123
1 2 3
How about a directive? Sure :
>a< >b< >c<
For our next trick, lets interpolate
www.eeworm.com/read/279884/4132564
cmp formal.cmp
1. lunatic
2. lunatic
3. lunatic
4. lunatic
lunaticlunatic
lunaticMapBuilder
lunatic.map.lunaticMapBuilder
thisthat
lunatic
value0
value1
value2
$provider.getHashtable().get("floogie!")
www.eeworm.com/read/279884/4132565
cmp math.cmp
Addition and subtraction :
1 + 1 = 2
2 - 1 = 1
Multiplication, division, and modulus :
5 % 2 = 1
5 % 0 = $rem2
7 % 2 = 1
5 / 2 = 2
5 / 0 = $rem4
5 * 2 = 10
5 * -1 = -5
5 * -2 = -10
5 * -2 = -10
www.eeworm.com/read/279884/4132566
cmp encodingtest.cmp
Thanks to Kent Johnson for this example and the nudge.
Chinese: 网站登录
Spanish: niño