/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
D | DistributionTest.java | 25 import io.opencensus.metrics.export.Distribution.Bucket; 52 Bucket bucket = Bucket.create(98); in createAndGet_Bucket() local 53 assertThat(bucket.getCount()).isEqualTo(98); in createAndGet_Bucket() 54 assertThat(bucket.getExemplar()).isNull(); in createAndGet_Bucket() 60 Bucket bucket = Bucket.create(7, exemplar); in createAndGet_BucketWithExemplar() local 61 assertThat(bucket.getCount()).isEqualTo(7); in createAndGet_BucketWithExemplar() 62 assertThat(bucket.getExemplar()).isEqualTo(exemplar); in createAndGet_BucketWithExemplar() 69 Bucket.create(1, null); in createBucket_preventNullExemplar() 103 thrown.expectMessage("bucket boundary should be > 0"); in createAndGet_ExplicitBucketsNegativeBounds() 136 thrown.expectMessage("bucket boundaries not sorted."); in createBucketOptions_UnorderedBucketBounds() [all …]
|
/external/python/google-api-python-client/docs/dyn/ |
D | storage_v1.buckets.html | 78 …<code><a href="#delete">delete(bucket, ifMetagenerationMatch=None, userProject=None, provisionalUs… 79 <p class="firstline">Permanently deletes an empty bucket.</p> 81 …<code><a href="#get">get(bucket, projection=None, ifMetagenerationMatch=None, userProject=None, pr… 82 <p class="firstline">Returns metadata for the specified bucket.</p> 84 …<code><a href="#getIamPolicy">getIamPolicy(bucket, userProject=None, provisionalUserProject=None)<… 85 <p class="firstline">Returns an IAM policy for the specified bucket.</p> 88 <p class="firstline">Creates a new bucket.</p> 96 …<code><a href="#lockRetentionPolicy">lockRetentionPolicy(bucket, ifMetagenerationMatch, userProjec… 97 <p class="firstline">Locks retention policy on a bucket.</p> 99 …<code><a href="#patch">patch(bucket, body, projection=None, ifMetagenerationMatch=None, userProjec… [all …]
|
D | storage_v1beta2.buckets.html | 78 …<code><a href="#delete">delete(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)<… 79 <p class="firstline">Permanently deletes an empty bucket.</p> 81 …<code><a href="#get">get(bucket, projection=None, ifMetagenerationMatch=None, ifMetagenerationNotM… 82 <p class="firstline">Returns metadata for the specified bucket.</p> 85 <p class="firstline">Creates a new bucket.</p> 93 …<code><a href="#patch">patch(bucket, body, projection=None, ifMetagenerationMatch=None, ifMetagene… 94 <p class="firstline">Updates a bucket. This method supports patch semantics.</p> 96 …<code><a href="#update">update(bucket, body, projection=None, ifMetagenerationMatch=None, ifMetage… 97 <p class="firstline">Updates a bucket.</p> 100 …<code class="details" id="delete">delete(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMa… [all …]
|
D | storage_v1beta1.buckets.html | 78 <code><a href="#delete">delete(bucket)</a></code></p> 79 <p class="firstline">Deletes an empty bucket.</p> 81 <code><a href="#get">get(bucket, projection=None)</a></code></p> 82 <p class="firstline">Returns metadata for the specified bucket.</p> 85 <p class="firstline">Creates a new bucket.</p> 93 <code><a href="#patch">patch(bucket, body, projection=None)</a></code></p> 94 <p class="firstline">Updates a bucket. This method supports patch semantics.</p> 96 <code><a href="#update">update(bucket, body, projection=None)</a></code></p> 97 <p class="firstline">Updates a bucket.</p> 100 <code class="details" id="delete">delete(bucket)</code> [all …]
|
D | storage_v1.bucketAccessControls.html | 78 …<code><a href="#delete">delete(bucket, entity, userProject=None, provisionalUserProject=None)</a><… 79 …"firstline">Permanently deletes the ACL entry for the specified entity on the specified bucket.</p> 81 …<code><a href="#get">get(bucket, entity, userProject=None, provisionalUserProject=None)</a></code>… 82 <p class="firstline">Returns the ACL entry for the specified entity on the specified bucket.</p> 84 …<code><a href="#insert">insert(bucket, body, userProject=None, provisionalUserProject=None)</a></c… 85 <p class="firstline">Creates a new ACL entry on the specified bucket.</p> 87 <code><a href="#list">list(bucket, userProject=None, provisionalUserProject=None)</a></code></p> 88 <p class="firstline">Retrieves ACL entries on the specified bucket.</p> 90 …<code><a href="#patch">patch(bucket, entity, body, userProject=None, provisionalUserProject=None)<… 91 <p class="firstline">Patches an ACL entry on the specified bucket.</p> [all …]
|
D | storage_v1beta1.bucketAccessControls.html | 78 <code><a href="#delete">delete(bucket, entity)</a></code></p> 79 <p class="firstline">Deletes the ACL entry for the specified entity on the specified bucket.</p> 81 <code><a href="#get">get(bucket, entity)</a></code></p> 82 <p class="firstline">Returns the ACL entry for the specified entity on the specified bucket.</p> 84 <code><a href="#insert">insert(bucket, body)</a></code></p> 85 <p class="firstline">Creates a new ACL entry on the specified bucket.</p> 87 <code><a href="#list">list(bucket)</a></code></p> 88 <p class="firstline">Retrieves ACL entries on the specified bucket.</p> 90 <code><a href="#patch">patch(bucket, entity, body)</a></code></p> 91 <p class="firstline">Updates an ACL entry on the specified bucket. This method supports patch seman… [all …]
|
D | storage_v1beta2.bucketAccessControls.html | 78 <code><a href="#delete">delete(bucket, entity)</a></code></p> 79 …"firstline">Permanently deletes the ACL entry for the specified entity on the specified bucket.</p> 81 <code><a href="#get">get(bucket, entity)</a></code></p> 82 <p class="firstline">Returns the ACL entry for the specified entity on the specified bucket.</p> 84 <code><a href="#insert">insert(bucket, body)</a></code></p> 85 <p class="firstline">Creates a new ACL entry on the specified bucket.</p> 87 <code><a href="#list">list(bucket)</a></code></p> 88 <p class="firstline">Retrieves ACL entries on the specified bucket.</p> 90 <code><a href="#patch">patch(bucket, entity, body)</a></code></p> 91 <p class="firstline">Updates an ACL entry on the specified bucket. This method supports patch seman… [all …]
|
D | storage_v1.defaultObjectAccessControls.html | 78 …<code><a href="#delete">delete(bucket, entity, userProject=None, provisionalUserProject=None)</a><… 79 …manently deletes the default object ACL entry for the specified entity on the specified bucket.</p> 81 …<code><a href="#get">get(bucket, entity, userProject=None, provisionalUserProject=None)</a></code>… 82 …rstline">Returns the default object ACL entry for the specified entity on the specified bucket.</p> 84 …<code><a href="#insert">insert(bucket, body, userProject=None, provisionalUserProject=None)</a></c… 85 <p class="firstline">Creates a new default object ACL entry on the specified bucket.</p> 87 …<code><a href="#list">list(bucket, ifMetagenerationMatch=None, userProject=None, provisionalUserPr… 88 <p class="firstline">Retrieves default object ACL entries on the specified bucket.</p> 90 …<code><a href="#patch">patch(bucket, entity, body, userProject=None, provisionalUserProject=None)<… 91 <p class="firstline">Patches a default object ACL entry on the specified bucket.</p> [all …]
|
D | storage_v1beta2.defaultObjectAccessControls.html | 78 <code><a href="#delete">delete(bucket, entity)</a></code></p> 79 …manently deletes the default object ACL entry for the specified entity on the specified bucket.</p> 81 <code><a href="#get">get(bucket, entity)</a></code></p> 82 …rstline">Returns the default object ACL entry for the specified entity on the specified bucket.</p> 84 <code><a href="#insert">insert(bucket, body)</a></code></p> 85 <p class="firstline">Creates a new default object ACL entry on the specified bucket.</p> 87 …<code><a href="#list">list(bucket, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a><… 88 <p class="firstline">Retrieves default object ACL entries on the specified bucket.</p> 90 <code><a href="#patch">patch(bucket, entity, body)</a></code></p> 91 <p class="firstline">Updates a default object ACL entry on the specified bucket. This method suppor… [all …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/ |
D | ReadOnlyClassToSerializerMap.java | 20 private final Bucket[] _buckets; 31 Bucket[] buckets = new Bucket[size]; in ReadOnlyClassToSerializerMap() 35 buckets[index] = new Bucket(buckets[index], key, entry.getValue()); in ReadOnlyClassToSerializerMap() 68 Bucket bucket = _buckets[TypeKey.typedHash(type) & _mask]; in typedValueSerializer() local 69 if (bucket == null) { in typedValueSerializer() 72 if (bucket.matchesTyped(type)) { in typedValueSerializer() 73 return bucket.value; in typedValueSerializer() 75 while ((bucket = bucket.next) != null) { in typedValueSerializer() 76 if (bucket.matchesTyped(type)) { in typedValueSerializer() 77 return bucket.value; in typedValueSerializer() [all …]
|
/external/libaom/libaom/stats/ |
D | rate_hist.c | 34 struct hist_bucket bucket[RATE_BINS]; member 57 hist->bucket[i].low = INT_MAX; in init_rate_histogram() 58 hist->bucket[i].high = 0; in init_rate_histogram() 59 hist->bucket[i].count = 0; in init_rate_histogram() 109 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram() 110 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram() 111 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram() 112 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram() 113 hist->bucket[idx].count++; in update_rate_histogram() 117 static int merge_hist_buckets(struct hist_bucket *bucket, int max_buckets, in merge_hist_buckets() argument [all …]
|
/external/libvpx/libvpx/ |
D | rate_hist.c | 33 struct hist_bucket bucket[RATE_BINS]; member 62 hist->bucket[i].low = INT_MAX; in init_rate_histogram() 63 hist->bucket[i].high = 0; in init_rate_histogram() 64 hist->bucket[i].count = 0; in init_rate_histogram() 118 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram() 119 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram() 120 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram() 121 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram() 122 hist->bucket[idx].count++; in update_rate_histogram() 126 static int merge_hist_buckets(struct hist_bucket *bucket, int max_buckets, in merge_hist_buckets() argument [all …]
|
/external/kmod/shared/ |
D | hash.c | 69 struct hash_bucket *bucket, *bucket_end; in hash_free() local 74 bucket = hash->buckets; in hash_free() 75 bucket_end = bucket + hash->n_buckets; in hash_free() 76 for (; bucket < bucket_end; bucket++) { in hash_free() 79 entry = bucket->entries; in hash_free() 80 entry_end = entry + bucket->used; in hash_free() 84 free(bucket->entries); in hash_free() 151 struct hash_bucket *bucket = hash->buckets + pos; in hash_add() local 154 if (bucket->used + 1 >= bucket->total) { in hash_add() 155 unsigned new_total = bucket->total + hash->step; in hash_add() [all …]
|
/external/python/apitools/samples/storage_sample/storage_v1/ |
D | storage_v1_client.py | 58 r"""Permanently deletes the ACL entry for the specified entity on the specified bucket. 73 ordered_params=[u'bucket', u'entity'], 74 path_params=[u'bucket', u'entity'], 76 relative_path=u'b/{bucket}/acl/{entity}', 84 r"""Returns the ACL entry for the specified entity on the specified bucket. 99 ordered_params=[u'bucket', u'entity'], 100 path_params=[u'bucket', u'entity'], 102 relative_path=u'b/{bucket}/acl/{entity}', 110 r"""Creates a new ACL entry on the specified bucket. 125 ordered_params=[u'bucket'], [all …]
|
D | storage_v1_messages.py | 16 class Bucket(_messages.Message): class 17 r"""A bucket. 21 LifecycleValue: The bucket's lifecycle configuration. See lifecycle 23 LoggingValue: The bucket's logging configuration, which defines the 24 destination bucket and optional name prefix for the current bucket's 26 OwnerValue: The owner of the bucket. This is always the project team's 28 VersioningValue: The bucket's versioning configuration. 29 WebsiteValue: The bucket's website configuration, controlling how the 30 service behaves when accessing bucket contents as a web site. See the 34 acl: Access controls on the bucket. [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | AlphabeticIndex.java | 19 import com.ibm.icu.text.AlphabeticIndex.Bucket; 20 import com.ibm.icu.text.AlphabeticIndex.Bucket.LabelType; 43 * (bucket) of a larger "target" list. That is, each label corresponds to a bucket in 44 * the target list, where everything in the bucket is greater than or equal to the character 46 * they will be in sorted order in the right bucket. 51 * into an inflow bucket between the other two scripts. 72 * for (AlphabeticIndex.Bucket<Integer> bucket : index) { 73 * if (showAll || bucket.size() != 0) { 74 * showLabelAtTop(UI, bucket.getLabel()); 80 * for (AlphabeticIndex.Bucket<Integer> bucket : index) { [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | AlphabeticIndex.java | 20 import android.icu.text.AlphabeticIndex.Bucket; 21 import android.icu.text.AlphabeticIndex.Bucket.LabelType; 44 * (bucket) of a larger "target" list. That is, each label corresponds to a bucket in 45 * the target list, where everything in the bucket is greater than or equal to the character 47 * they will be in sorted order in the right bucket. 52 * into an inflow bucket between the other two scripts. 73 * for (AlphabeticIndex.Bucket<Integer> bucket : index) { 74 * if (showAll || bucket.size() != 0) { 75 * showLabelAtTop(UI, bucket.getLabel()); 81 * for (AlphabeticIndex.Bucket<Integer> bucket : index) { [all …]
|
/external/libdrm/ |
D | xf86drmHash.c | 119 HashBucketPtr bucket; in drmHashDestroy() local 126 for (bucket = table->buckets[i]; bucket;) { in drmHashDestroy() 127 next = bucket->next; in drmHashDestroy() 128 drmFree(bucket); in drmHashDestroy() 129 bucket = next; in drmHashDestroy() 136 /* Find the bucket and organize the list so that this bucket is at the 144 HashBucketPtr bucket; in HashFind() local 148 for (bucket = table->buckets[hash]; bucket; bucket = bucket->next) { in HashFind() 149 if (bucket->key == key) { in HashFind() 152 prev->next = bucket->next; in HashFind() [all …]
|
/external/python/apitools/samples/storage_sample/ |
D | storage_v1.json | 94 "Bucket": { object 95 "id": "Bucket", 97 "description": "A bucket.", 101 "description": "Access controls on the bucket.", 113 "description": "The bucket's Cross-Origin Resource Sharing (CORS) configuration.", 155 "description": "HTTP 1.1 Entity tag for the bucket." 159 "description": "The ID of the bucket." 163 "description": "The kind of item this is. For buckets, this is always storage#bucket.", 164 "default": "storage#bucket" 168 …"description": "The bucket's lifecycle configuration. See lifecycle management for more informatio… [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | flatrep.h | 32 // structure it as an array of buckets where each bucket holds 42 // FlatMap passes in a bucket that contains keys and values, FlatSet 43 // passes in a bucket that does not contain values. 44 template <typename Key, typename Bucket, class Hash, class Eq> 47 // kWidth is the number of entries stored in a bucket. 79 Bucket* start() const { return array_; } in start() 80 Bucket* limit() const { return end_; } in limit() 101 for (Bucket* b = array_; b != end_; b++) { in clear_no_resize() 133 Bucket* b; 138 // 1. Bottom 8 bits are stored in bucket to help speed up comparisons. [all …]
|
/external/python/jinja/src/jinja2/ |
D | bccache.py | 32 class Bucket: class 48 """Resets the bucket (unloads the bytecode).""" 73 raise TypeError("can't write empty bucket") 92 these methods are passed a :class:`~jinja2.bccache.Bucket`. 103 def load_bytecode(self, bucket): 104 filename = path.join(self.directory, bucket.key) 107 bucket.load_bytecode(f) 109 def dump_bytecode(self, bucket): 110 filename = path.join(self.directory, bucket.key) 112 bucket.write_bytecode(f) [all …]
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
D | local_iterators.pass.cpp | 45 C::size_type b = c.bucket(0); in main() 50 b = c.bucket(1); in main() 58 b = c.bucket(2); in main() 66 b = c.bucket(3); in main() 72 b = c.bucket(4); in main() 78 b = c.bucket(5); in main() 83 b = c.bucket(6); in main() 103 C::size_type b = c.bucket(0); in main() 108 b = c.bucket(1); in main() 116 b = c.bucket(2); in main() [all …]
|
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/ |
D | Distribution.java | 52 * @param bucketOptions the bucket options used to create a histogram for the distribution. 53 * @param buckets {@link Bucket}s of a histogram. 62 List<Bucket> buckets) { in create() 72 List<Bucket> bucketsCopy = in create() 73 Collections.unmodifiableList(new ArrayList<Bucket>(Utils.checkNotNull(buckets, "buckets"))); in create() 74 Utils.checkListElementNotNull(bucketsCopy, "bucket"); in create() 111 * Returns bucket options used to create a histogram for the distribution. 121 * Returns the aggregated histogram {@link Bucket}s. 126 public abstract List<Bucket> getBuckets(); in getBuckets() 129 * The bucket options used to create a histogram for the distribution. [all …]
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | cloud_storage.py | 36 # Uses ordered dict to make sure that bucket's key-value items are ordered from 195 def List(bucket, prefix=None): argument 196 """Returns all paths matching the given prefix in bucket. 198 Returned paths are relative to the bucket root. 199 If path is given, 'gsutil ls gs://<bucket>/<path>' will be executed, otherwise 200 'gsutil ls gs://<bucket>' will be executed. 206 bucket: Name of cloud storage bucket to look at. 207 prefix: Path within the bucket to filter to. 210 A list of files. All returned path are relative to the bucket root 211 directory. For example, List('my-bucket', path='foo/') will returns results [all …]
|
/external/libchrome/third_party/jinja2/ |
D | bccache.py | 60 class Bucket(object): class 76 """Resets the bucket (unloads the bytecode).""" 101 raise TypeError('can\'t write empty bucket') 120 these methods are passed a :class:`~jinja2.bccache.Bucket`. 131 def load_bytecode(self, bucket): 132 filename = path.join(self.directory, bucket.key) 135 bucket.load_bytecode(f) 137 def dump_bytecode(self, bucket): 138 filename = path.join(self.directory, bucket.key) 140 bucket.write_bytecode(f) [all …]
|