no message
This commit is contained in:
@@ -60,7 +60,7 @@ public class ProjectArraysForm extends DataSetControlForm<ProjectArray> {
|
||||
}
|
||||
@Override
|
||||
public int getMaxWidth() {
|
||||
return Global.normalProperties.ShowFullArraysDeclarations ? CommonConstants.Nan : 200;
|
||||
return Global.normalProperties.ShowFullArraysDeclarations ? CommonConstants.Nan : 200;
|
||||
}
|
||||
},
|
||||
new ColumnInfo<ProjectArray>("Размерность") {
|
||||
|
||||
@@ -58,28 +58,6 @@ public class SapforProperties extends Properties {
|
||||
public int GCOVLimit = 10;
|
||||
@Expose
|
||||
public String DVMConvertationOptions = " ";
|
||||
public String pack() {
|
||||
Vector<String> res = new Vector_<String>(
|
||||
STATIC_SHADOW_ANALYSIS ? "1" : "0",
|
||||
STATIC_PRIVATE_ANALYSIS ? "1" : "0",
|
||||
FREE_FORM ? "1" : "0",
|
||||
KEEP_DVM_DIRECTIVES ? "1" : "0",
|
||||
KEEP_SPF_DIRECTIVES ? "1" : "0",
|
||||
PARALLELIZE_FREE_LOOPS ? "1" : "0",
|
||||
String.valueOf(MAX_SHADOW_WIDTH),
|
||||
OUTPUT_UPPER ? "1" : "0",
|
||||
TRANSLATE_MESSAGES ? "1" : "0",
|
||||
KEEP_LOOPS_CLOSE_NESTING ? "1" : "0",
|
||||
KEEP_GCOV ? "1" : "0",
|
||||
ANALYSIS_OPTIONS,
|
||||
DEBUG_PRINT_ON ? "1" : "0",
|
||||
MPI_PROGRAM ? "1" : "0",
|
||||
IGNORE_IO_SAPFOR ? "1" : "0",
|
||||
KEEP_SPF_DIRECTIVES_AMONG_TRANSFORMATIONS ? "1" : "0",
|
||||
PARSE_FOR_INLINE ? "1" : "0"
|
||||
);
|
||||
return String.join("|", res);
|
||||
}
|
||||
//-
|
||||
public SapforProperties(File file_in) {
|
||||
super(file_in);
|
||||
@@ -110,6 +88,28 @@ public class SapforProperties extends Properties {
|
||||
this.KEEP_SPF_DIRECTIVES_AMONG_TRANSFORMATIONS = src.KEEP_SPF_DIRECTIVES_AMONG_TRANSFORMATIONS;
|
||||
this.PARSE_FOR_INLINE = src.PARSE_FOR_INLINE;
|
||||
}
|
||||
public String pack() {
|
||||
Vector<String> res = new Vector_<String>(
|
||||
STATIC_SHADOW_ANALYSIS ? "1" : "0",
|
||||
STATIC_PRIVATE_ANALYSIS ? "1" : "0",
|
||||
FREE_FORM ? "1" : "0",
|
||||
KEEP_DVM_DIRECTIVES ? "1" : "0",
|
||||
KEEP_SPF_DIRECTIVES ? "1" : "0",
|
||||
PARALLELIZE_FREE_LOOPS ? "1" : "0",
|
||||
String.valueOf(MAX_SHADOW_WIDTH),
|
||||
OUTPUT_UPPER ? "1" : "0",
|
||||
TRANSLATE_MESSAGES ? "1" : "0",
|
||||
KEEP_LOOPS_CLOSE_NESTING ? "1" : "0",
|
||||
KEEP_GCOV ? "1" : "0",
|
||||
ANALYSIS_OPTIONS,
|
||||
DEBUG_PRINT_ON ? "1" : "0",
|
||||
MPI_PROGRAM ? "1" : "0",
|
||||
IGNORE_IO_SAPFOR ? "1" : "0",
|
||||
KEEP_SPF_DIRECTIVES_AMONG_TRANSFORMATIONS ? "1" : "0",
|
||||
PARSE_FOR_INLINE ? "1" : "0"
|
||||
);
|
||||
return String.join("|", res);
|
||||
}
|
||||
//-
|
||||
@Override
|
||||
public String getFieldDescription(String fieldName) {
|
||||
@@ -268,10 +268,10 @@ public class SapforProperties extends Properties {
|
||||
public LinkedHashMap<String, String> toMap() {
|
||||
LinkedHashMap<String, String> res = new LinkedHashMap<>();
|
||||
Vector<String> forbidden = new Vector_<String>(
|
||||
// "Precompilation",
|
||||
// "SaveModifications",
|
||||
// "GCOVLimit",
|
||||
// "DVMConvertationOptions",
|
||||
// "Precompilation",
|
||||
// "SaveModifications",
|
||||
// "GCOVLimit",
|
||||
// "DVMConvertationOptions",
|
||||
"PARSE_FOR_INLINE",
|
||||
"STATIC_PRIVATE_ANALYSIS",
|
||||
"PARALLELIZE_FREE_LOOPS"
|
||||
|
||||
Reference in New Issue
Block a user