Searched refs:strategy (Results 1 - 25 of 50) sorted by relevance

12

/external/guava/guava/src/com/google/common/hash/
H A DBloomFilter.java44 * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
70 * The strategy we employ to map an element T to {@code numHashFunctions} bit indexes.
72 private final Strategy strategy; field in class:BloomFilter
78 Strategy strategy) {
83 this.strategy = strategy;
91 return strategy.mightContain(object, funnel, numHashFunctions, bits);
99 strategy.put(object, funnel, numHashFunctions, bits);
220 final Strategy strategy; field in class:BloomFilter.SerialForm
226 this.strategy
77 BloomFilter(BitArray bits, int numHashFunctions, Funnel<T> funnel, Strategy strategy) argument
[all...]
/external/chromium/chrome/browser/renderer_host/
H A Dweb_cache_manager.cc88 // Revise our allocation strategy to account for this new renderer.
215 AllocationStrategy* strategy) {
216 DCHECK(strategy);
244 AddToStrategy(active_renderers_, active_tactic, active_extra, strategy);
245 AddToStrategy(inactive_renderers_, inactive_tactic, inactive_extra, strategy);
247 // We succeeded in computing an allocation strategy.
254 AllocationStrategy* strategy) {
255 DCHECK(strategy);
274 // Record the allocation in our strategy.
275 strategy
210 AttemptTactic( AllocationTactic active_tactic, const WebCache::UsageStats& active_stats, AllocationTactic inactive_tactic, const WebCache::UsageStats& inactive_stats, AllocationStrategy* strategy) argument
251 AddToStrategy(const std::set<int>& renderers, AllocationTactic tactic, size_t extra_bytes_to_allocate, AllocationStrategy* strategy) argument
280 EnactStrategy(const AllocationStrategy& strategy) argument
357 AllocationStrategy strategy; local
[all...]
H A Dweb_cache_manager_unittest.cc64 std::list< std::pair<int,size_t> >* strategy) {
70 strategy);
76 std::list< std::pair<int,size_t> >* strategy) {
80 strategy);
233 AllocationStrategy strategy; local
240 &strategy));
241 EXPECT_TRUE(strategy.empty());
248 &strategy));
249 EXPECT_EQ(2U, strategy.size());
251 AllocationStrategy::iterator iter = strategy
59 AttemptTactic(WebCacheManager* h, int active_tactic, const WebCache::UsageStats& active_stats, int inactive_tactic, const WebCache::UsageStats& inactive_stats, std::list< std::pair<int,size_t> >* strategy) argument
72 AddToStrategy(WebCacheManager* h, std::set<int> renderers, int tactic, size_t extra_bytes_to_allocate, std::list< std::pair<int,size_t> >* strategy) argument
279 AllocationStrategy strategy; local
284 &strategy); local
[all...]
H A Dweb_cache_manager.h90 // An allocation strategy is a list of allocations specifying the resources
107 // The various tactics used as part of an allocation strategy. To decide
112 // Determining a resource allocation strategy amounts to picking a tactic
136 // Helper functions for devising an allocation strategy
149 // Attempt to use the specified tactics to compute an allocation strategy
150 // and place the result in |strategy|. |active_stats| and |inactive_stats|
155 // |strategy| on failure.
160 AllocationStrategy* strategy);
163 // |tactic| and add the result to |strategy|. Any |extra_bytes_to_allocate|
168 AllocationStrategy* strategy);
[all...]
/external/guava/guava/src/com/google/common/base/
H A DSplitter.java101 private final Strategy strategy; field in class:Splitter
104 private Splitter(Strategy strategy) { argument
105 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE);
108 private Splitter(Strategy strategy, boolean omitEmptyStrings, argument
110 this.strategy = strategy;
302 return new Splitter(strategy, true, trimmer, limit);
327 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
360 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
381 return strategy
[all...]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DSplitter.java98 private final Strategy strategy; field in class:Splitter
101 private Splitter(Strategy strategy) { argument
102 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE);
105 private Splitter(Strategy strategy, boolean omitEmptyStrings, argument
107 this.strategy = strategy;
244 return new Splitter(strategy, true, trimmer, limit);
269 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
302 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
323 return strategy
[all...]
/external/emma/core/java12/com/vladium/util/
H A DClassLoaderResolver.java110 * Gets the current classloader selection strategy setting.
118 * Sets the classloader selection strategy to be used by subsequent calls
122 * @param strategy new strategy [may not be null]
125 public static synchronized IClassLoadStrategy setStrategy (final IClassLoadStrategy strategy) argument
127 if (strategy == null) throw new IllegalArgumentException ("null input: strategy");
130 s_strategy = strategy;
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
H A DAwtPanel.java37 private BufferStrategy strategy; field in class:AwtPanel
105 if (strategy != null){
106 // strategy.dispose();
107 strategy = null;
108 System.out.println("OGL: Not visible. Destroy strategy.");
144 // All operations on strategy should be synchronized (?)
145 if (strategy == null){
156 strategy = getBufferStrategy();
157 System.out.println("OGL: Visible. Create strategy.");
163 Graphics2D g2d = (Graphics2D) strategy
[all...]
/external/zlib/src/contrib/minizip/
H A Dzip.h229 int strategy,
246 int strategy,
254 windowBits,memLevel,,strategy : see parameter strategy in deflateInit2
272 int strategy,
293 int strategy,
/external/kernel-headers/original/linux/
H A Dzlib.h170 /* compression strategy; see deflateInit2() below for details */
454 int strategy);
475 The strategy parameter is used to tune the compression algorithm. Use the
482 between Z_DEFAULT and Z_HUFFMAN_ONLY. The strategy parameter only affects
541 compression state which can be quite large, so this strategy is slow and
567 extern int zlib_deflateParams (z_streamp strm, int level, int strategy);
570 Dynamically update the compression level and compression strategy. The
571 interpretation of level and strategy is as in deflateInit2. This can be
574 strategy. If the compression level is changed, the input available so far
695 int strategy);
[all...]
/external/chromium/sdch/open-vcdiff/src/
H A Dzlib.h194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
1072 ("wb9") or a strategy
[all...]
/external/qemu/distrib/zlib-1.2.3/
H A Dzlib.h194 /* compression strategy; see deflateInit2() below for details */
485 int strategy));
517 The strategy parameter is used to tune the compression algorithm. Use the
526 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
586 compression state which can be quite large, so this strategy is slow and
608 int strategy));
610 Dynamically update the compression level and compression strategy. The
611 interpretation of level and strategy is as in deflateInit2. This can be
614 strategy. If the compression level is changed, the input available so far
1072 ("wb9") or a strategy
[all...]
H A Ddeflate.c216 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
223 int strategy;
267 strategy < 0 || strategy > Z_FIXED) {
308 s->strategy = strategy;
416 int ZEXPORT deflateParams(strm, level, strategy)
419 int strategy;
433 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXE
[all...]
H A Dgzio.c100 int strategy = Z_DEFAULT_STRATEGY; /* compression strategy */ local
140 strategy = Z_FILTERED;
142 strategy = Z_HUFFMAN_ONLY;
144 strategy = Z_RLE;
156 Z_DEFLATED, -MAX_WBITS, DEF_MEM_LEVEL, strategy);
232 * Update the compression level and strategy
234 int ZEXPORT gzsetparams (file, level, strategy)
237 int strategy;
253 return deflateParams (&(s->stream), level, strategy);
[all...]
/external/chromium/webkit/glue/media/
H A Dbuffered_data_source.cc321 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); local
322 loader_->UpdateDeferStrategy(strategy);
358 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); local
359 loader_->UpdateDeferStrategy(strategy);
376 BufferedResourceLoader::DeferStrategy strategy = ChooseDeferStrategy(); local
377 loader_->UpdateDeferStrategy(strategy);
H A Dbuffered_resource_loader.h150 // Sets the defer strategy to the given value.
151 void UpdateDeferStrategy(DeferStrategy strategy);
H A Dbuffered_resource_loader.cc462 void BufferedResourceLoader::UpdateDeferStrategy(DeferStrategy strategy) { argument
463 defer_strategy_ = strategy;
/external/zlib/src/
H A Dgzwrite.c43 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy);
485 int ZEXPORT gzsetparams(file, level, strategy)
488 int strategy;
504 if (level == state->level && strategy == state->strategy)
519 deflateParams(strm, level, strategy);
522 state->strategy = strategy;
H A Ddeflate.c213 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
220 int strategy;
273 strategy < 0 || strategy > Z_FIXED) {
316 s->strategy = strategy;
490 int ZEXPORT deflateParams(strm, level, strategy)
493 int strategy;
507 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXE
[all...]
H A Dgzlib.c121 state->strategy = Z_DEFAULT_STRATEGY;
155 state->strategy = Z_FILTERED;
158 state->strategy = Z_HUFFMAN_ONLY;
161 state->strategy = Z_RLE;
164 state->strategy = Z_FIXED;
H A Dzlib.h197 /* compression strategy; see deflateInit2() below for details */
532 int strategy));
564 The strategy parameter is used to tune the compression algorithm. Use the
574 strategy parameter only affects the compression ratio but not the
640 compression state which can be quite large, so this strategy is slow and can
662 int strategy));
664 Dynamically update the compression level and compression strategy. The
665 interpretation of level and strategy is as in deflateInit2. This can be
667 to switch to a different kind of input data requiring a different strategy.
1214 a strategy
[all...]
H A Dgzguts.h167 int strategy; /* compression strategy */ member in struct:__anon16111
/external/zlib/
H A Dzlib.h197 /* compression strategy; see deflateInit2() below for details */
532 int strategy));
564 The strategy parameter is used to tune the compression algorithm. Use the
574 strategy parameter only affects the compression ratio but not the
640 compression state which can be quite large, so this strategy is slow and can
662 int strategy));
664 Dynamically update the compression level and compression strategy. The
665 interpretation of level and strategy is as in deflateInit2. This can be
667 to switch to a different kind of input data requiring a different strategy.
1214 a strategy
[all...]
/external/zlib/src/contrib/pascal/
H A Dzlibpas.pas115 memLevel, strategy: Integer): Integer;
120 function deflateParams(var strm: z_stream; level, strategy: Integer): Integer;
165 level, method, windowBits, memLevel, strategy: Integer;
233 strategy: Integer): Integer;
235 Result := deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
/external/iproute2/include/linux/
H A Dpkt_sched.h357 unsigned char strategy; member in struct:tc_cbq_ovl

Completed in 417 milliseconds

12