代码搜索:CMP
找到约 10,000 项符合「CMP」的源代码
代码结果 10,000
www.eeworm.com/read/165810/5477203
cmp map.cmp
this is from a hashtable!
foovalue
foovalue
foovalue
foovalue
www.eeworm.com/read/165810/5477205
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/165810/5477206
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/165810/5477209
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/165810/5477211
cmp ifstatement.cmp
start :
right
right
right
right
right
right
right
right
right
right
right
done
www.eeworm.com/read/165810/5477212
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/165810/5477218
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/165810/5477219
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/165810/5477220
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