- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for sizeof (0.16 sec)
-
src/main/java/org/codelibs/core/io/SerializeUtil.java
import org.codelibs.core.exception.IORuntimeException; /** * オブジェクトをシリアライズするためのユーティリティです。 * * @author higa */ public abstract class SerializeUtil { private static final int BYTE_ARRAY_SIZE = 8 * 1024; /** * オブジェクトをシリアライズできるかテストします。 * * @param obj * シリアライズ対象のオブジェクト。{@literal null}であってはいけません * @return シリアライズして復元したオブジェクト */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
list.add(new MethodDescImpl(this, method)); } for (int i = 0; i < methodDescListMap.size(); ++i) { final List<MethodDesc> methodDescList = methodDescListMap.getAt(i); methodDescsCache.put(methodDescListMap.getKeyAt(i), methodDescList.toArray(new MethodDesc[methodDescList.size()])); } } /** * フィールドを準備します。 */ protected void setupFieldDescs() {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
import org.codelibs.core.exception.IORuntimeException; /** * {@link Reader}用のユーティリティクラスです。 * * @author higa */ public abstract class ReaderUtil { /** デフォルトのバッファサイズ */ private static final int BUF_SIZE = 4096; /** * 指定のエンコーディングでファイルから入力する{@link Reader}を作成します。 * * @param is * 入力ストリーム。{@literal null}であってはいけません * @param encoding
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MapsTest.java
public class MapsTest { /** * @throws Exception */ @Test public void test() throws Exception { final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); assertThat(map.size(), is(3)); assertThat(map.get("a"), is(1)); assertThat(map.get("b"), is(2)); assertThat(map.get("c"), is(3)); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashMap.java
* * @return エントリ数の上限 */ public int getLimitSize() { return limitSize; } @Override protected boolean removeEldestEntry(final Map.Entry<K, V> entry) { return size() > limitSize; }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
* </p> * * @author koichik */ public abstract class CopyUtil { /** コピーで使用するバッファサイズ */ protected static final int DEFAULT_BUF_SIZE = 4096; // //////////////////////////////////////////////////////////////// // from InputStream to OutputStream // /** * 入力ストリームから出力ストリームへコピーします。 * <p>
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 52.4K bytes - Viewed (0) -
src/main/resources/CLMessages.properties
ECL0012=argument[{0}] is null or empty collection. ECL0013=argument[{0}] is null or empty map. ECL0014=argument[{0}] which is null the index of array is negative integer. ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}]. ECL0016=key[{0}] is not included in this BeanMap : {1}. ECL0017=Exception occurred, because {0} ECL0041={0}''s creation failure, because {1} ECL0040=IOException occurred, because {0}
Properties - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:58:02 GMT 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
copy.mapTable = Arrays.copyOf(mapTable, size); copy.listTable = Arrays.copyOf(listTable, size); copy.size = size; return copy; } /** * エントリのインデックスを返します。 * * @param entry * エントリ * @return エントリのインデックス */ protected int entryIndexOf(final Entry<K, V> entry) { for (int i = 0; i < size; i++) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 20.6K bytes - Viewed (1) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
header.previous = header; size = 0; } /** * インデックスで指定された位置のエントリを返します。 * * @param index * インデックス * @return エントリ */ public Entry getEntry(final int index) { assertIndex(0 <= index && index < size, "Index: " + index + ", Size: " + size); Entry e = header; if (index < size / 2) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11K bytes - Viewed (1) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
try { return channel.map(mode, 0, channel.size()); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * ファイルのサイズを返します。 * * @param channel * ファイルチャネル。{@literal null}であってはいけません * @return ファイルのサイズ */ public static long size(final FileChannel channel) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6K bytes - Viewed (0)