003 File Manager
Current Path:
/usr/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation
usr
/
src
/
cddl
/
contrib
/
opensolaris
/
cmd
/
dtrace
/
test
/
tst
/
common
/
speculation
/
📁
..
📄
bug.1001148.SpecSizeVariations.d
(1.9 KB)
📄
err.BufSizeVariations1.d
(1.83 KB)
📄
err.BufSizeVariations2.d
(1.99 KB)
📄
err.D_ACT_SPEC.SpeculateWithBreakPoint.d
(1.36 KB)
📄
err.D_ACT_SPEC.SpeculateWithChill.d
(1.38 KB)
📄
err.D_ACT_SPEC.SpeculateWithCopyOut.d
(1.48 KB)
📄
err.D_ACT_SPEC.SpeculateWithCopyOutStr.d
(1.48 KB)
📄
err.D_ACT_SPEC.SpeculateWithPanic.d
(1.37 KB)
📄
err.D_ACT_SPEC.SpeculateWithRaise.d
(1.37 KB)
📄
err.D_ACT_SPEC.SpeculateWithStop.d
(1.37 KB)
📄
err.D_AGG_COMM.AggAftCommit.d
(1.14 KB)
📄
err.D_AGG_SPEC.SpeculateWithAvg.d
(1.33 KB)
📄
err.D_AGG_SPEC.SpeculateWithCount.d
(1.33 KB)
📄
err.D_AGG_SPEC.SpeculateWithLquant.d
(1.4 KB)
📄
err.D_AGG_SPEC.SpeculateWithMax.d
(1.32 KB)
📄
err.D_AGG_SPEC.SpeculateWithMin.d
(1.32 KB)
📄
err.D_AGG_SPEC.SpeculateWithQuant.d
(1.37 KB)
📄
err.D_AGG_SPEC.SpeculateWithStddev.d
(1.3 KB)
📄
err.D_AGG_SPEC.SpeculateWithSum.d
(1.31 KB)
📄
err.D_COMM_COMM.CommitAftCommit.d
(1.6 KB)
📄
err.D_COMM_COMM.DisjointCommit.d
(1.83 KB)
📄
err.D_COMM_DREC.CommitAftDataRec.d
(1.3 KB)
📄
err.D_DREC_COMM.DataRecAftCommit.d
(1.53 KB)
📄
err.D_DREC_COMM.ExitAfterCommit.d
(1.31 KB)
📄
err.D_EXIT_SPEC.ExitAftSpec.d
(1.31 KB)
📄
err.D_PRAGMA_MALFORM.NspecExpr.d
(1.64 KB)
📄
err.D_PRAGMA_OPTSET.HugeNspecValue.d
(1.65 KB)
📄
err.D_PRAGMA_OPTSET.InvalidSpecSize.d
(1.38 KB)
📄
err.D_PRAGMA_OPTSET.NegSpecSize.d
(1.74 KB)
📄
err.D_PROTO_LEN.SpecNoId.d
(1.33 KB)
📄
err.D_SPEC_COMM.SpecAftCommit.d
(1.5 KB)
📄
err.D_SPEC_DREC.SpecAftDataRec.d
(1.35 KB)
📄
err.D_SPEC_SPEC.SpecAftSpec.d
(1.46 KB)
📄
err.NegativeBufSize.d
(1.96 KB)
📄
err.NegativeNspec.d
(1.35 KB)
📄
err.NegativeSpecSize.d
(1.33 KB)
📄
err.SpecSizeVariations1.d
(1.72 KB)
📄
err.SpecSizeVariations2.d
(1.72 KB)
📄
tst.CommitAfterDiscard.d
(1.74 KB)
📄
tst.CommitWithZero.d
(1.67 KB)
📄
tst.DataRecAftDiscard.d
(1.6 KB)
📄
tst.DiscardAftCommit.d
(1.72 KB)
📄
tst.DiscardAftDataRec.d
(1.28 KB)
📄
tst.DiscardAftDiscard.d
(1.76 KB)
📄
tst.DiscardWithZero.d
(1.7 KB)
📄
tst.ExitAftDiscard.d
(1.29 KB)
📄
tst.NoSpecBuffer.d
(1.55 KB)
📄
tst.NoSpecBuffer.exe
(928 B)
📄
tst.SpecSizeVariations1.d
(1.74 KB)
📄
tst.SpecSizeVariations2.d
(1.74 KB)
📄
tst.SpecSizeVariations3.d
(1.74 KB)
📄
tst.SpeculateWithRandom.d
(1.26 KB)
📄
tst.SpeculationCommit.d
(1.69 KB)
📄
tst.SpeculationDiscard.d
(1.66 KB)
📄
tst.SpeculationID.d
(1.25 KB)
📄
tst.SpeculationWithZero.d
(1.52 KB)
📄
tst.TwoSpecBuffers.d
(1.66 KB)
📄
tst.negcommit.d
(1008 B)
📄
tst.negspec.d
(1011 B)
📄
tst.zerosize.d
(1.16 KB)
Editing: tst.zerosize.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 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" #pragma D option destructive BEGIN { self->spec = speculation(); speculate(self->spec); } BEGIN { this->one = 1; this->two = 2; chill(1); speculate(self->spec); } BEGIN { speculate(self->spec); } BEGIN { exit(0); }
Upload File
Create Folder