Searched refs:mutate (Results 1 - 25 of 44) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
H A DMutationPolicy.java20 * Algorithm used to mutate a chrommosome.
32 Chromosome mutate(Chromosome original); method in interface:MutationPolicy
H A DBinaryMutation.java35 public Chromosome mutate(Chromosome original) { method in class:BinaryMutation
H A DRandomKeyMutation.java40 public Chromosome mutate(Chromosome original) { method in class:RandomKeyMutation
H A DGeneticAlgorithm.java161 getMutationPolicy().mutate(pair.getFirst()),
162 getMutationPolicy().mutate(pair.getSecond()));
/external/python/cpython2/Lib/test/
H A Dtest_mutants.py11 # code to do containee comparisons can call back into Python and mutate
30 # The dicts are global to make it easy to mutate tham from within functions.
40 mutate = 0 variable
42 # If global mutate is true, consider mutating a dict. May or may not
43 # mutate a dict even if mutate is true. If it does decide to mutate a
48 global mutate
49 if not mutate:
61 mutate
[all...]
H A Dtest_iterlen.py84 self.mutate()
121 self.mutate = d.pop
128 self.mutate = d.pop
135 self.mutate = d.popitem
142 self.mutate = d.popitem
149 self.mutate = d.popitem
156 self.mutate = d.pop
158 ## ------- Types that can mutate during iteration -------
H A Dtest_weakref.py1118 # Check that we can explicitly mutate the weak dict without
1358 mutate = False
1366 if mutate:
1389 mutate = True
/external/skia/src/core/
H A DSkRecord.cpp15 this->mutate(i, destroyer);
H A DSkRecord.h19 // Though an enterprising user may find calling alloc(), append(), visit(), and mutate() enough to
50 auto mutate(int i, F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) {
51 return fRecords[i].mutate(f);
83 this->mutate(i, destroyer);
142 // A typed pointer to some bytes in fAlloc. visit() and mutate() allow polymorphic dispatch.
174 auto mutate(F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) {
H A DSkRecordPattern.h151 if (record->mutate(i, *first)) {
162 if (!record->mutate(i, *first)) {
/external/skqp/src/core/
H A DSkRecord.cpp15 this->mutate(i, destroyer);
H A DSkRecord.h19 // Though an enterprising user may find calling alloc(), append(), visit(), and mutate() enough to
50 auto mutate(int i, F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) {
51 return fRecords[i].mutate(f);
83 this->mutate(i, destroyer);
142 // A typed pointer to some bytes in fAlloc. visit() and mutate() allow polymorphic dispatch.
174 auto mutate(F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) {
H A DSkRecordPattern.h151 if (record->mutate(i, *first)) {
162 if (!record->mutate(i, *first)) {
/external/python/cpython3/Lib/test/
H A Dtest_iterlen.py73 self.mutate()
106 self.mutate = d.pop
113 self.mutate = d.pop
120 self.mutate = d.popitem
127 self.mutate = d.popitem
134 self.mutate = d.popitem
141 self.mutate = d.pop
143 ## ------- Types that can mutate during iteration -------
H A Dtest_dict.py794 # dd isn't tracked right now, but it may mutate and therefore d
1039 def check_reentrant_insertion(self, mutate):
1045 mutate(d)
1053 def mutate(d): function in function:DictTest.test_reentrant_insertion
1055 self.check_reentrant_insertion(mutate)
1057 def mutate(d): function in function:DictTest.test_reentrant_insertion
1060 self.check_reentrant_insertion(mutate)
1062 def mutate(d): function in function:DictTest.test_reentrant_insertion
1065 self.check_reentrant_insertion(mutate)
H A Dtest_weakref.py1327 # Check that we can explicitly mutate the weak dict without
1616 mutate = False
1624 if mutate:
1647 mutate = True
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DGlideBitmapDrawable.java127 public Drawable mutate() { method in class:GlideBitmapDrawable
128 if (!mutated && super.mutate() == this) {
169 // We want to create a new Paint object so we can mutate it safely.
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowBitmapDrawable.java40 public Drawable mutate() { method in class:ShadowBitmapDrawable
/external/skia/tests/
H A DRecordTest.cpp50 record->mutate(i, *this);
/external/skqp/tests/
H A DRecordTest.cpp50 record->mutate(i, *this);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DOrderingTest.java861 verifyScenario(alteration.mutate(scenario), level + 1);
946 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
953 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
965 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
977 @Override <T> Scenario<?> mutate(final Scenario<T> scenario) {
994 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
1008 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
1023 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
1038 abstract <T> Scenario<?> mutate(Scenario<T> scenario); method in class:OrderingTest.OrderingMutation
/external/guava/guava-tests/test/com/google/common/collect/
H A DOrderingTest.java895 verifyScenario(alteration.mutate(scenario), level + 1);
980 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
987 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
999 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
1011 @Override <T> Scenario<?> mutate(final Scenario<T> scenario) {
1028 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
1042 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
1057 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
1072 abstract <T> Scenario<?> mutate(Scenario<T> scenario); method in class:OrderingTest.OrderingMutation
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowBitmapDrawableTest.java48 Drawable mutated = original.mutate();
/external/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h164 /// Allow subclasses to mutate the tag.
535 void mutate(unsigned Tag, unsigned Line, uint64_t SizeInBits, function in class:llvm::DIType
537 assert(isDistinct() && "Only distinct nodes can mutate");
783 void mutate(unsigned Tag, unsigned Line, unsigned RuntimeLang, function in class:llvm::DICompositeType
786 assert(isDistinct() && "Only distinct nodes can mutate");
787 assert(getRawIdentifier() && "Only ODR-uniqued nodes should mutate");
789 DIType::mutate(Tag, Line, SizeInBits, AlignInBits, OffsetInBits, Flags);
/external/llvm/lib/IR/
H A DDebugInfoMetadata.cpp294 // Only mutate CT if it's a forward declaration and the new operands aren't.
300 CT->mutate(Tag, Line, RuntimeLang, SizeInBits, AlignInBits, OffsetInBits,

Completed in 4337 milliseconds

12