Searched refs:table (Results 1 - 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/lang/
H A DThreadLocal.java56 Object[] table = values.table;
58 if (this.reference == table[index]) {
59 return (T) table[index + 1];
134 * (hash & (table.length - 1)) points to a key and not a value.
160 private Object[] table; field in class:ThreadLocal.Values
190 this.table = fromParent.table.clone();
205 Object[] table = this.table;
[all...]
/libcore/luni/src/main/java/java/util/
H A DListResourceBundle.java29 HashMap<String, Object> table; field in class:ListResourceBundle
52 Iterator<String> local = table.keySet().iterator();
64 if (!table.containsKey(next)) {
94 Iterator<String> it = table.keySet().iterator();
113 return table.get(key);
117 if (table == null) {
119 table = new HashMap<String, Object>(contents.length / 3 * 4 + 3);
124 table.put((String) content[0], content[1]);
137 return table.keySet();
H A DHashMap.java66 * An empty table shared by all zero-capacity maps (typically from default
69 * minimum-sized table.
87 * The hash table. If this hash map contains a mapping for null, it is
88 * not represented this hash table.
90 transient HashMapEntry<K, V>[] table; field in class:HashMap
109 * The table is rehashed when its size exceeds this threshold.
126 table = (HashMapEntry<K, V>[]) EMPTY_TABLE;
146 table = tab;
205 if (table == EMPTY_TABLE) {
206 doubleCapacity(); // Don't do unchecked puts to a shared table
[all...]
H A DHashtable.java51 * An empty table shared by all zero-capacity maps (typically from default
54 * minimum-sized table.
72 * The hash table.
74 private transient HashtableEntry<K, V>[] table; field in class:Hashtable
88 * The table is rehashed when its size exceeds this threshold.
106 table = (HashtableEntry<K, V>[]) EMPTY_TABLE;
125 table = tab;
181 if (table == EMPTY_TABLE) {
182 doubleCapacity(); // Don't do unchecked puts to a shared table.
222 result.makeTable(table
[all...]
H A DLinkedHashMap.java177 * to the hash table (which is properly the province of our superclass).
182 * the resulting hash table corrupt.
193 // Create new entry, link it on to list, and put it into table
196 key, value, hash, table[index], header, oldTail);
197 table[index] = oldTail.nxt = header.prv = newTail;
209 // Create new entry, link it on to list, and put it into table
251 HashMapEntry<K, V>[] tab = table;
H A DHashSet.java188 stream.writeInt(backingMap.table.length);
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DmySSLSession.java26 private Hashtable table; field in class:mySSLSession
37 table = new Hashtable();
128 Object obj1 = table.put(s, obj);
142 Object obj = table.remove(s);
153 return table.get(s);
159 Enumeration enumeration = table.keys();
/libcore/luni/src/main/java/java/sql/
H A DDatabaseMetaData.java133 * key by some other table. Used for the column {@code UPDATE_RULE}.
223 * States that this table index is a clustered index.
228 * States that this table index is a hashed index.
233 * States this table's index is neither a clustered index, not a hashed
234 * index, and not a table statistics index; i.e. it is something else.
239 * States this column has the table's statistics, and that it is returned in
240 * conjunction with the table's index description.
351 * table
356 * States that the function does not return a table
361 * States that the function returns a table
584 getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) argument
659 getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) argument
1022 getExportedKeys(String catalog, String schema, String table) argument
1131 getImportedKeys(String catalog, String schema, String table) argument
1203 getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) argument
1488 getPrimaryKeys(String catalog, String schema, String table) argument
2101 getVersionColumns(String catalog, String schema, String table) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DNamespaceSupport.java645 Hashtable table;
650 // Select the appropriate table.
652 table = attributeNameTable;
654 table = elementNameTable;
660 name = (String[])table.get(qName);
709 table.put(name[2], name);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DSecurity2Test.java54 // to the allSupported table then increment the count of the
104 private void addOrIncrementTable(Map<String, Integer> table, String k) { argument
106 if (table.containsKey(key)) {
107 int before = table.get(key);
108 table.put(key, before + 1);
110 table.put(key, 1);
/libcore/luni/src/main/java/java/text/
H A DDateFormat.java686 private static Hashtable<Integer, Field> table = new Hashtable<Integer, Field>(); field in class:DateFormat.Field
798 if (calendarField != -1 && table.get(Integer.valueOf(calendarField)) == null) {
799 table.put(Integer.valueOf(calendarField), this);
828 return table.get(Integer.valueOf(calendarField));
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentHashMap.java36 * A hash table supporting full concurrency of retrievals and
42 * and there is <em>not</em> any support for locking the entire table
57 * the hash table at some point at or since the creation of the
68 * <p>The table is dynamically expanded when there are too many
70 * the same slot modulo the table size), with the expected average
76 * table may be a relatively slow operation. When possible, it is a
80 * customizing initial table capacity by specifying the table density
87 * hash table. To ameliorate impact, when keys are {@link Comparable},
109 * The primary design goal of this hash table i
578 transient volatile Node<K,V>[] table; field in class:ConcurrentHashMap
[all...]
/libcore/luni/src/test/java/tests/java/sql/
H A DDatabaseMetaDataTest.java358 assertTrue("Invalid table name", Arrays.binarySearch(
378 assertTrue("Wrong table name", Arrays.binarySearch(tablesName,
393 assertTrue("Wrong table name", Arrays.binarySearch(tablesName,
462 assertEquals("Incorrect primary key table catalog", conn.getCatalog(),
464 assertEquals("Incorrect primary key table schema", "", rs
466 assertEquals("Incorrect primary key table name",
471 assertEquals("Incorrect foreign key table catalog", conn.getCatalog(),
473 assertEquals("Incorrect foreign key table schema", "", rs
475 assertEquals("Incorrect foreign key table name",
701 assertEquals("Incorrect primary key table catalo
[all...]
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 862 milliseconds