Home
last modified time | relevance | path

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

12345678910>>...85

/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/opencv/cvaux/src/
Dcvbgfg_codebook.cpp45 CvBGCodeBookModel* model = (CvBGCodeBookModel*)cvAlloc( sizeof(*model) ); in cvCreateBGCodeBookModel() local
46 memset( model, 0, sizeof(*model) ); in cvCreateBGCodeBookModel()
47 model->cbBounds[0] = model->cbBounds[1] = model->cbBounds[2] = 10; in cvCreateBGCodeBookModel()
48 model->modMin[0] = 3; in cvCreateBGCodeBookModel()
49 model->modMax[0] = 10; in cvCreateBGCodeBookModel()
50 model->modMin[1] = model->modMin[2] = 1; in cvCreateBGCodeBookModel()
51 model->modMax[1] = model->modMax[2] = 1; in cvCreateBGCodeBookModel()
52 model->storage = cvCreateMemStorage(); in cvCreateBGCodeBookModel()
54 return model; in cvCreateBGCodeBookModel()
57 void cvReleaseBGCodeBookModel( CvBGCodeBookModel** model ) in cvReleaseBGCodeBookModel() argument
[all …]
Dcvbgfg_acmmm2003.cpp69 static void CV_CDECL icvReleaseFGDStatModel( CvFGDStatModel** model );
71 CvFGDStatModel* model );
192 CvFGDStatModel* model = *_model; in icvReleaseFGDStatModel() local
193 if( model->pixel_stat ) in icvReleaseFGDStatModel()
195 cvFree( &model->pixel_stat[0].ctable ); in icvReleaseFGDStatModel()
196 cvFree( &model->pixel_stat[0].cctable ); in icvReleaseFGDStatModel()
197 cvFree( &model->pixel_stat ); in icvReleaseFGDStatModel()
200 cvReleaseImage( &model->Ftd ); in icvReleaseFGDStatModel()
201 cvReleaseImage( &model->Fbd ); in icvReleaseFGDStatModel()
202 cvReleaseImage( &model->foreground ); in icvReleaseFGDStatModel()
[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.mk74 LOCAL_REQUIRED_MODULES := textclassifier.langid.model
75 LOCAL_REQUIRED_MODULES += textclassifier.smartselection.en.model
115 LOCAL_MODULE := textclassifier.langid.model
118 LOCAL_SRC_FILES := ./models/textclassifier.langid.model
127 LOCAL_MODULE := textclassifier.smartselection.ar.model
130 LOCAL_SRC_FILES := ./models/textclassifier.smartselection.ar.model
135 LOCAL_MODULE := textclassifier.smartselection.de.model
138 LOCAL_SRC_FILES := ./models/textclassifier.smartselection.de.model
143 LOCAL_MODULE := textclassifier.smartselection.en.model
146 LOCAL_SRC_FILES := ./models/textclassifier.smartselection.en.model
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dgpu_timeline_unittest.py9 from telemetry.timeline import model as model_module
64 def GetResults(self, metric, model, renderer_thread, interaction_records): argument
66 metric.AddResults(model, renderer_thread, interaction_records, results)
71 model = model_module.TimelineModel()
72 test_thread = model.GetOrCreateProcess(1).GetOrCreateThread(2)
75 model.FinalizeImport()
78 results = self.GetResults(metric, model=model, renderer_thread=test_thread,
103 model = model_module.TimelineModel()
104 test_thread = model.GetOrCreateProcess(1).GetOrCreateThread(2)
107 model.FinalizeImport()
[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/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 …]
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/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/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/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/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/llvm/test/CodeGen/SPARC/
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…
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…
/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.runtime.compatibility_3.2.100.v20100505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/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()

12345678910>>...85