📄 validmof4a.mof
字号:
//%2006//////////////////////////////////////////////////////////////////////////// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation, The Open Group.// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; Symantec Corporation; The Open Group.//// Permission is hereby granted, free of charge, to any person obtaining a copy// of this software and associated documentation files (the "Software"), to// deal in the Software without restriction, including without limitation the// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or// sell copies of the Software, and to permit persons to whom the Software is// furnished to do so, subject to the following conditions:// // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.////==============================================================================class ValidMof4a { [key] uint32 id; uint16 A1[]; string s1; string s2; };instance of ValidMof4a { id = 1; A1 = NULL; s1 = "instance 1 of 7"; s2 = "a s2 value"; };instance of ValidMof4a { id = 2; A1 = {}; s1 = "---instance 2--- (with no s2 value)"; };instance of ValidMof4a { id = 3; A1 = {1}; s1 = "instance 3 with a much longer value for s1 than any other of the instances in this file which is ValidMof4a.mof, at least most of the time. And a really short s2 value."; s2 = ""; };instance of ValidMof4a { id = 4; A1 = {1,2}; s2 = "instance 4 of 7 with only an s2, and a newline\n"; };instance of ValidMof4a { id = 5; /* with no s1 or s2. but it has this comment */ }; instance of ValidMof4a { id = 6; /* with 2 s2 values. */ s2 = "first s2 value"; s2 = "second s2 value"; }; /* can't have this err in a valid mof testing file. messes up make NewTestsinstance of ValidMof4a { id = 7; // with a s3 (nonexistant) value. s3 = "an s3 value"; };*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -