/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/ |
H A D | AccessibleBarChartExample.java | 45 BarChart foods = new BarChart(shell, SWT.BORDER); in main() local 46 foods.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); in main() 47 foods.setTitle("Kids in my class: Favorite Food Survey"); in main() 48 foods.setColor(SWT.COLOR_BLUE); in main() 49 foods.addData("Pizza", 10); in main() 50 foods.addData("Hot Dogs", 5); in main() 51 foods.addData("Chicken Fingers", 2); in main() 52 foods.addData("French Fries", 3); in main() 53 foods.addData("Ice Cream", 4); in main()
|
/dports/math/py-or-tools/or-tools-9.2/ortools/linear_solver/samples/ |
H A D | StiglerDiet.cs | 120 List<Variable> foods = new List<Variable>(); in Main() 123 foods.Add(solver.MakeNumVar(0.0, double.PositiveInfinity, data[i].Name)); in Main() 136 constraint.SetCoefficient(foods[j], data[j].Nutrients[i]); in Main() 147 objective.SetCoefficient(foods[i], 1); in Main() 175 for (int i = 0; i < foods.Count; ++i) in Main() 177 if (foods[i].SolutionValue() > 0.0) in Main() 182 nutrientsResult[j] += data[i].Nutrients[j] * foods[i].SolutionValue(); in Main()
|
H A D | stigler_diet.cc | 241 std::vector<MPVariable*> foods; in StiglerDiet() local 244 foods.push_back(solver->MakeNumVar(0.0, infinity, commodity.name)); in StiglerDiet() 256 constraints.back()->SetCoefficient(foods[j], data[j].nutrients[i]); in StiglerDiet() 265 objective->SetCoefficient(foods[i], 1); in StiglerDiet() 290 if (foods[i]->solution_value() > 0.0) { in StiglerDiet() 292 << std::to_string(365. * foods[i]->solution_value()); in StiglerDiet() 295 data[i].nutrients[j] * foods[i]->solution_value(); in StiglerDiet()
|
H A D | stigler_diet.py | 233 foods = [solver.NumVar(0.0, solver.infinity(), item[0]) for item in data] 244 constraints[i].SetCoefficient(foods[j], item[i + 3]) 252 for food in foods: 274 for i, food in enumerate(foods):
|
H A D | StiglerDiet.java | 208 List<MPVariable> foods = new ArrayList<>(); in main() local 210 foods.add(solver.makeNumVar(0.0, infinity, (String) data.get(i)[0])); in main() 221 constraints[i].setCoefficient(foods.get(j), ((double[]) data.get(j)[3])[i]); in main() 231 objective.setCoefficient(foods.get(i), 1); in main() 255 for (int i = 0; i < foods.size(); ++i) { in main() 256 if (foods.get(i).solutionValue() > 0.0) { in main() 257 System.out.println((String) data.get(i)[0] + ": $" + 365 * foods.get(i).solutionValue()); in main() 259 nutrientsResult[j] += ((double[]) data.get(i)[3])[j] * foods.get(i).solutionValue(); in main()
|
/dports/databases/speedtables/speedtables-1.13.12/ctables/tests/ |
H A D | index-defaults.tcl | 26 set foods {pizza sugar toast waffles soup nuts} 38 $t set $i id [re $foods]$i color [re $colors] 40 $t set $i id [re $foods]$i flavor [re $flavors] 50 $t set $j id [re $foods]$i flavor [re $flavors] 56 $t set $j id [re $foods]$i flavor [re $flavors] 83 $t set $j id [re $foods]$i flavor [re $flavors] 99 $t set $j id [re $foods]$j color [re $colors] flavor [re $flavors]
|
H A D | index-compare.tcl | 19 set foods {pizza sugar toast waffles soup nuts} 31 $t set $i id [re $foods]$i color [re $colors] 33 $t set $i id [re $foods]$i flavor [re $flavors] 43 $t set $j id [re $foods]$i flavor [re $flavors] 49 $t set $j id [re $foods]$i flavor [re $flavors] 75 $t set $j id [re $foods]$i flavor [re $flavors] 91 $t set $j id [re $foods]$j color [re $colors] flavor [re $flavors]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/entity/creature/ |
H A D | BabyDragonTest.java | 39 List<String> foods = Arrays.asList("ham", "pizza", "meat"); field in BabyDragonTest 47 assertThat(drako.getFoodNames(), is(foods)); in testBabyDragon() 61 assertThat(drako.getFoodNames(), is(foods)); in testBabyDragonPlayer() 72 assertThat(drako.getFoodNames(), is(foods)); in testBabyDragonRPObjectPlayer()
|
/dports/textproc/py-nltk/nltk-3.4.1/nltk/test/ |
H A D | internals.doctest | 23 ... def batch_eat(self, foods): 24 ... return [self.eat(food) for food in foods] 38 ... def batch_eat(self, foods): 39 ... return ['yum' for food in foods] 89 ... def batch_eat(self, foods): 90 ... return ['yum' for food in foods]
|
/dports/misc/nut/nut-20.1/ |
H A D | README | 33 You may search this list of foods and view nutrient values for 34 different serving sizes; you may also rank foods in order of level 40 by creating them from the foods in the database. You can also add 41 foods from the information on commercial food labels. The program is 51 former personal options or retaining meal foods that do not exist in a 92 omega-6 and omega-3 for many foods. The omega-6 and omega-3 totals may be 93 overstated for foods which contain significant trans- fats, such as those
|
/dports/lang/coffeescript/coffeescript-2.6.1/documentation/examples/ |
H A D | array_comprehensions.coffee | 11 foods = ['broccoli', 'spinach', 'chocolate'] 12 eat food for food in foods when food isnt 'chocolate'
|
/dports/games/xnethack/xNetHack-xnh6.1/src/ |
H A D | mkobj.c | 859 const char* foods[10]; in mksobj() local 867 foods[idx++] = "beignet"; in mksobj() 876 foods[idx++] = "easter egg"; in mksobj() 885 foods[idx++] = "lollipop"; in mksobj() 895 foods[idx++] = "ma'amoul"; in mksobj() 896 foods[idx++] = "baklava"; in mksobj() 897 foods[idx++] = "kleicha"; in mksobj() 906 foods[idx++] = "matzo ball"; in mksobj() 909 foods[idx++] = "latke"; in mksobj() 910 foods[idx++] = "sufganiyah"; in mksobj() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/meson/test cases/d/9 features/ |
H A D | app.d | 10 auto foods = import ("food.txt").strip.split ("\n"); 11 return foods;
|
/dports/emulators/qemu60/qemu-6.0.0/meson/test cases/d/9 features/ |
H A D | app.d | 10 auto foods = import ("food.txt").strip.split ("\n"); in getMenu() local 11 return foods; in getMenu()
|
/dports/devel/meson/meson-0.60.3/test cases/d/9 features/ |
H A D | app.d | 10 auto foods = import ("food.txt").strip.split ("\n"); in getMenu() local 11 return foods; in getMenu()
|
/dports/emulators/qemu5/qemu-5.2.0/meson/test cases/d/9 features/ |
H A D | app.d | 10 auto foods = import ("food.txt").strip.split ("\n"); in getMenu() local 11 return foods; in getMenu()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/meson/test cases/d/9 features/ |
H A D | app.d | 10 auto foods = import ("food.txt").strip.split ("\n"); in getMenu() local 11 return foods; in getMenu()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/ |
H A D | Snippet029TreeViewerMultiListProperty.java | 166 Catalog foods = new Catalog("Foods"); in bindUI() local 170 foods.setCatalogs(catalogs); in bindUI() 174 foods.setItems(items); in bindUI() 178 catalogs.add(foods); in bindUI()
|
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Datasets/ |
H A D | sample.mod | 15 /* foods */ 21 /* nutritive value of foods (per dollar spent) */
|
/dports/lang/racket/racket-8.3/share/pkgs/realm/chapter14/ |
H A D | shared.rkt | 116 |<-----------------------------| `(state (,feaster1 ,feaster2) ,foods) 123 |<-----------------------------| `(state (,feaster1 ,feaster2) ,foods) 127 |<-----------------------------| `(state (,feaster1 ,feaster2) ,foods) 134 |<-----------------------------| `(state (,feaster1 ,feaster2) ,foods)
|
/dports/security/keybase/client-v5.7.1/shared/teams/common/__mocks__/ |
H A D | channel-hooks.tsx | 13 ['4', {channelname: 'sandwiches', description: 'the worst foods'}], 14 ['5', {channelname: 'soups', description: 'the best foods'}],
|
/dports/math/jags/classic-bugs/vol2/alli/ |
H A D | alli.bug | 50 for (k in 1:K) { # loop around foods 59 for (k in 1:K) { # loop around foods 71 for (k in 1:K) { # loop around foods
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/core/rp/achievement/factory/ |
H A D | ProductionAchievementFactory.java | 40 final String[] foods = foodlist.toArray(new String[foodlist.size()]); in createAchievements() local 49 new PlayerProducedNumberOfItemsCondition(1, foods), in createAchievements()
|
/dports/math/glpk/glpk-5.0/examples/ |
H A D | stigler.mod | 6 77 foods should be eaten on a daily basis so that the man's intake of 14 to foods such as evaporated milk, cabbage, dried navy beans, and beef 28 would have to consume 77 different foods in order to fulfill the 31 agility," Stigler was able to eliminate 62 of the foods from the 32 original 77 (these foods were removed based because they lacked 35 foods to arrive at a cost-minimizing solution to his question. 39 $561.43. The specific combination of foods and quantities is as
|
/dports/japanese/rogue_s/rogue_s/ |
H A D | save.c | 25 extern short foods; 127 r_write(fp, (char *) &foods, sizeof(foods)); 239 r_read(fp, (char *) &foods, sizeof(foods));
|