Searched refs:CACHE_SIZE (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/io/
H A DConverters.java64 private static final int CACHE_SIZE = 3; field in class:Converters
69 /* Cached converter classes, CACHE_SIZE per converter type. Each cache
91 new SoftReference<?>[CACHE_SIZE],
92 new SoftReference<?>[CACHE_SIZE]
104 for (int i = 0; i < CACHE_SIZE; i++) {
123 srs[CACHE_SIZE - 1] = new SoftReference<>(new Object[] { c, encoding });
124 moveToFront(srs, CACHE_SIZE - 1);
134 for (int i = 0; i < CACHE_SIZE; i++) {
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DThreadLocalCoders.java39 private static final int CACHE_SIZE = 3; field in class:ThreadLocalCoders
89 private static Cache decoderCache = new Cache(CACHE_SIZE) {
113 private static Cache encoderCache = new Cache(CACHE_SIZE) {
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DBufImgSurfaceData.java367 private static final int CACHE_SIZE = 5; field in class:BufImgSurfaceData
368 private static RenderLoops loopcache[] = new RenderLoops[CACHE_SIZE];
369 private static SurfaceType typecache[] = new SurfaceType[CACHE_SIZE];
371 for (int i = CACHE_SIZE - 1; i >= 0; i--) {
382 System.arraycopy(loopcache, 1, loopcache, 0, CACHE_SIZE-1);
383 System.arraycopy(typecache, 1, typecache, 0, CACHE_SIZE-1);
384 loopcache[CACHE_SIZE - 1] = l;
385 typecache[CACHE_SIZE - 1] = type;
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DURICertStore.java100 private final static int CACHE_SIZE = 185; field in class:URICertStore
217 Cache.newSoftMemoryCache(CACHE_SIZE);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/
H A DStreamReaderBufferProcessor.java64 private static final int CACHE_SIZE = 16; field in class:StreamReaderBufferProcessor
67 protected ElementStackEntry[] _stack = new ElementStackEntry[CACHE_SIZE];
77 protected String[] _namespaceAIIsPrefix = new String[CACHE_SIZE];
78 protected String[] _namespaceAIIsNamespaceName = new String[CACHE_SIZE];
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java82 // Maintain a cache of CACHE_SIZE fonts and the left side bearing
88 private static final int CACHE_SIZE = 6; field in class:SwingUtilities2
200 fontCache = new LSBCacheEntry[CACHE_SIZE];
314 nextIndex = (nextIndex + 1) % CACHE_SIZE;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKEngine.java62 private static final int CACHE_SIZE = 50; field in class:GTKEngine
116 private ImageCache cache = new ImageCache(CACHE_SIZE);
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConv_D64nw.c569 #define CACHE_SIZE (64*1024) macro
590 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
H A Dmlib_ImageConv_F32nw.c569 #define CACHE_SIZE (64*1024) macro
590 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
H A Dmlib_ImageConv_32nw.c40 #define CACHE_SIZE (64*1024) macro
941 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
H A Dmlib_ImageConv_16ext.c1612 #define CACHE_SIZE (64*1024) macro
1639 max_hsize = ((CACHE_SIZE/sizeof(DTYPE))/sll) - (n - 1);
H A Dmlib_ImageConv_16nw.c77 #define CACHE_SIZE (64*1024) macro
1429 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
H A Dmlib_ImageConv_8ext.c1612 #define CACHE_SIZE (64*1024) macro
1639 max_hsize = ((CACHE_SIZE/sizeof(DTYPE))/sll) - (n - 1);
H A Dmlib_ImageConv_8nw.c78 #define CACHE_SIZE (64*1024) macro
1430 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;
H A Dmlib_ImageConv_u16ext.c1612 #define CACHE_SIZE (64*1024) macro
1639 max_hsize = ((CACHE_SIZE/sizeof(DTYPE))/sll) - (n - 1);
H A Dmlib_ImageConv_u16nw.c77 #define CACHE_SIZE (64*1024) macro
1429 max_hsize = (CACHE_SIZE/sizeof(DTYPE))/sll;

Completed in 123 milliseconds