/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/dk/ |
H A D | AesDkCrypto.java | 61 * | key-generation seed length key size | 67 * | HMAC output size, h 12 octets (96 bits) | 69 * | message block size, m 1 octet | 72 * | E and D (cipher block size 16 | 221 throw new GeneralSecurityException("checksum size too short: " + 489 public static final int readBigEndian(byte[] data, int pos, int size) { argument 491 int shifter = (size-1)*8; 492 while (size > 0) { 496 size--;
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | BaseSSLSocketImpl.java | 422 public final void setSendBufferSize(int size) throws SocketException { argument 424 super.setSendBufferSize(size); 426 self.setSendBufferSize(size); 438 public final void setReceiveBufferSize(int size) throws SocketException { argument 440 super.setReceiveBufferSize(size); 442 self.setReceiveBufferSize(size);
|
H A D | OutputRecord.java | 71 * SSL record size. It allocates the header bytes directly. 75 OutputRecord(byte type, int size) { argument 76 super(size); 90 * Get the size of the buffer we need for records of the specified 278 throw new SSLException("output record size too small: " 343 if (heldRecordBuffer != null && heldRecordBuffer.size() > 0) { 344 int heldLen = heldRecordBuffer.size();
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | Cache.java | 42 * . maximum size. Replacements are made in LRU order. 51 * possible to simple set the maximum size to a very large value and let 52 * the GC automatically size the cache dynamically depending on the 57 * eagerly. Performance may be improved if the Java heap size is set to larger 63 * maximum cache size to value that uses those buckets fully. For example, 65 * maximum size of 750 would be a good choice: try 1024 buckets, with a 68 * generally reasonable to set the size to a fairly large value. 81 public abstract int size(); method in class:Cache 104 * Set the maximum size. 106 public abstract void setCapacity(int size); argument 122 newSoftMemoryCache(int size) argument 131 newSoftMemoryCache(int size, int timeout) argument 139 newHardMemoryCache(int size) argument 155 newHardMemoryCache(int size, int timeout) argument 210 public int size() { method in class:NullCache 230 setCapacity(int size) argument 333 public synchronized int size() { method in class:MemoryCache 402 setCapacity(int size) argument [all...] |
H A D | DerOutputStream.java | 42 * in the form of a byte array; there is no advance limit on the size of 59 * @param size how large a buffer to preallocate. 61 public DerOutputStream(int size) { super(size); } argument
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | Formatter.java | 216 int size = 0; 220 size = Math.max(size, strings[i].length()); 223 strings[i] = justify(strings[i], size); 230 static String justify(long value, int size) { argument 231 return justify(formatLong(value), size); 234 static String justify(String str, int size) { argument 237 int n = size - str.length(); 257 value = "<td colspan=" + (columnPerRow-1) + "> <font size =-1>" + value; 265 value1 = "<td><font size [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | GraphicsTests.java | 234 int size; field in class:GraphicsTests.Context 271 ctx.size = env.getIntValue(sizeList); 272 ctx.outdim = getOutputSize(ctx.size, ctx.size);
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/ |
H A D | InputTests.java | 165 int size; field in class:InputTests.Context 171 size = env.getIntValue(sizeList);
|
/openjdk7/jdk/test/java/util/Collection/ |
H A D | BiggernYours.java | 27 * @summary Concurrent collections are permitted to lie about their size 152 static int randomize(int size) { return rnd.nextInt(size + 2); } argument 159 public int size() {return randomize(super.size());}}); 164 public int size() {return randomize(super.size());}}); 169 public int size() {return randomize(super.size());}}); 174 public int size() {retur [all...] |
/openjdk7/jdk/test/java/util/List/ |
H A D | LockStep.java | 39 int size; // Running time is O(size**2) field in class:LockStep 48 size = intArg(args, 0, DEFAULT_SIZE); 63 equal(x.size(), y.size()); 75 for (int i = 0; i < size; i++) { 79 equal(list.size(), i+1); 125 final int s = l.size(); 126 final int rndIndex = rnd.nextInt(l.size()); 147 for (int i = lists[0].size(); [all...] |
/openjdk7/jdk/test/java/util/Map/ |
H A D | Collisions.java | 80 private static Object[][] makeTestData(int size) { argument 81 HashableInteger UNIQUE_OBJECTS[] = new HashableInteger[size]; 82 HashableInteger COLLIDING_OBJECTS[] = new HashableInteger[size]; 83 String UNIQUE_STRINGS[] = new String[size]; 84 String COLLIDING_STRINGS[] = new String[size]; 86 for (int i = 0; i < size; i++) { 202 check("map empty", (map.size() == 0) && map.isEmpty()); 205 check(String.format("insertion: map expected size m%d != i%d", map.size(), i), 206 map.size() [all...] |
/openjdk7/jdk/test/javax/swing/JComponent/4337267/ |
H A D | bug4337267.java | 158 Dimension size = new Dimension(500, 100); 159 i1 = new TestBufferedImage(size.width, size.height, 161 i2 = new TestBufferedImage(size.width, size.height, 164 p1.setPreferredSize(size); 166 p2.setPreferredSize(size); 216 public void setPreferredSize(Dimension size) { argument 217 super.setPreferredSize(size); 218 image = createImage(size); [all...] |
/openjdk7/jdk/test/sun/java2d/OpenGL/ |
H A D | DrawBufImgOp.java | 210 * foreach source image size (once with pow2, once with non-pow2) 241 System.out.printf("type=%d size=%d\n", srcType, srcSize); 333 private BufferedImage makeSourceImage(int size, int type) { argument 334 int s2 = size/2; 335 BufferedImage img = new BufferedImage(size, size, type); 339 g2d.fillRect(0, 0, size, size);
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Helpers.java | 447 float right[], int rightoff, int size) 449 switch(size) { 445 subdivideAt(float t, float src[], int srcoff, float left[], int leftoff, float right[], int rightoff, int size) argument
|
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/v2_0/ |
H A D | PerfDataBuffer.java | 434 * compute the size of the data item - this includes pad 448 lb.limit(1); // limit buffer size to one long value. 565 private void dump_entry_variable(String name, ByteBuffer bb, int size) { argument 573 data.limit(size);
|
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/ |
H A D | PerfDataEntry.java | 149 dataSize = vectorLength * dataType.size(); 151 dataSize = dataType.size(); 170 public int size() { method in class:PerfDataEntry
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | SoftCache.java | 86 * invoke none of its mutator methods, it is possible for the <code>size</code> 221 * required by this operation is linear in the size of the map. 223 public int size() { method in class:SoftCache 224 return entrySet().size(); 434 public int size() { method in class:SoftCache.EntrySet
|
/openjdk7/jdk/src/share/classes/sun/net/ftp/ |
H A D | FtpDirEntry.java | 33 * parsing the output. It will typically contain the name, type, size, last modification 59 private long size = -1; field in class:FtpDirEntry 137 * Returns the size of the remote file as it was returned by the FTP 140 * @return the size of the file or -1 if that information is not available. 143 return size; 147 * Sets the size of that file. Intended mostly to be used from inside an 150 * @param size The size, in bytes, of that file. or -1 if unknown. 153 public FtpDirEntry setSize(long size) { argument 154 this.size [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | ChunkedInputStream.java | 36 * size indicator. Optionally the last chunk can be followed by trailers 64 * The size, in bytes, of the chunk that is currently being read. 65 * This size is only valid if the current position in the underlying 98 * read. It may contain bytes representing chunk-size, chunk-data, or 129 * Maximum chunk header size of 2KB + 2 bytes for CRLF 135 * chunk-size [ chunk-extension ] CRLF 180 * Ensures there is <code>size</code> bytes available in 185 private void ensureRawAvailable(int size) { argument 186 if (rawCount + size > rawData.length) { 188 if (used + size > rawDat [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | DatagramSocketAdaptor.java | 312 public void setSendBufferSize(int size) throws SocketException { argument 313 if (size <= 0) 314 throw new IllegalArgumentException("Invalid send size"); 315 setIntOption(StandardSocketOptions.SO_SNDBUF, size); 322 public void setReceiveBufferSize(int size) throws SocketException { argument 323 if (size <= 0) 324 throw new IllegalArgumentException("Invalid receive size"); 325 setIntOption(StandardSocketOptions.SO_RCVBUF, size);
|
H A D | SocketAdaptor.java | 374 public void setSendBufferSize(int size) throws SocketException { argument 375 // size 0 valid for SocketChannel, invalid for Socket 376 if (size <= 0) 377 throw new IllegalArgumentException("Invalid send size"); 378 setIntOption(StandardSocketOptions.SO_SNDBUF, size); 385 public void setReceiveBufferSize(int size) throws SocketException { argument 386 // size 0 valid for SocketChannel, invalid for Socket 387 if (size <= 0) 388 throw new IllegalArgumentException("Invalid receive size"); 389 setIntOption(StandardSocketOptions.SO_RCVBUF, size); [all...] |
H A D | Util.java | 83 * size (or null if no suitable buffer is found). 85 ByteBuffer get(int size) { argument 93 if (buf.capacity() < size) { 100 if (bb.capacity() >= size) { 118 buf.limit(size); 159 * Returns a temporary buffer of at least the given size 161 static ByteBuffer getTemporaryDirectBuffer(int size) { argument 163 ByteBuffer buf = cache.get(size); 174 return ByteBuffer.allocateDirect(size); 297 public int size() { retur 385 newMappedByteBuffer(int size, long addr, FileDescriptor fd, Runnable unmapper) argument 435 newMappedByteBufferR(int size, long addr, FileDescriptor fd, Runnable unmapper) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/ |
H A D | BatchEnvironment.java | 135 return new ClassPath(path.toArray(new String[path.size()])); 269 public int size() { method in class:BatchEnvironment.Path.PathIterator
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLSurfaceData.c | 141 GLint size = GL_UNSIGNED_INT_8_8_8_8; local 195 format, size, NULL); 217 format, size, NULL); 323 // will start with the smallest size and then work our way up
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XWarningWindow.java | 59 private static IconInfo getSecurityIconInfo(int size, int num) { argument 92 final int sizeIndex = size % icons.length; 113 // Make sure we have a valid size
|