Searched defs:unit (Results 76 - 100 of 384) sorted by relevance

1234567891011>>

/external/caliper/caliper/src/test/java/com/google/caliper/runner/
H A DStreamServiceTest.java181 private void awaitStopped(long time, TimeUnit unit) throws InterruptedException { argument
182 assertTrue(terminalLatch.await(time, unit));
/external/deqp/external/vulkancts/modules/vulkan/
H A DvktInfoTests.cpp200 const SizeUnit* unit = getBestSizeUnit(deUint64(size.value)); local
204 << (double(size.value) / double(unit->value))
205 << " " << unit->name;
/external/guava/guava/src/com/google/common/base/
H A DSuppliers.java156 * @param unit the unit that {@code duration} is expressed in
161 Supplier<T> delegate, long duration, TimeUnit unit) {
162 return new ExpiringMemoizingSupplier<T>(delegate, duration, unit);
174 Supplier<T> delegate, long duration, TimeUnit unit) {
176 this.durationNanos = unit.toNanos(duration);
206 // This is a little strange if the unit the user provided was not NANOS,
207 // but we don't want to store the unit just for toString
160 memoizeWithExpiration( Supplier<T> delegate, long duration, TimeUnit unit) argument
173 ExpiringMemoizingSupplier( Supplier<T> delegate, long duration, TimeUnit unit) argument
/external/guava/guava/src/com/google/common/util/concurrent/
H A DRateLimiter.java92 // TODO(user): switch to nano precision. A natural unit of cost is "bytes", and a micro precision
163 * @param unit the time unit of the warmupPeriod argument
167 public static RateLimiter create(double permitsPerSecond, long warmupPeriod, TimeUnit unit) { argument
169 return create(SleepingStopwatch.createFromSystemTimer(), permitsPerSecond, warmupPeriod, unit);
174 SleepingStopwatch stopwatch, double permitsPerSecond, long warmupPeriod, TimeUnit unit) {
175 RateLimiter rateLimiter = new SmoothWarmingUp(stopwatch, warmupPeriod, unit);
297 * <p>This method is equivalent to {@code tryAcquire(1, timeout, unit)}.
300 * @param unit the time unit o
173 create( SleepingStopwatch stopwatch, double permitsPerSecond, long warmupPeriod, TimeUnit unit) argument
304 tryAcquire(long timeout, TimeUnit unit) argument
349 tryAcquire(int permits, long timeout, TimeUnit unit) argument
[all...]
H A DService.java106 * @param unit the time unit of the timeout argument
115 void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException; argument
132 * @param unit the time unit of the timeout argument
137 void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException; argument
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DMapMaker.java178 MapMaker expireAfterWrite(long duration, TimeUnit unit) { argument
186 this.expirationMillis = unit.toMillis(duration);
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
H A DSameThreadScheduledExecutorService.java74 public boolean awaitTermination(long timeout, TimeUnit unit) argument
76 Preconditions.checkNotNull(unit, "unit must not be null!");
77 return delegate.awaitTermination(timeout, unit);
108 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
111 Preconditions.checkNotNull(unit, "unit must not be null!");
112 return delegate.invokeAll(tasks, timeout, unit);
124 long timeout, TimeUnit unit)
127 Preconditions.checkNotNull(unit, "uni
107 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
123 invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
138 schedule(Runnable command, long delay, TimeUnit unit) argument
156 get(long timeout, TimeUnit unit) argument
163 getDelay(TimeUnit unit) argument
176 schedule(final Callable<V> callable, long delay, TimeUnit unit) argument
185 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument
192 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument
[all...]
H A DTestingExecutors.java124 @Override public boolean awaitTermination(long timeout, TimeUnit unit) { argument
131 Callable<V> callable, long delay, TimeUnit unit) {
136 Runnable command, long delay, TimeUnit unit) {
141 Runnable command, long initialDelay, long period, TimeUnit unit) {
146 Runnable command, long initialDelay, long delay, TimeUnit unit) {
157 @Override public long getDelay(TimeUnit unit) { argument
130 schedule( Callable<V> callable, long delay, TimeUnit unit) argument
135 schedule( Runnable command, long delay, TimeUnit unit) argument
140 scheduleAtFixedRate( Runnable command, long initialDelay, long period, TimeUnit unit) argument
145 scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) argument
/external/guava/guava-tests/test/com/google/common/collect/
H A DQueuesTest.java72 long timeout, TimeUnit unit, boolean interruptibly) throws InterruptedException {
74 ? Queues.drain(q, buffer, maxElements, timeout, unit)
75 : Queues.drainUninterruptibly(q, buffer, maxElements, timeout, unit);
71 drain(BlockingQueue<T> q, Collection<? super T> buffer, int maxElements, long timeout, TimeUnit unit, boolean interruptibly) argument
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DJdkFutureAdaptersTest.java188 public V get(long timeout, TimeUnit unit) { argument
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
H A DPeriod.java16 * Represents an approximate duration in multiple TimeUnits. Each unit,
40 * @param unit the unit
43 public static Period at(float count, TimeUnit unit) { argument
45 return new Period(ETimeLimit.NOLIMIT, false, count, unit);
52 * @param unit the unit
55 public static Period moreThan(float count, TimeUnit unit) { argument
57 return new Period(ETimeLimit.MT, false, count, unit);
64 * @param unit th
67 lessThan(float count, TimeUnit unit) argument
83 and(float count, TimeUnit unit) argument
94 omit(TimeUnit unit) argument
183 isSet(TimeUnit unit) argument
193 getCount(TimeUnit unit) argument
297 Period(int limit, boolean future, float count, TimeUnit unit) argument
316 setTimeUnitValue(TimeUnit unit, float value) argument
331 setTimeUnitInternalValue(TimeUnit unit, int value) argument
[all...]
H A DPeriodBuilderFactory.java22 * @param minUnit the smallest time unit available for use
23 * @param maxUnit the largest time unit available for use
30 * Sets whether the time unit is available for use.
31 * @param unit the time unit
32 * @param available true if the unit is available for use
35 PeriodBuilderFactory setUnitIsAvailable(TimeUnit unit, boolean available); argument
38 * Sets the maximum value for the largest available time unit (as
40 * this will be pinned to this value of that time unit and return
47 * Sets the minimum value for the smallest available time unit (a
106 getFixedUnitBuilder(TimeUnit unit) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DCharsTrieBuilder.java154 protected int write(int unit) { argument
158 chars[chars.length-charsLength]=(char)unit;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DPeriod.java15 * Represents an approximate duration in multiple TimeUnits. Each unit,
38 * @param unit the unit
41 public static Period at(float count, TimeUnit unit) { argument
43 return new Period(ETimeLimit.NOLIMIT, false, count, unit);
50 * @param unit the unit
53 public static Period moreThan(float count, TimeUnit unit) { argument
55 return new Period(ETimeLimit.MT, false, count, unit);
62 * @param unit th
65 lessThan(float count, TimeUnit unit) argument
81 and(float count, TimeUnit unit) argument
92 omit(TimeUnit unit) argument
181 isSet(TimeUnit unit) argument
191 getCount(TimeUnit unit) argument
295 Period(int limit, boolean future, float count, TimeUnit unit) argument
314 setTimeUnitValue(TimeUnit unit, float value) argument
329 setTimeUnitInternalValue(TimeUnit unit, int value) argument
[all...]
H A DPeriodBuilderFactory.java20 * @param minUnit the smallest time unit available for use
21 * @param maxUnit the largest time unit available for use
28 * Sets whether the time unit is available for use.
29 * @param unit the time unit
30 * @param available true if the unit is available for use
33 PeriodBuilderFactory setUnitIsAvailable(TimeUnit unit, boolean available); argument
36 * Sets the maximum value for the largest available time unit (as
38 * this will be pinned to this value of that time unit and return
45 * Sets the minimum value for the smallest available time unit (a
104 getFixedUnitBuilder(TimeUnit unit) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCharsTrieBuilder.java158 protected int write(int unit) { argument
162 chars[chars.length-charsLength]=(char)unit;
/external/kernel-headers/original/uapi/linux/
H A Duvcvideo.h59 __u8 unit; member in struct:uvc_xu_control_query
/external/libnl/lib/route/qdisc/
H A Dcbq.c118 char *unit, buf[32]; local
125 w = nl_cancel_down_bits(cbq->cbq_wrr.weight * 8, &unit);
131 cbq->cbq_wrr.allot, w, unit);
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm_sample.c89 unsigned unit,
101 debug_assert(unit < PIPE_MAX_SAMPLERS);
107 /* context[0].textures[unit] */
108 indices[2] = lp_build_const_int32(gallivm, unit);
109 /* context[0].textures[unit].member */
119 lp_build_name(res, "context.texture%u.%s", unit, member_name);
138 unsigned unit) \
140 return draw_llvm_texture_member(base, gallivm, unit, _index, #_name, _emit_load ); \
173 unsigned unit,
183 assert(unit < PIPE_MAX_SAMPLER
87 draw_llvm_texture_member(const struct lp_sampler_dynamic_state *base, struct gallivm_state *gallivm, unsigned unit, unsigned member_index, const char *member_name, boolean emit_load) argument
170 draw_llvm_sampler_soa_emit_fetch_texel(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *texel) argument
201 draw_llvm_sampler_soa_emit_size_query(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, LLVMValueRef explicit_lod, LLVMValueRef *sizes_out) argument
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c94 unsigned unit,
106 assert(unit < PIPE_MAX_SAMPLERS);
112 /* context[0].textures[unit] */
113 indices[2] = lp_build_const_int32(gallivm, unit);
114 /* context[0].textures[unit].member */
124 lp_build_name(res, "context.texture%u.%s", unit, member_name);
143 unsigned unit) \
145 return lp_llvm_texture_member(base, gallivm, unit, _index, #_name, _emit_load ); \
178 unsigned unit,
188 assert(unit < PIPE_MAX_SAMPLER
92 lp_llvm_texture_member(const struct lp_sampler_dynamic_state *base, struct gallivm_state *gallivm, unsigned unit, unsigned member_index, const char *member_name, boolean emit_load) argument
175 lp_llvm_sampler_soa_emit_fetch_texel(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *texel) argument
210 lp_llvm_sampler_soa_emit_size_query(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, LLVMValueRef explicit_lod, LLVMValueRef *sizes_out) argument
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_derived.c303 * the polygon stipple texture. The texture unit that we use depends on
304 * the fragment shader (we need to use a unit not otherwise used by the
312 const unsigned unit = softpipe->fs_variant->stipple_sampler_unit; local
315 softpipe->samplers[PIPE_SHADER_FRAGMENT][unit] = softpipe->pstipple.sampler;
318 pipe_sampler_view_reference(&softpipe->sampler_views[PIPE_SHADER_FRAGMENT][unit],
321 sp_tex_tile_cache_set_sampler_view(softpipe->tex_cache[PIPE_SHADER_FRAGMENT][unit],
H A Dsp_state_sampler.c251 * sampler and tex unit.
253 * Note that the tex unit is significant. We can't re-use a sampler
260 get_sampler_variant( unsigned unit, argument
269 /* if this fails, widen the key.unit field and update this assertion */
275 key.bits.unit = unit;
H A Dsp_state_shader.c55 unsigned unit = 0; local
61 curfs, &unit);
72 var->stipple_sampler_unit = unit;
H A Dsp_tex_sample.h75 unsigned unit:4; member in struct:sp_sampler_key::__anon14665
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_tss.c58 unsigned unit; member in struct:bind_queue::__anon14869
123 queue.bind[queue.bind_count].unit = i;
145 ts[i].stage = queue.bind[i].unit;
197 queue.bind[queue.bind_count].unit = i;
216 ts[i].stage = queue.bind[i].unit;
253 #define EMIT_TS(svga, unit, val, token, fail) \
255 assert(unit < Elements(svga->state.hw_draw.ts)); \
256 assert(SVGA3D_TS_##token < Elements(svga->state.hw_draw.ts[unit])); \
257 if (svga->state.hw_draw.ts[unit][SVGA3D_TS_##token] != val) { \
258 svga_queue_tss( &queue, unit, SVGA3D_TS
276 svga_queue_tss( struct ts_queue *q, unsigned unit, unsigned tss, unsigned value ) argument
[all...]

Completed in 586 milliseconds

1234567891011>>