/external/compiler-rt/lib/ubsan/ |
ubsan_type_hash_itanium.cc | 94 /// Find a bucket to store the given hash value in. 212 HashValue *Bucket = getTypeCacheHashTableBucket(Hash); 213 if (*Bucket == Hash) { 235 *Bucket = Hash;
|
/external/llvm/include/llvm/Support/ |
OnDiskHashTable.h | 79 /// \brief A linked list of values in a particular hash bucket. 80 struct Bucket { 86 Bucket *Buckets; 89 /// \brief Insert an item into the appropriate hash bucket. 90 void insert(Bucket *Buckets, size_t Size, Item *E) { 91 Bucket &B = Buckets[E->Hash & (Size - 1)]; 99 Bucket *NewBuckets = (Bucket *)std::calloc(NewSize, sizeof(Bucket)); 157 Bucket &B = Buckets[I] [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_addrhashmap.h | 59 struct Bucket { 82 Bucket *bucket_; 93 Bucket *table_; 151 table_ = (Bucket*)MmapOrDie(kSize * sizeof(table_[0]), "AddrHashMap"); 158 Bucket *b = &table_[hash]; 165 // If we want to remove the element, we need exclusive access to the bucket, 287 Bucket *b = h->bucket_; 301 // See if we need to compact the bucket.
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/ |
connection.py | 22 from boto.gs.bucket import Bucket 46 "google", Bucket, 53 Creates a new bucket. By default it's located in the USA. You can 54 pass Location.EU to create bucket in the EU. You can also pass 55 a LocationConstraint for where the bucket should be located, and 59 :param bucket_name: The name of the new bucket. 65 :param location: The location of the new bucket. 108 Retrieves a bucket by name. 110 If the bucket does not exist, an ``S3ResponseError`` will be raised. I [all...] |
/system/core/metricsd/uploader/ |
metrics_log_base.cc | 134 HistogramEventProto::Bucket* bucket = histogram_proto->add_bucket(); local 135 bucket->set_min(min); 136 bucket->set_max(max); 137 bucket->set_count(count); 142 HistogramEventProto::Bucket* bucket = histogram_proto->mutable_bucket(i); local 144 bucket->max() == histogram_proto->bucket(i + 1).min()) { 145 bucket->clear_max() [all...] |
/external/icu/icu4c/source/i18n/ |
alphaindex.cpp | 80 inline AlphabeticIndex::Bucket *getBucket(const UVector &list, int32_t i) { 81 return static_cast<AlphabeticIndex::Bucket *>(list[i]); 149 const AlphabeticIndex::Bucket *bucket = getBucket(*bucketList_, i); local 151 collatorPrimaryOnly.compare(name, bucket->lowerBoundary_, errorCode); 158 const AlphabeticIndex::Bucket *bucket = getBucket(*bucketList_, start); local 159 if (bucket->displayBucket_ != NULL) { 160 bucket = bucket->displayBucket_ 452 Bucket *bucket = new Bucket(getUnderflowLabel(), emptyString_, U_ALPHAINDEX_UNDERFLOW); local 675 Bucket *bucket = currentBucket; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
AlphabeticIndexTest.java | 28 import android.icu.text.AlphabeticIndex.Bucket; 29 import android.icu.text.AlphabeticIndex.Bucket.LabelType; 229 Bucket<Integer> bucket = find(alphabeticIndex, probe); local 230 assertEquals("locale " + test[0] + " name=" + probe + " in bucket", 231 expectedLabel, bucket.getLabel()); 235 private Bucket<Integer> find(AlphabeticIndex<Integer> alphabeticIndex, final String probe) { 236 for (Bucket<Integer> bucket : alphabeticIndex) { 237 for (Record<Integer> record : bucket) { 477 Set<R4<RawCollationKey, String, Integer, Double>> bucket = myBucketContents.get(i); local 986 Bucket<Integer> bucket = index.iterator().next(); local [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
AlphabeticIndexTest.java | 27 import com.ibm.icu.text.AlphabeticIndex.Bucket; 28 import com.ibm.icu.text.AlphabeticIndex.Bucket.LabelType; 225 Bucket<Integer> bucket = find(alphabeticIndex, probe); local 226 assertEquals("locale " + test[0] + " name=" + probe + " in bucket", 227 expectedLabel, bucket.getLabel()); 231 private Bucket<Integer> find(AlphabeticIndex<Integer> alphabeticIndex, final String probe) { 232 for (Bucket<Integer> bucket : alphabeticIndex) { 233 for (Record<Integer> record : bucket) { 473 Set<R4<RawCollationKey, String, Integer, Double>> bucket = myBucketContents.get(i); local 982 Bucket<Integer> bucket = index.iterator().next(); local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
logging.py | 52 buckets (e.g., gs://bucket). The required bucket parameter specifies the 53 bucket to which the logs are written, and the optional log_object_prefix 55 is the bucket name. For example, the command: 62 with those log objects written to the bucket gs://my_logging_bucket. 65 the log bucket, using this command: 70 sure to set an appropriate default bucket ACL to protect that data. (See 75 specified URLs. All URLs must name buckets (e.g., gs://bucket). 85 If logging is enabled for the specified bucket url, the server responds 93 You can download log data from your log bucket using the gsutil cp command [all...] |
versioning.py | 42 specified bucket(s). 49 bucket and displays whether or not it is enabled. 54 Storage bucket to keep old versions of objects. 111 """Gets versioning configuration for a bucket.""" 128 bucket_metadata = apitools_messages.Bucket( 129 versioning=apitools_messages.Bucket.VersioningValue())
|
web.py | 45 Website Configuration on your bucket(s). The "set" sub-command has the 49 -m <index.html> Specifies the object name to serve when a bucket 62 a bucket and displays a JSON representation of the configuration. 75 Storage bucket to behave like a static website. This means requests made via a 76 domain-named bucket aliased using a Domain Name System "CNAME" to 78 bucket will serve the configured "main" page instead of the usual bucket 83 up a website bucket as follows: 85 1. Create a bucket called example.com (see the "DOMAIN NAMED BUCKETS" 88 2. Create index.html and 404.html files and upload them to the bucket [all...] |
mb.py | 41 The mb command creates a new bucket. Google Cloud Storage has a single 42 namespace, so you will not be allowed to create a bucket with a name already 43 in use by another user. You can, however, carve out parts of the bucket name 46 If you don't specify a project ID using the -p option, the bucket 52 for the bucket. Once a bucket is created in a given location and with a 55 bucket and move the data over and then delete the original bucket. 58 <B>BUCKET STORAGE CLASSES</B> 59 If you don't specify a -c option, the bucket will be created with the defaul [all...] |
cors.py | 44 Gets the CORS configuration for a single bucket. The output from 77 a bucket: 138 """Sets CORS configuration on a Google Cloud Storage bucket.""" 169 bucket_metadata = apitools_messages.Bucket(cors=cors) 177 """Gets CORS configuration for a Google Cloud Storage bucket."""
|
lifecycle.py | 44 Gets the lifecycle configuration for a given bucket. You can get the 45 lifecycle configuration for only one bucket at a time. The output can be 60 for the given bucket(s). This command is supported for buckets only, not 68 in this bucket that are more than 365 days old will be deleted automatically: 81 lifecycle configuration for a bucket: 125 'Get or set lifecycle configuration for a bucket'), 131 """Sets lifecycle configuration for a Google Cloud Storage bucket.""" 158 bucket_metadata = apitools_messages.Bucket(lifecycle=lifecycle) 166 """Gets lifecycle configuration for a Google Cloud Storage bucket."""
|
/external/llvm/include/llvm/ADT/ |
FoldingSet.h | 29 /// it, otherwise return the bucket it should be inserted into. 34 /// node). The last node points back to the bucket to simplify node removal. 104 /// structure is an array of buckets. Each bucket is indexed by the hash of 105 /// the nodes it contains. The bucket itself points to the nodes contained 106 /// in the bucket via a singly linked list. The last node in the list points 107 /// back to the bucket to facilitate node removal. 113 /// Buckets - Array of bucket chains. 132 /// Node - This class is used to maintain the singly linked bucket list in 137 // NextInFoldingSetBucket - next link in the bucket list. 612 FoldingSetIteratorImpl(void **Bucket); [all...] |
DenseMap.h | 36 // We extend a pair to allow users to override the bucket type with their own 49 typename Bucket = detail::DenseMapPair<KeyT, ValueT>, bool IsConst = false> 433 // The later case is tricky. For example, if we had one empty bucket with 435 // probe almost the entire table until it found the empty bucket. If the 451 // Only update the state after we've grown our bucket space appropriately 463 /// LookupBucketFor - Lookup the appropriate bucket for Val, returning it in 464 /// FoundBucket. If the bucket contains the key and a value, this returns 465 /// true, otherwise it returns a bucket with an empty marker or tombstone and 490 // Found Val's bucket? If so, return it. 496 // If we found an empty bucket, the key doesn't exist in the set [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
ChildHelper.java | 44 final Bucket mBucket; 50 mBucket = new Bucket(); 395 static class Bucket { 403 Bucket next; 416 next = new Bucket();
|
/frameworks/ex/common/tools/ |
make-iana-tld-pattern.py | 52 class Bucket: 126 bucket = buckets.get(letter) 128 if bucket is None: 129 bucket = Bucket(letter) 130 buckets[letter] = bucket 132 return bucket
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/file/ |
bucket.py | 23 # File representation of bucket, for use with "file://" URIs. 30 class Bucket(object): 32 """Instantiate an anonymous file-based Bucket around a single key. 41 return 'anonymous bucket for file://' + self.contained_key 46 Deletes a key from the bucket. 61 This method returns the single key around which this anonymous Bucket 74 Check to see if a particular key exists within the bucket. 87 :returns: A Key object from this bucket.
|
/external/opencv3/modules/flann/include/opencv2/flann/ |
lsh_table.h | 67 /** What is stored in an LSH bucket 70 /** The id from which we can get a bucket back in an LSH table 74 /** A bucket in an LSH table 76 typedef std::vector<FeatureIndex> Bucket; 136 typedef std::unordered_map<BucketKey, Bucket> BucketsSpace; 138 typedef std::map<BucketKey, Bucket> BucketsSpace; 143 typedef std::vector<Bucket> BucketsSpeed; 170 // Add the value to the corresponding bucket 206 /** Get a bucket given the key 210 inline const Bucket* getBucketFromKey(BucketKey key) cons [all...] |
lsh_index.h | 278 const lsh::Bucket* bucket = table->getBucketFromKey(sub_key); local 279 if (bucket == 0) continue; 282 std::vector<lsh::FeatureIndex>::const_iterator training_index = bucket->begin(); 283 std::vector<lsh::FeatureIndex>::const_iterator last_training_index = bucket->end(); 316 const lsh::Bucket* bucket = table->getBucketFromKey(sub_key); local 317 if (bucket == 0) continue; 320 std::vector<lsh::FeatureIndex>::const_iterator training_index = bucket->begin(); 321 std::vector<lsh::FeatureIndex>::const_iterator last_training_index = bucket->end() 349 const lsh::Bucket* bucket = table->getBucketFromKey((lsh::BucketKey)sub_key); local [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCLoopPreIncPrep.cpp | 114 struct Bucket { 115 Bucket(const SCEV *B, Instruction *I) : BaseSCEV(B), 180 SmallVector<Bucket, 16> Buckets; 234 Buckets.push_back(Bucket(LSCEV, MemI)); 259 // The base address of each bucket is transformed into a phi and the others 264 // bucket does not work well, specifically because that instruction might 269 // instruction in each bucket, and adjust the recurrence and other offsets 308 // The instruction corresponding to the Bucket's BaseSCEV must be the first
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
mock_cloud_api.py | 50 return '%s/%s#%s' % (self.root_object.bucket, 59 """Defines a mock cloud storage provider bucket.""" 62 self.root_object = apitools_messages.Bucket( 64 versioning=apitools_messages.Bucket.VersioningValue(enabled=versioned)) 74 """Creates an object in the bucket according to the input metadata. 127 """Creates a simple bucket without exercising the API directly.""" 129 raise ServiceException('Bucket %s already exists.' % bucket_name, 134 """Creates a simple bucket without exercising the API directly.""" 136 raise ServiceException('Bucket %s already exists.' % bucket_name, 148 assert apitools_object.bucket, 'No bucket specified for mock object [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
translation_helper.py | 86 REMOVE_CORS_CONFIG = [apitools_messages.Bucket.CorsValueListEntry( 300 """Creates bucket or object preconditions acccording to the provided headers. 334 dst_bucket_name: Destination bucket name for the write operation. 336 src_bucket_name: Source bucket name, if any (for the copy case). 350 'The source object %s or the destination bucket %s does not exist.' % 354 'The destination bucket %s does not exist or the write to the ' 359 return BucketNotFoundException('%s://%s bucket does not exist.' % 478 lifecycle_message = apitools_messages.Bucket.LifecycleValue() 481 apitools_messages.Bucket.LifecycleValue.RuleValueListEntry()) 482 lifecycle_rule.condition = (apitools_messages.Bucket.LifecycleValue [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/ |
test_connection.py | 29 from boto.s3.connection import S3ResponseError, Bucket 113 url = conn.generate_url_sigv4(86400, 'GET', bucket='examplebucket', 132 url = conn.generate_url_sigv4(86400, 'GET', bucket='examplebucket', 152 url = conn.generate_url_sigv4(86400, 'GET', bucket='examplebucket', 170 <Bucket> 173 </Bucket> 174 <Bucket> 177 </Bucket> 200 buck = self.service_connection.head_bucket('my-test-bucket') 201 self.assertTrue(isinstance(buck, Bucket)) [all...] |