Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 2238) sorted by relevance

12345678910>>...90

/external/ImageMagick/PerlMagick/demo/
Ddemo.pl16 $model=Image::Magick->new();
17 $x=$model->ReadImage('model.gif');
19 $model->Label('Magick');
20 $model->Set(background=>'white');
34 $example=$model->Clone();
40 $example=$model->Clone();
46 $example=$model->Clone();
52 $example=$model->Clone();
58 $example=$model->Clone();
64 $example=$model->Clone();
[all …]
/external/ImageMagick/www/source/
Dexamples.pl16 $model=Image::Magick->new();
17 $x=$model->ReadImage('model.gif');
19 $model->Label('Magick');
20 $model->Set(background=>'white');
34 $example=$model->Clone();
40 $example=$model->Clone();
46 $example=$model->Clone();
52 $example=$model->Clone();
58 $example=$model->Clone();
64 $example=$model->Clone();
[all …]
/external/libtextclassifier/tests/
Dtext-classification-model_test.cc48 std::unique_ptr<TextClassificationModel> model( in TEST() local
52 EXPECT_EQ(model->SuggestSelection( in TEST()
58 EXPECT_EQ(model->SuggestSelection("350 Third Street, Cambridge", {0, 27}), in TEST()
62 EXPECT_EQ(std::make_pair(0, 1), model->SuggestSelection("a", {0, 1})); in TEST()
65 EXPECT_EQ(std::make_pair(0, 4), model->SuggestSelection("asdf", {0, 4})); in TEST()
71 std::unique_ptr<TextClassificationModel> model( in TEST() local
76 model->SuggestSelection("350 Third Street, Cambridge", {0, 3})); in TEST()
78 model->SuggestSelection("350 Third Street, Cambridge", {4, 9})); in TEST()
80 model->SuggestSelection("350 Third Street, Cambridge", {10, 16})); in TEST()
82 model->SuggestSelection("a\nb\nc\n350 Third Street, Cambridge", in TEST()
[all …]
/external/clang/utils/
Dmodfuzz.py22 def valid(self, model): argument
24 if i not in model.decls:
27 if i in model.decls:
31 def apply(self, model, name): argument
33 model.decls[i] = True
34 model.source += self.text % {'name': name}
90 model = CodeModel()
94 for d in mutations(model):
95 d(model)
97 if not model.fails():
[all …]
/external/ImageMagick/Magick++/demo/
Ddemo.cpp45 Image model( srcdir + "model.miff" ); in main() local
46 model.label( "Magick++" ); in main()
47 model.borderColor( "black" ); in main()
48 model.backgroundColor( "black" ); in main()
65 Image example = model; in main()
84 example = model; in main()
95 example = model; in main()
101 example = model; in main()
107 example = model; in main()
114 example = model; in main()
[all …]
/external/libtextclassifier/
DAndroid.mk114 LOCAL_MODULE := textclassifier.langid.model
117 LOCAL_SRC_FILES := ./models/textclassifier.langid.model
126 LOCAL_MODULE := textclassifier.smartselection.ar.model
129 LOCAL_SRC_FILES := ./models/textclassifier.smartselection.ar.model
134 LOCAL_MODULE := textclassifier.smartselection.de.model
137 LOCAL_SRC_FILES := ./models/textclassifier.smartselection.de.model
142 LOCAL_MODULE := textclassifier.smartselection.en.model
145 LOCAL_SRC_FILES := ./models/textclassifier.smartselection.en.model
150 LOCAL_MODULE := textclassifier.smartselection.es.model
153 LOCAL_SRC_FILES := ./models/textclassifier.smartselection.es.model
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DModelCache.java1 package com.bumptech.glide.load.model;
43 public B get(A model, int width, int height) { in get() argument
44 ModelKey<A> key = ModelKey.get(model, width, height); in get()
58 public void put(A model, int width, int height, B value) { in put() argument
59 ModelKey<A> key = ModelKey.get(model, width, height); in put()
69 private A model; field in ModelCache.ModelKey
71 static <A> ModelKey<A> get(A model, int width, int height) { in get() argument
78 modelKey.init(model, width, height); in get()
84 private void init(A model, int width, int height) { in init() argument
85 this.model = model; in init()
[all …]
/external/autotest/frontend/
Ddb_router.py43 def _should_be_in_server_db(self, model): argument
50 return model._meta.db_table.startswith('server')
53 def _should_be_in_global(self, model): argument
60 return model._meta.db_table.startswith('tko_')
63 def db_for_read(self, model, **hints): argument
72 if self._should_be_in_server_db(model):
74 if self._should_be_in_global(model):
79 def db_for_write(self, model, **hints): argument
88 if self._should_be_in_server_db(model):
90 if self._should_be_in_global(model):
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DHttpUrlGlideUrlLoader.java1 package com.bumptech.glide.load.model.stream;
7 import com.bumptech.glide.load.model.GenericLoaderFactory;
8 import com.bumptech.glide.load.model.GlideUrl;
9 import com.bumptech.glide.load.model.ModelCache;
10 import com.bumptech.glide.load.model.ModelLoader;
11 import com.bumptech.glide.load.model.ModelLoaderFactory;
49 public DataFetcher<InputStream> getResourceFetcher(GlideUrl model, int width, int height) { in getResourceFetcher() argument
51 GlideUrl url = model; in getResourceFetcher()
53 url = modelCache.get(model, 0, 0); in getResourceFetcher()
55 modelCache.put(model, 0, 0, model); in getResourceFetcher()
[all …]
DBaseGlideUrlLoader.java1 package com.bumptech.glide.load.model.stream;
8 import com.bumptech.glide.load.model.GlideUrl;
9 import com.bumptech.glide.load.model.ModelCache;
10 import com.bumptech.glide.load.model.ModelLoader;
42 public DataFetcher<InputStream> getResourceFetcher(T model, int width, int height) { in getResourceFetcher() argument
45 result = modelCache.get(model, width, height); in getResourceFetcher()
49 String stringURL = getUrl(model, width, height); in getResourceFetcher()
57 modelCache.put(model, width, height, result); in getResourceFetcher()
72 protected abstract String getUrl(T model, int width, int height); in getUrl() argument
/external/glide/library/src/main/java/com/bumptech/glide/
DRequestManager.java11 import com.bumptech.glide.load.model.ModelLoader;
12 import com.bumptech.glide.load.model.file_descriptor.FileDescriptorModelLoader;
13 import com.bumptech.glide.load.model.stream.MediaStoreStreamLoader;
14 import com.bumptech.glide.load.model.stream.StreamByteArrayLoader;
15 import com.bumptech.glide.load.model.stream.StreamModelLoader;
497 public DrawableTypeRequest<byte[]> load(byte[] model, final String id) { in load() argument
498 return (DrawableTypeRequest<byte[]>) load(model).signature(new StringSignature(id)); in load()
509 public DrawableTypeRequest<byte[]> load(byte[] model) { in load() argument
510 return (DrawableTypeRequest<byte[]>) fromBytes().load(model); in load()
546 public <T> DrawableTypeRequest<T> load(T model) { in load() argument
[all …]
/external/autotest/server/cros/
Dchaos_dynamic_ap_list.conf10 model = linksys e2100l
23 model = linksys ea3500
36 model = linksys ea3500
58 model = linksys wrt54g2 1.5
68 model = wrt54g2
81 model = linksys e4200
94 model = linksys e4200
107 model = linksys e2700
129 model = linksys e2500
161 model = linksys wrt160nv3
[all …]
Drf_switch_1_ap_box_1_ap_list.conf13 model = touchp5
26 model = touchp5
39 model = dir842
52 model = dir842
65 model = wnr3500lv2
78 model = rtac66u
91 model = rtac66u
104 model = c2600
117 model = c2600
130 model = tew825dru
[all …]
Drf_switch_1_ap_box_2_ap_list.conf13 model = r6220
26 model = r6220
39 model = archerc9
52 model = archerc9
65 model = dir817lw
78 model = dir817lw
91 model = tew827dru
104 model = tew827dru
117 model = ea9200
130 model = ea9200
[all …]
Drf_switch_1_ap_box_3_ap_list.conf13 model = archerc5
26 model = archerc5
39 model = rtac55u
52 model = rtac55u
65 model = ea6500
78 model = ea6500
91 model = r7800
104 model = r7800
117 model = rt1900ac
130 model = rt1900ac
[all …]
Dcasey_chromeos7_ap_list.conf13 model = wnr2000 v3
26 model = wr1043nd
39 model = e3200
52 model = e3200
66 model = wrt310n v2
81 model = n750
94 model = wzr 300hp
111 model = wnr612 v3
124 model = wpn824
137 model = wnr3500l v2
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/
DDynamicTableModelTest.java40 TableModel model = new DynamicTableModel(5, 5, TableOrder.COLUMN_MAJOR); in testConstructor() local
48 DynamicTableModel model = new DynamicTableModel(5, 5); in testGetCellRect() local
50 RectF cellRect = model.getCellRect(tableRect, 10); in testGetCellRect()
54 model = new DynamicTableModel(5, 0); in testGetCellRect()
55 cellRect = model.getCellRect(tableRect, 10); in testGetCellRect()
59 model = new DynamicTableModel(0, 5); in testGetCellRect()
60 cellRect = model.getCellRect(tableRect, 10); in testGetCellRect()
65 TableModel model = new DynamicTableModel(2, 2); in testIterator() local
70 Iterator<RectF> it = model.getIterator(tableRect, 10); in testIterator()
80 model = new DynamicTableModel(2, 0); in testIterator()
[all …]
/external/llvm/utils/
Dschedcover.py16 def add(instr, model, resource=None): argument
20 entry[model] = resource
21 models.add(model)
39 for model in ordered_models:
40 if not model: model = "default"
41 sys.stdout.write(", {}".format(model))
46 for model in ordered_models:
47 if model in mapping:
48 sys.stdout.write(", {}".format(mapping[model]))
/external/testng/src/main/java/org/testng/mustache/
DMustache.java15 String run(String template, Model model) throws IOException { in run() argument
43 Value value = model.resolveValue(conditionalVariable); in run()
54 model.push(conditionalVariable, o); in run()
55 String r = new Mustache().run(subTemplate, model); in run()
56 model.popSubModel(); in run()
57 chunks.add(new StringChunk(model, r)); in run()
63 model.push(conditionalVariable, v); in run()
64 String r = new Mustache().run(subTemplate, model); in run()
65 model.popSubModel(); in run()
66 chunks.add(new StringChunk(model, r)); in run()
[all …]
/external/llvm/test/CodeGen/SPARC/
Dglobals.ll1 ; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-pref…
2 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-pref…
3 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-pref…
4 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-pref…
5 ; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-pref…
6 ; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-pref…
Dfunc-addr.ll1 ; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-pref…
2 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-pref…
3 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-pref…
4 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-pref…
5 ; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-pref…
6 ; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-pref…
Dconstpool.ll1 ; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-pref…
2 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-pref…
3 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-pref…
4 ; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-pref…
5 ; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-pref…
6 ; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-pref…
/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeMapTest.java238 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangesAlone() local
239 putModel(model, range, 1); in testAllRangesAlone()
242 verify(model, test); in testAllRangesAlone()
249 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangePairs() local
250 putModel(model, range1, 1); in testAllRangePairs()
251 putModel(model, range2, 2); in testAllRangePairs()
255 verify(model, test); in testAllRangePairs()
264 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangeTriples() local
265 putModel(model, range1, 1); in testAllRangeTriples()
266 putModel(model, range2, 2); in testAllRangeTriples()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DFixedTableModel.java55 private FixedTableModel model; field in FixedTableModel.FixedTableModelIterator
60 protected FixedTableModelIterator(FixedTableModel model, RectF tableRect, int numElements) { in FixedTableModelIterator() argument
61 this.model = model; in FixedTableModelIterator()
67 tableRect.left + model.getCellWidth(), in FixedTableModelIterator()
68 tableRect.top + model.getCellHeight()); in FixedTableModelIterator()
78 return lastRect.bottom + model.getCellHeight() > tableRect.height(); in isColumnFinished()
82 return lastRect.right + model.getCellWidth() > tableRect.width(); in isRowFinished()
95 switch (model.getOrder()) { in next()
/external/llvm/test/CodeGen/Mips/Fast-ISel/
Dcheck-disabled-mcpus.ll1 ; RUN: llc -march=mips -mcpu=mips2 -O0 -relocation-model=pic \
3 ; RUN: llc -march=mips -mcpu=mips3 -O0 -relocation-model=pic -target-abi n64 \
5 ; RUN: llc -march=mips -mcpu=mips4 -O0 -relocation-model=pic -target-abi n64 \
8 ; RUN: llc -march=mips -mcpu=mips32r6 -O0 -relocation-model=pic \
10 ; RUN: llc -march=mips -mcpu=mips32r2 -mattr=+micromips -O0 -relocation-model=pic \
13 ; RUN: llc -march=mips -mcpu=mips64 -O0 -relocation-model=pic -target-abi n64 \
15 ; RUN: llc -march=mips -mcpu=mips64r2 -O0 -relocation-model=pic -target-abi n64 \
17 ; RUN: llc -march=mips -mcpu=mips64r3 -O0 -relocation-model=pic -target-abi n64 \
19 ; RUN: llc -march=mips -mcpu=mips64r5 -O0 -relocation-model=pic -target-abi n64 \
21 ; RUN: llc -march=mips -mcpu=mips32r6 -O0 -relocation-model=pic \

12345678910>>...90