003 File Manager
Current Path:
/usr/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/llquantize
usr
/
src
/
cddl
/
contrib
/
opensolaris
/
cmd
/
dtrace
/
test
/
tst
/
common
/
llquantize
/
📁
..
📄
err.D_LLQUANT_FACTOREVEN.nodivide.d
(931 B)
📄
err.D_LLQUANT_FACTOREVEN.notfactor.d
(931 B)
📄
err.D_LLQUANT_FACTORMATCH.d
(965 B)
📄
err.D_LLQUANT_FACTORNSTEPS.d
(930 B)
📄
err.D_LLQUANT_FACTORSMALL.d
(930 B)
📄
err.D_LLQUANT_FACTORTYPE.d
(961 B)
📄
err.D_LLQUANT_FACTORVAL.d
(934 B)
📄
err.D_LLQUANT_HIGHMATCH.d
(966 B)
📄
err.D_LLQUANT_HIGHTYPE.d
(961 B)
📄
err.D_LLQUANT_HIGHVAL.d
(931 B)
📄
err.D_LLQUANT_LOWMATCH.d
(966 B)
📄
err.D_LLQUANT_LOWTYPE.d
(961 B)
📄
err.D_LLQUANT_LOWVAL.d
(932 B)
📄
err.D_LLQUANT_MAGRANGE.d
(931 B)
📄
err.D_LLQUANT_MAGTOOBIG.d
(932 B)
📄
err.D_LLQUANT_MAGTOOBIG.offbyone.d
(676 B)
📄
err.D_LLQUANT_NSTEPMATCH.d
(967 B)
📄
err.D_LLQUANT_NSTEPTYPE.d
(961 B)
📄
err.D_LLQUANT_NSTEPVAL.d
(937 B)
📄
tst.bases.d
(1.27 KB)
📄
tst.bases.d.out
(10.67 KB)
📄
tst.basic.d
(1005 B)
📄
tst.basic.d.out
(1.49 KB)
📄
tst.negorder.d
(1.23 KB)
📄
tst.negorder.d.out
(6.97 KB)
📄
tst.negvalue.d
(1013 B)
📄
tst.negvalue.d.out
(1.49 KB)
📄
tst.normal.d
(1.01 KB)
📄
tst.normal.d.out
(1.49 KB)
📄
tst.range.d
(1.16 KB)
📄
tst.range.d.out
(1.41 KB)
📄
tst.steps.d
(1.2 KB)
📄
tst.steps.d.out
(136.16 KB)
📄
tst.trunc.d
(1.16 KB)
📄
tst.trunc.d.out
(1.6 KB)
Editing: tst.normal.d
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 2011, Joyent, Inc. All rights reserved. */ #pragma D option quiet tick-1ms /i++ <= 100/ { @ = llquantize(i, 10, 0, 10, 10); } tick-1ms /i > 100/ { normalize(@, 10); printa(@); exit(0); }
Upload File
Create Folder