8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / dtrace / test / tst / common / aggs / tst.negquant.d
blobbbc7263dc58c21dc27bba1231533da925bc3eab5
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 #pragma D option quiet
31 BEGIN
33 @["j-church"] = quantize(1, 100);
34 @["j-church"] = quantize(1, -99);
35 @["j-church"] = quantize(1, -1);
36 val = 123;
39 BEGIN
41 @["k-ingleside"] = quantize(1, -val);
44 BEGIN
46 @["l-taraval"] = quantize(0, -val);
47 @["l-taraval"] = quantize(-1, -val);
48 @["l-taraval"] = quantize(1, val);
49 @["l-taraval"] = quantize(1, val);
52 BEGIN
54 @["m-oceanview"] = quantize(1, (1 << 63) - 1);
55 @["m-oceanview"] = quantize(1);
56 @["m-oceanview"] = quantize(2, (1 << 63) - 1);
57 @["m-oceanview"] = quantize(8, 400000);
60 BEGIN
62 @["n-judah"] = quantize(1, val);
63 @["n-judah"] = quantize(2, val);
64 @["n-judah"] = quantize(2, val);
65 @["n-judah"] = quantize(2);
68 BEGIN
70 this->i = 1;
71 this->val = (1 << 63) - 1;
73 @["f-market"] = quantize(this->i, this->val);
74 this->i <<= 1;
75 this->val >>= 1;
77 @["f-market"] = quantize(this->i, this->val);
78 this->i <<= 1;
79 this->val >>= 1;
81 @["f-market"] = quantize(this->i, this->val);
82 this->i <<= 1;
83 this->val >>= 1;
85 @["f-market"] = quantize(this->i, this->val);
86 this->i <<= 1;
87 this->val >>= 1;
90 BEGIN
92 this->i = 1;
93 this->val = (1 << 63) - 4;
95 @["s-castro"] = quantize(this->i, this->val);
96 this->i <<= 1;
97 this->val >>= 1;
99 @["s-castro"] = quantize(this->i, this->val);
100 this->i <<= 1;
101 this->val >>= 1;
103 @["s-castro"] = quantize(this->i, this->val);
104 this->i <<= 1;
105 this->val >>= 1;
107 @["s-castro"] = quantize(this->i, this->val);
108 this->i <<= 1;
109 this->val >>= 1;
112 BEGIN
114 exit(0);