Home
last modified time | relevance | path

Searched full:generation (Results 1 – 25 of 7638) sorted by relevance

12345678910>>...306

/external/toolchain-utils/bestflags/
Dsteering.py4 """The framework stage that produces the next generation of tasks to run.
15 """The core method template that produces the next generation of tasks to run.
17 This method waits for the results of the tasks from the previous generation.
19 next generation of tasks.
21 The main logic of producing the next generation from previous generation is
25 in the concrete subclasses of the class Generation to produce the next
26 application-specific generation. The steering method invokes the 'Next'
27 method, produces the next generation and submits the tasks in this generation
43 # referenced to as ready tasks. Once there is no pending generation, the
53 for generation in generations:
[all …]
Dgeneration.py4 """A generation of a set of tasks.
8 This module contains the base generation class. This class contains the tasks of
9 this current generation. The generation will not evolve to the next generation
10 until all the tasks in this generation are done executing. It also contains a
11 set of tasks that could potentially be used to generate the next generation,
27 class Generation(object): class
28 """A generation of a framework run.
30 The base class of generation. Concrete subclasses, e.g., GAGeneration should
36 """Set up the tasks set of this generation.
41 next generation.
[all …]
Dsteering_test.py14 from generation import Generation
26 # The number of tasks to be put in each generation to be tested.
34 class MockGeneration(Generation):
35 """This class emulates an actual generation.
46 next_generations: A list of generations as the next generation of the
47 current generation.
49 Generation.__init__(self, tasks, None)
65 generation. The steering algorithm should send all the tasks to the next stage
66 and should terminate once there is no pending generation. A generation is
85 # Generate a sequence of generations to be tested. Each generation will
[all …]
Dhill_climb_best_neighbor.py17 from generation import Generation
21 class HillClimbingBestBranch(Generation):
29 """Set up the tasks set of this generation.
39 Generation.__init__(self, exe_set, parents)
49 """True if this generation has improvement over its parent generation.
51 If this generation improves upon the previous generation, this method finds
52 out the best task in this generation and sets it to _next_task for the
68 # The first generation may not have parent generation.
80 """Calculate the next generation.
83 generation. The neighbors of b will be the set of tasks to be evaluated
Dgeneration_test.py4 """Generation unittest.
14 from generation import Generation
21 # The number of tasks to be put in a generation to be tested.
30 """This class test the Generation class.
32 Given a set of tasks in the generation, if there is any task that is pending,
39 Produce a generation with a set of tasks. Set the cost of the task one by
49 # The tasks for the generation to be tested.
52 gen = Generation(set(tasks), None)
58 # The Done method of the Generation should return false before all the tasks
63 # Mark a task as done by calling the UpdateTask method of the generation.
[all …]
Dgenetic_algorithm.py16 from generation import Generation
148 class GAGeneration(Generation):
156 # Number of tasks in each generation.
179 num_chromosomes: Number of tasks in each generation.
197 parents: A set of tasks from which this new generation is produced. This
204 Generation.__init__(self, tasks, parents)
208 """True if this generation has improvement upon its parent generation."""
218 # parent generation.
235 """Calculate the next generation.
237 Generate a new generation from the a set of tasks. This set contains the
[all …]
/external/perfmark/impl/src/main/java/io/perfmark/impl/
DMark.java33 private final long generation; field in Mark
45 public static Mark taskStart(long generation, long nanoTime, String name) { in taskStart() argument
46 return new Mark(nanoTime, N0, N0, name, S0, S0, generation, Operation.TASK_START_N1S1); in taskStart()
49 public static Mark taskStart(long generation, long nanoTime, String name, String subName) { in taskStart() argument
50 return new Mark(nanoTime, N0, N0, name, subName, S0, generation, Operation.TASK_START_N1S2); in taskStart()
53 public static Mark taskEnd(long generation, long nanoTime) { in taskEnd() argument
54 return new Mark(nanoTime, N0, N0, S0, S0, S0, generation, Operation.TASK_END_N1S0); in taskEnd()
57 public static Mark taskEnd(long generation, long nanoTime, String name) { in taskEnd() argument
58 return new Mark(nanoTime, N0, N0, name, S0, S0, generation, Operation.TASK_END_N1S1); in taskEnd()
61 public static Mark taskEnd(long generation, long nanoTime, String name, String subName) { in taskEnd() argument
[all …]
DGenerator.java20 * A Generator keeps track of what generation the PerfMark library is on. A generation is a way to
22 * PerfMark. Each time the library is enabled, a new generation is started and associated with all
45 * The number of reserved bits at the bottom of the generation. All generations should be
51 * previous failure to set the generation. It can also be used to indicate the generation count
59 * Sets the current generation count. This should be eventually noticeable for callers of {@link
63 * @param generation the generation id, shifted left by {@link #GEN_OFFSET}.
65 public abstract void setGeneration(long generation); in setGeneration() argument
68 * Gets the current generation, shifted left by {@link #GEN_OFFSET}. An odd number means the
71 * @return the current generation or {@link #FAILURE}.
76 * Returns the approximate cost to change the generation.
[all …]
/external/python/cpython3/Doc/library/
Dgc.rst41 .. function:: collect(generation=2)
43 With no arguments, run a full collection. The optional argument *generation*
44 may be an integer specifying which generation to collect (from 0 to 2). A
45 :exc:`ValueError` is raised if the generation number is invalid. The sum of
49 whenever a full collection or collection of the highest generation (2)
69 .. function:: get_objects(generation=None)
72 returned. If *generation* is not ``None``, return only the objects tracked by
73 the collector that are in that generation.
76 New *generation* parameter.
78 .. audit-event:: gc.get_objects generation gc.get_objects
[all …]
/external/sdv/vsomeip/third_party/boost/numeric/odeint/include/boost/numeric/odeint/stepper/
Dgeneration.hpp3 boost/numeric/odeint/stepper/generation.hpp
6 Forward header for the factory functions. Includes all files from the generation directory.
21 #include <boost/numeric/odeint/stepper/generation/make_controlled.hpp>
22 #include <boost/numeric/odeint/stepper/generation/make_dense_output.hpp>
24 #include <boost/numeric/odeint/stepper/generation/generation_controlled_runge_kutta.hpp>
25 #include <boost/numeric/odeint/stepper/generation/generation_dense_output_runge_kutta.hpp>
27 #include <boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp>
28 #include <boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp>
29 #include <boost/numeric/odeint/stepper/generation/generation_runge_kutta_dopri5.hpp>
30 #include <boost/numeric/odeint/stepper/generation/generation_runge_kutta_fehlberg78.hpp>
[all …]
/external/skia/src/gpu/ganesh/gl/
DGrGLGLSL.cpp18 bool GrGLGetGLSLGeneration(const GrGLDriverInfo& info, SkSL::GLSLGeneration* generation) { in GrGLGetGLSLGeneration() argument
19 SkASSERT(generation); in GrGLGetGLSLGeneration()
26 // below will further pin the GLSL generation correctly. in GrGLGetGLSLGeneration()
38 *generation = SkSL::GLSLGeneration::k420; in GrGLGetGLSLGeneration()
40 *generation = SkSL::GLSLGeneration::k400; in GrGLGetGLSLGeneration()
42 *generation = SkSL::GLSLGeneration::k330; in GrGLGetGLSLGeneration()
44 *generation = SkSL::GLSLGeneration::k150; in GrGLGetGLSLGeneration()
46 *generation = SkSL::GLSLGeneration::k140; in GrGLGetGLSLGeneration()
48 *generation = SkSL::GLSLGeneration::k130; in GrGLGetGLSLGeneration()
50 *generation = SkSL::GLSLGeneration::k110; in GrGLGetGLSLGeneration()
[all …]
/external/sdv/vsomeip/third_party/boost/fusion/include/boost/fusion/container/
Dgeneration.hpp11 #include <boost/fusion/container/generation/make_deque.hpp>
12 #include <boost/fusion/container/generation/deque_tie.hpp>
13 #include <boost/fusion/container/generation/cons_tie.hpp>
14 #include <boost/fusion/container/generation/ignore.hpp>
15 #include <boost/fusion/container/generation/list_tie.hpp>
16 #include <boost/fusion/container/generation/make_cons.hpp>
17 #include <boost/fusion/container/generation/make_list.hpp>
18 #include <boost/fusion/container/generation/make_map.hpp>
19 #include <boost/fusion/container/generation/map_tie.hpp>
20 #include <boost/fusion/container/generation/make_vector.hpp>
[all …]
/external/google-breakpad/docs/
Dwindows_client_integration.md9 ## Integration of minidump-generation
33 generation is used
42 * A pipe name that can be used to communicate with a crash generation server
44 along with the minidump when using OOP generation
47 app that uses OOP generation.
49 ## OOP Minidump Generation
51 For out of process minidump generation, more work is needed. If you look inside
53 `crash_generation_server.h`. This file is the interface for a crash generation
56 crash generation server is left up to you, however.
58 ## Build process specifics(symbol generation, upload)
[all …]
/external/webrtc/test/fuzzers/corpora/sdp-corpus/
Dunittest-1.sdp9 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host generation 2
10 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1235 typ host generation 2
11 a=candidate:a0+B/2 1 udp 2130706432 ::1 1238 typ host generation 2
12 a=candidate:a0+B/2 2 udp 2130706432 ::1 1239 typ host generation 2
13 …ate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 generation 2
14 …ate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 generation 2
32 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1236 typ host generation 2
33 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1237 typ host generation 2
34 a=candidate:a0+B/2 2 udp 2130706432 ::1 1240 typ host generation 2
35 a=candidate:a0+B/2 1 udp 2130706432 ::1 1241 typ host generation 2
[all …]
Dunittest-8.sdp9 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host generation 2
10 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1235 typ host generation 2
11 a=candidate:a0+B/2 1 udp 2130706432 ::1 1238 typ host generation 2
12 a=candidate:a0+B/2 2 udp 2130706432 ::1 1239 typ host generation 2
13 …ate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 generation 2
14 …ate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 generation 2
36 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1236 typ host generation 2
37 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1237 typ host generation 2
38 a=candidate:a0+B/2 2 udp 2130706432 ::1 1240 typ host generation 2
39 a=candidate:a0+B/2 1 udp 2130706432 ::1 1241 typ host generation 2
[all …]
Dunittest-9.sdp9 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1234 typ host generation 2
10 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1235 typ host generation 2
11 a=candidate:a0+B/2 1 udp 2130706432 ::1 1238 typ host generation 2
12 a=candidate:a0+B/2 2 udp 2130706432 ::1 1239 typ host generation 2
13 …ate:a0+B/3 1 udp 2130706432 74.125.127.126 2345 typ srflx raddr 192.168.1.5 rport 2346 generation 2
14 …ate:a0+B/3 2 udp 2130706432 74.125.127.126 2347 typ srflx raddr 192.168.1.5 rport 2348 generation 2
37 a=candidate:a0+B/1 2 udp 2130706432 192.168.1.5 1236 typ host generation 2
38 a=candidate:a0+B/1 1 udp 2130706432 192.168.1.5 1237 typ host generation 2
39 a=candidate:a0+B/2 2 udp 2130706432 ::1 1240 typ host generation 2
40 a=candidate:a0+B/2 1 udp 2130706432 ::1 1241 typ host generation 2
[all …]
/external/python/cpython3/Modules/
Dgcmodule.c71 generation: int(c_default="NUM_GENERATIONS - 1") = 2
76 may be an integer specifying which generation to collect. A ValueError
77 is raised if the generation number is invalid.
83 gc_collect_impl(PyObject *module, int generation) in gc_collect_impl() argument
88 if (generation < 0 || generation >= NUM_GENERATIONS) { in gc_collect_impl()
89 _PyErr_SetString(tstate, PyExc_ValueError, "invalid generation"); in gc_collect_impl()
93 return _PyGC_Collect(tstate, generation, _Py_GC_REASON_MANUAL); in gc_collect_impl()
303 generation: Py_ssize_t(accept={int, NoneType}, c_default="-1") = None
304 Generation to extract the objects from.
308 If generation is not None, return only the objects tracked by the collector
[all …]
/external/coreboot/util/inteltool/
Dinteltool.c83 "0th generation (Nehalem family) Core Processor" },
85 "1st generation (Westmere family) Core Processor" },
87 "1st generation (Westmere family) Core Processor" },
89 "1st generation (Westmere family) Core Processor" },
91 "2nd generation (Sandy Bridge family) Core Processor (Desktop)" },
93 "2nd generation (Sandy Bridge family) Core Processor (Mobile)" },
95 "2nd generation (Sandy Bridge family) Core Processor (Xeon E3)" },
97 "3rd generation (Ivy Bridge family) Core Processor (Desktop)" },
99 "3rd generation (Ivy Bridge family) Core Processor (Mobile)" },
101 "3rd generation (Ivy Bridge family) Core Processor (Xeon E3 v2)" },
[all …]
/external/python/cpython3/Modules/clinic/
Dgcmodule.c.h77 "collect($module, /, generation=2)\n"
83 "may be an integer specifying which generation to collect. A ValueError\n"
84 "is raised if the generation number is invalid.\n"
92 gc_collect_impl(PyObject *module, int generation);
107 .ob_item = { &_Py_ID(generation), }, in gc_collect()
116 static const char * const _keywords[] = {"generation", NULL}; in gc_collect()
125 int generation = NUM_GENERATIONS - 1; in gc_collect() local
135 generation = PyLong_AsInt(args[0]); in gc_collect()
136 if (generation == -1 && PyErr_Occurred()) { in gc_collect()
140 _return_value = gc_collect_impl(module, generation); in gc_collect()
[all …]
/external/rust/android-crates-io/crates/mls-rs/src/group/
Dsecret_tree.rs132 generation: u32, in message_key_generation()
138 .get_message_key(cipher_suite_provider, generation) in message_key_generation()
143 .get_message_key(cipher_suite_provider, generation) in message_key_generation()
259 generation: u32, in message_key_generation()
264 .message_key_generation(cipher_suite, generation, key_type) in message_key_generation()
294 pub(crate) generation: u32, field
302 .field("generation", &self.generation) in fmt()
321 /// Generation of this key within the key schedule.
323 pub fn generation(&self) -> u32 { in generation() method
324 self.generation in generation()
[all …]
/external/rust/android-crates-io/crates/managed/src/
Dslotmap.rs59 /// The source of generation ids.
60 /// Generation ids are a positive, non-zero value.
61 generation: Generation, field
83 generation: Generation, field
93 /// The generation counter.
97 struct Generation(isize); struct
118 .generation().ok()?; in get()
120 if slot_generation != index.generation { in get()
132 .generation().ok()?; in get_mut()
134 if slot_generation != index.generation { in get_mut()
[all …]
/external/tcpdump/tests/
Dpimv2_dm-v.out5 Generation ID Option (20), length 4, Value: 0xd76852f6
12 Generation ID Option (20), length 4, Value: 0xd767b714
27 Generation ID Option (20), length 4, Value: 0xd76852f6
34 Generation ID Option (20), length 4, Value: 0xd767b714
41 Generation ID Option (20), length 4, Value: 0xd76852f6
48 Generation ID Option (20), length 4, Value: 0xd767b714
55 Generation ID Option (20), length 4, Value: 0xd76852f6
62 Generation ID Option (20), length 4, Value: 0xd767b714
69 Generation ID Option (20), length 4, Value: 0xd76852f6
76 Generation ID Option (20), length 4, Value: 0xd767b714
[all …]
Dpimv2_sm-v.out5 Generation ID Option (20), length 4, Value: 0xd76fc4dc
12 Generation ID Option (20), length 4, Value: 0xd77051ab
25 Generation ID Option (20), length 4, Value: 0xd76fc4dc
32 Generation ID Option (20), length 4, Value: 0xd77051ab
39 Generation ID Option (20), length 4, Value: 0xd76fc4dc
46 Generation ID Option (20), length 4, Value: 0xd77051ab
59 Generation ID Option (20), length 4, Value: 0xd76fc4dc
66 Generation ID Option (20), length 4, Value: 0xd77051ab
75 Generation ID Option (20), length 4, Value: 0xd76fc4dc
82 Generation ID Option (20), length 4, Value: 0xd77051ab
[all …]
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Dfork_detect_test.cc51 uint64_t generation = CRYPTO_get_fork_generation(); in CheckGenerationInChild() local
52 if (generation != expected) { in CheckGenerationInChild()
53 fprintf(stderr, "%s generation (#1) was %" PRIu64 ", wanted %" PRIu64 ".\n", in CheckGenerationInChild()
54 name, generation, expected); in CheckGenerationInChild()
58 // The generation should be stable. in CheckGenerationInChild()
59 generation = CRYPTO_get_fork_generation(); in CheckGenerationInChild()
60 if (generation != expected) { in CheckGenerationInChild()
61 fprintf(stderr, "%s generation (#2) was %" PRIu64 ", wanted %" PRIu64 ".\n", in CheckGenerationInChild()
62 name, generation, expected); in CheckGenerationInChild()
104 // The fork generation should be stable. in TEST()
[all …]
/external/rust/android-crates-io/crates/sharded-slab/src/page/
Dslot.rs31 pub(crate) struct Generation<C = cfg::DefaultConfig> { struct
46 struct LifecycleGen<C>(Generation<C>); argument
56 impl<C: cfg::Config> Pack<C> for Generation<C> { implementation
57 /// Use all the remaining bits in the word for the generation counter, minus
75 impl<C: cfg::Config> Generation<C> { impl
107 pub(crate) fn get(&self, gen: Generation<C>) -> Option<Guard<T, C>> { in get()
124 // Is it okay to access this slot? The accessed generation must be in get()
127 // generation, return `None`. in get()
151 // Since the new state may mean that the accessed generation in get()
167 fn mark_release(&self, gen: Generation<C>) -> Option<bool> { in mark_release()
[all …]

12345678910>>...306