com.android.dx.ssa.SetFactory Java Examples
The following examples show how to use
com.android.dx.ssa.SetFactory.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InterferenceGraph.java From Box with Apache License 2.0 | 5 votes |
/** * Creates a new graph. * * @param countRegs {@code >= 0;} the start count of registers in * the namespace. New registers can be added subsequently. */ public InterferenceGraph(int countRegs) { interference = new ArrayList<IntSet>(countRegs); for (int i = 0; i < countRegs; i++) { interference.add(SetFactory.makeInterferenceSet(countRegs)); } }
Example #2
Source File: InterferenceGraph.java From Box with Apache License 2.0 | 5 votes |
/** * Ensures that the interference graph is appropriately sized. * * @param size requested minumum size */ private void ensureCapacity(int size) { int countRegs = interference.size(); interference.ensureCapacity(size); for (int i = countRegs; i < size; i++) { interference.add(SetFactory.makeInterferenceSet(size)); } }
Example #3
Source File: InterferenceGraph.java From Box with Apache License 2.0 | 5 votes |
/** * Creates a new graph. * * @param countRegs {@code >= 0;} the start count of registers in * the namespace. New registers can be added subsequently. */ public InterferenceGraph(int countRegs) { interference = new ArrayList<IntSet>(countRegs); for (int i = 0; i < countRegs; i++) { interference.add(SetFactory.makeInterferenceSet(countRegs)); } }
Example #4
Source File: InterferenceGraph.java From Box with Apache License 2.0 | 5 votes |
/** * Ensures that the interference graph is appropriately sized. * * @param size requested minumum size */ private void ensureCapacity(int size) { int countRegs = interference.size(); interference.ensureCapacity(size); for (int i = countRegs; i < size; i++) { interference.add(SetFactory.makeInterferenceSet(size)); } }
Example #5
Source File: InterferenceGraph.java From J2ME-Loader with Apache License 2.0 | 5 votes |
/** * Creates a new graph. * * @param countRegs {@code >= 0;} the start count of registers in * the namespace. New registers can be added subsequently. */ public InterferenceGraph(int countRegs) { interference = new ArrayList<IntSet>(countRegs); for (int i = 0; i < countRegs; i++) { interference.add(SetFactory.makeInterferenceSet(countRegs)); } }
Example #6
Source File: InterferenceGraph.java From J2ME-Loader with Apache License 2.0 | 5 votes |
/** * Ensures that the interference graph is appropriately sized. * * @param size requested minumum size */ private void ensureCapacity(int size) { int countRegs = interference.size(); interference.ensureCapacity(size); for (int i = countRegs; i < size; i++) { interference.add(SetFactory.makeInterferenceSet(size)); } }
Example #7
Source File: InterferenceGraph.java From buck with Apache License 2.0 | 5 votes |
/** * Creates a new graph. * * @param countRegs {@code >= 0;} the start count of registers in * the namespace. New registers can be added subsequently. */ public InterferenceGraph(int countRegs) { interference = new ArrayList<IntSet>(countRegs); for (int i = 0; i < countRegs; i++) { interference.add(SetFactory.makeInterferenceSet(countRegs)); } }
Example #8
Source File: InterferenceGraph.java From buck with Apache License 2.0 | 5 votes |
/** * Ensures that the interference graph is appropriately sized. * * @param size requested minumum size */ private void ensureCapacity(int size) { int countRegs = interference.size(); interference.ensureCapacity(size); for (int i = countRegs; i < size; i++) { interference.add(SetFactory.makeInterferenceSet(size)); } }