X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Ffield-class.h;h=4d8624828e598eac1916d85102214cae5c93cc68;hb=1eca514c6bc89f9359c3a1e2214e71d55d4700c1;hp=1f907b7ff9f22640d068709eb04f6598953064f1;hpb=45397ca4f49f5d93e0c2c178d68d37224a8a9d47;p=babeltrace.git diff --git a/include/babeltrace2/trace-ir/field-class.h b/include/babeltrace2/trace-ir/field-class.h index 1f907b7f..4d862482 100644 --- a/include/babeltrace2/trace-ir/field-class.h +++ b/include/babeltrace2/trace-ir/field-class.h @@ -1,28 +1,12 @@ -#ifndef BABELTRACE2_TRACE_IR_FIELD_CLASS_H -#define BABELTRACE2_TRACE_IR_FIELD_CLASS_H - /* - * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation - * - * 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: + * SPDX-License-Identifier: MIT * - * 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. + * Copyright (C) 2010-2019 EfficiOS Inc. and Linux Foundation */ +#ifndef BABELTRACE2_TRACE_IR_FIELD_CLASS_H +#define BABELTRACE2_TRACE_IR_FIELD_CLASS_H + #ifndef __BT_IN_BABELTRACE_H # error "Please include instead." #endif @@ -1742,10 +1726,10 @@ See the \ref api-tir-fc-int-prop-size "field value range" property.
Unsigned integer field class
-
[0, 2N - 1]
+
[0, 2N âˆ’ 1]
Signed integer field class
-
[-2N, 2N - 1]
+
[−2N âˆ’ 1, 2N âˆ’ 1 âˆ’ 1]
@endparblock @@ -1753,7 +1737,7 @@ See the \ref api-tir-fc-int-prop-size "field value range" property. @bt_pre_hot{field_class} @bt_pre_is_int_fc{field_class} @pre - \bt_p{n} ⩽ 64. + 1 ⩽ \bt_p{n} ⩽ 64. @sa bt_field_class_integer_get_field_value_range() — Returns the field value range of an integer field class. @@ -1776,10 +1760,10 @@ See the \ref api-tir-fc-int-prop-size "field value range" property.
Unsigned integer field class
-
[0, 2N - 1]
+
[0, 2N âˆ’ 1]
Signed integer field class
-
[-2N, 2N - 1]
+
[−2N, 2N âˆ’ 1]
@endparblock @@ -1895,7 +1879,7 @@ property values: Value \ref api-tir-fc-int-prop-size "Field value range" - [0, 264 - 1] + [0, 264 âˆ’ 1] \ref api-tir-fc-int-prop-base "Preferred display base" #BT_FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_DECIMAL @@ -1935,7 +1919,7 @@ property values: Value \ref api-tir-fc-int-prop-size "Field value range" - [-263, 263 - 1] + [−263, 263 âˆ’ 1] \ref api-tir-fc-int-prop-base "Preferred display base" #BT_FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_DECIMAL @@ -2160,7 +2144,7 @@ following property values: Value \ref api-tir-fc-int-prop-size "Field value range" - [0, 264 - 1] + [0, 264 âˆ’ 1] \ref api-tir-fc-int-prop-base "Preferred display base" #BT_FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_DECIMAL @@ -2425,7 +2409,7 @@ following property values: Value \ref api-tir-fc-int-prop-size "Field value range" - [-263, 263 - 1] + [−263, 263 âˆ’ 1] \ref api-tir-fc-int-prop-base "Preferred display base" #BT_FIELD_CLASS_INTEGER_PREFERRED_DISPLAY_BASE_DECIMAL