Home
last modified time | relevance | path

Searched refs:population (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
DPopulationData.java30 private double population; field in PopulationData.TerritoryEntry
31 public TerritoryEntry(String displayCountry, double population) { in TerritoryEntry() argument
33 this.population = population; in TerritoryEntry()
38 public double population() { in population() method in PopulationData.TerritoryEntry
39 return population; in population()
47 if (rc==0) rc = ((Double)population).compareTo(o.population()); in compareTo()
76 System.out.println(" "+ te.territoryName() + " = " + nf.format(te.population())); in main()
/third_party/node/deps/brotli/c/enc/
Dbit_cost.h22 const uint32_t* population, size_t size, size_t* total) { in ShannonEntropy() argument
25 const uint32_t* population_end = population + size; in ShannonEntropy()
30 while (population < population_end) { in ShannonEntropy()
31 p = *population++; in ShannonEntropy()
35 p = *population++; in ShannonEntropy()
45 const uint32_t* population, size_t size) { in BitsEntropy() argument
47 double retval = ShannonEntropy(population, size, &sum); in BitsEntropy()
/third_party/skia/third_party/externals/brotli/c/enc/
Dbit_cost.h22 const uint32_t* population, size_t size, size_t* total) { in ShannonEntropy() argument
25 const uint32_t* population_end = population + size; in ShannonEntropy()
30 while (population < population_end) { in ShannonEntropy()
31 p = *population++; in ShannonEntropy()
35 p = *population++; in ShannonEntropy()
45 const uint32_t* population, size_t size) { in BitsEntropy() argument
47 double retval = ShannonEntropy(population, size, &sum); in BitsEntropy()
/third_party/boost/libs/bimap/example/
Dpopulation_bimap.cpp89 typedef population_bimap::value_type population; in main() typedef
92 pop.insert( population("China", 1321000000) ); in main()
93 pop.insert( population("India", 1129000000) ); in main()
94 pop.insert( population("United States", 301950000) ); in main()
95 pop.insert( population("Indonesia", 234950000) ); in main()
96 pop.insert( population("Brazil", 186500000) ); in main()
97 pop.insert( population("Pakistan", 163630000) ); in main()
/third_party/boost/libs/graph_parallel/test/
Dnamed_vertices_test.cpp33 City(const std::string& name, int population = -1) in City()
34 : name(name), population(population) { } in City()
39 ar & name & population; in serialize() local
43 int population; member
87 << map[city].population << std::endl; in test_main()
116 BOOST_CHECK(map[cincinnati].population == -1); in test_main()
Dnamed_vertices_seq.cpp31 City(const std::string& name, int population = -1) in City()
32 : name(name), population(population) { } in City()
35 int population; member
73 std::cout << map[city].name << ", population " << map[city].population in test_main()
88 BOOST_CHECK(map[*find_vertex("Cincinnati", map)].population == -1); in test_main()
Dnamed_vertices_hash_test.cpp34 City(const std::string& name, int population = -1) in City()
35 : name(name), population(population) { } in City()
40 ar & name & population; in serialize() local
44 int population; member
124 << map[city].population << std::endl; in test_main()
153 BOOST_CHECK(map[cincinnati].population == -1); in test_main()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-map.hh70 unsigned int population; /* Not including tombstones. */ member
79 population = occupancy = 0; in init_shallow()
93 population = occupancy = 0; in fini_shallow()
115 unsigned int power = hb_bit_storage (population * 2 + 8); in resize()
131 population = occupancy = 0; in resize()
161 population--; in set()
169 population++; in set()
203 population = occupancy = 0; in clear()
206 bool is_empty () const { return population == 0; } in is_empty()
208 unsigned int get_population () const { return population; } in get_population()
Dhb-set.hh189 mutable unsigned int population; member
196 population = 0; in init_shallow()
207 population = 0; in fini_shallow()
243 population = 0; in clear()
256 void dirty () { population = (unsigned int) -1; } in dirty()
398 population = other->population; in set()
660 if (population != (unsigned int) -1) in get_population()
661 return population; in get_population()
668 population = pop; in get_population()
/third_party/boost/libs/graph/test/
Dnamed_vertices_test.cpp31 City(const std::string& name, int population = -1) in City()
32 : name(name), population(population) in City()
37 int population; member
77 std::cout << map[city].name << ", population " << map[city].population in main()
92 BOOST_TEST(map[*find_vertex("Cincinnatti", map)].population == -1); in main()
Dbundled_properties.cpp28 : name(name), population(pop) in City()
34 int population; member
40 out << city.name << ' ' << city.population << ' '; in operator <<()
49 if (in >> city.name >> city.population) in operator >>()
61 return (c1.name == c2.name && c1.population == c2.population in operator ==()
174 map[v].population = 49170; in test_bundled_properties()
180 map[u].population = 95658; in test_bundled_properties()
204 put(&City::population, map, v, 49168); in test_bundled_properties()
205 BOOST_TEST(get(&City::population, map)[v] == 49168); in test_bundled_properties()
214 put(&City::population, fmap, v, 49169); in test_bundled_properties()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-map.hh90 unsigned int population; /* Not including tombstones. */ member
100 hb_swap (a.population, b.population); in swap()
109 population = occupancy = 0; in init_shallow()
123 population = occupancy = 0; in fini_shallow()
143 unsigned int power = hb_bit_storage (population * 2 + 8); in resize()
158 population = occupancy = 0; in resize()
209 population = occupancy = 0; in clear()
212 bool is_empty () const { return population == 0; } in is_empty()
215 unsigned int get_population () const { return population; } in get_population()
262 population--; in set_with_hash()
[all …]
Dhb-bit-set.hh49 hb_swap (a.population, b.population); in swap()
58 population = 0; in init()
80 mutable unsigned int population = 0; member
110 population = 0; in clear()
123 void dirty () { population = UINT_MAX; } in dirty()
342 population = other.population; in set()
703 bool has_population () const { return population != UINT_MAX; } in has_population()
707 return population; in get_population()
714 population = pop; in get_population()
/third_party/harfbuzz/src/
Dhb-map.hh67 unsigned int population; /* Not including tombstones. */ member
76 population = occupancy = 0; in init_shallow()
90 population = occupancy = 0; in fini_shallow()
110 unsigned int power = hb_bit_storage (population * 2 + 8); in resize()
125 population = occupancy = 0; in resize()
176 population = occupancy = 0; in clear()
179 bool is_empty () const { return population == 0; } in is_empty()
182 unsigned int get_population () const { return population; } in get_population()
228 population--; in set_with_hash()
237 population++; in set_with_hash()
Dhb-set.hh215 mutable unsigned int population; member
222 population = 0; in init_shallow()
233 population = 0; in fini_shallow()
266 population = 0; in clear()
278 void dirty () { population = UINT_MAX; } in dirty()
475 population = other->population; in set()
813 if (population != UINT_MAX) in get_population()
814 return population; in get_population()
821 population = pop; in get_population()
/third_party/grpc/third_party/upb/benchmarks/
Dgen_synthetic_protos.py44 population = [item[0] for item in field_freqs] variable
49 return random.choices(population=population, weights=weights, k=k)
52 return [random.choice(population) for _ in range(k)]
/third_party/python/Lib/
Drandom.py406 def sample(self, population, k, *, counts=None): argument
459 if not isinstance(population, _Sequence):
460 if isinstance(population, _Set):
464 population = tuple(population)
467 n = len(population)
479 return [population[bisect(cum_counts, s)] for s in selections]
490 pool = list(population)
503 result[i] = population[j]
506 def choices(self, population, weights=None, *, cum_weights=None, k=1): argument
514 n = len(population)
[all …]
/third_party/boost/libs/math/example/
Dcardinal_cubic_b_spline_example.cpp59 std::vector<double> population{31443321, /* 1860 */ in main() local
73 …boost::math::interpolators::cardinal_cubic_b_spline<double> p(population.data(), population.size()… in main()
/third_party/boost/libs/scope_exit/test/
Dworld_seq.cpp21 size_t population(void) const { return persons_.size(); } in population() function
48 BOOST_TEST(w.population() == 1); in main()
Dworld_this_seq.cpp22 size_t population(void) const { return persons_.size(); } in population() function
46 BOOST_TEST(w.population() == 1); in main()
Dworld.cpp26 size_t population(void) const { return persons_.size(); } in population() function
53 BOOST_TEST(w.population() == 1); in main()
Dworld_this.cpp27 size_t population(void) const { return persons_.size(); } in population() function
53 BOOST_TEST(w.population() == 1); in main()
Dworld_tpl_seq.cpp22 size_t population(void) const { return persons_.size(); } in population() function
47 BOOST_TEST(w.population() == 1); in main()
Dworld_tpl.cpp27 size_t population(void) const { return persons_.size(); } in population() function
54 BOOST_TEST(w.population() == 1); in main()
/third_party/python/Doc/library/
Dstatistics.rst41 These functions calculate an average or typical value from a population
61 These functions calculate a measure of how much the population or sample
125 The sample mean gives an unbiased estimate of the true population mean,
127 ``mean(sample)`` converges on the true mean of the entire population. If
128 *data* represents the entire population rather than a sample, then
129 ``mean(data)`` is equivalent to calculating the true population mean μ.
387 Return the population standard deviation (the square root of the population
398 Return the population variance of *data*, a non-empty sequence or iterable
409 Use this function to calculate the variance from the entire population. To
446 When called with the entire population, this gives the population variance
[all …]

1234