- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 784 for sizeof (0.18 sec)
-
src/main/java/org/codelibs/fess/util/MemoryUtil.java
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertEquals(24L, MemoryUtil.sizeOf(Byte.MAX_VALUE)); assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE)); assertEquals(32L, MemoryUtil.sizeOf(new Date())); assertEquals(80L, MemoryUtil.sizeOf(LocalDateTime.now())); assertEquals(2128L, MemoryUtil.sizeOf(ZonedDateTime.now())); assertEquals(66L, MemoryUtil.sizeOf("1234567890")); assertEquals(76L, MemoryUtil.sizeOf("12345678901234567890"));
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
(systemHelper.getCurrentTimeAsLong() - execTime), MemoryUtil.byteCountToDisplaySize(docList.getContentSize()), MemoryUtil.getMemoryUsageLog()); } else { logger.info("Sent {} docs (Doc:{send {}ms}, {})", docList.size(), (systemHelper.getCurrentTimeAsLong() - execTime),
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.6K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
getMultiset().entrySet()); } @CollectionSize.Require(ZERO) public void testEntrySet_hashCode_size0() { assertEquals( "multiset.entrySet() has incorrect hash code", 0, getMultiset().entrySet().hashCode()); } @CollectionSize.Require(ONE) public void testEntrySet_hashCode_size1() { assertEquals( "multiset.entrySet() has incorrect hash code", 1 ^ e0().hashCode(),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
@CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyCollection.toString should return []", "[]", collection.toString()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size1() { assertEquals( "size1Collection.toString should return [{element}]", "[" + e0() + "]",
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
private static final int MIN_HASH_TABLE_SIZE = 4; private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256 private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255 private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536 private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535 /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
private static final int MIN_HASH_TABLE_SIZE = 4; private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256 private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255 private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536 private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535 /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java
private final List<Long> sizes; private final List<String> ids; private final int hashCode; public CacheKey(List<Artifact> extensionArtifacts) { this.files = new ArrayList<>(extensionArtifacts.size()); this.timestamps = new ArrayList<>(extensionArtifacts.size()); this.sizes = new ArrayList<>(extensionArtifacts.size());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
* * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size () { int size = Smb2Constants.SMB2_HEADER_LENGTH + 36 + size8(2 * this.dialects.length, 4); if ( this.negotiateContexts != null ) { for ( NegotiateContextRequest ncr : this.negotiateContexts ) { size += 8 + size8(ncr.size()); } } return size8(size);
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertFalse( "Lists of different sizes should not be equal.", getList().equals(new ArrayList<E>(fewerElements))); } public void testEquals_longerList() { Collection<E> moreElements = getSampleElements(getNumElements() + 1); assertFalse( "Lists of different sizes should not be equal.", getList().equals(new ArrayList<E>(moreElements))); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.5K bytes - Viewed (0)