- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 79 for testSize (0.05 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertEquals(initialSize, map.size()); } else { assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove)); } assertInvariants(map); } public void testSize() { assertInvariants(makeEitherMap()); } public void testKeySetRemove() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
long testTime = System.currentTimeMillis(); // Set specific values SMBUtil.writeInt4(100, buffer, 0); // nextEntryOffset SMBUtil.writeInt4(200, buffer, 4); // fileIndex SMBUtil.writeTime(testTime, buffer, 8); // creationTime SMBUtil.writeTime(testTime, buffer, 16); // lastAccessTime SMBUtil.writeTime(testTime, buffer, 24); // lastWriteTime
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/zip/test_size.zip
Shinsuke Sugaya <******@****.***> 1444529815 +0900
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
// Create StopwordsFile instance stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date()); stopwordsFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(); } private String getTestContent() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601, time); // Test with specific time value long testTime = 131768928000000000L; // Example Windows file time SMBUtil.writeInt8(testTime, src, 8); long readTime = SMBUtil.readTime(src, 8); assertEquals((testTime / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601), readTime); } @Test void testWriteTime() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// Write test values long testTime = System.currentTimeMillis() * 10000L + 116444736000000000L; SMBUtil.writeInt8(testTime, buffer, offset + 8); SMBUtil.writeInt8(testTime + 1000, buffer, offset + 16); SMBUtil.writeInt8(testTime + 2000, buffer, offset + 24); SMBUtil.writeInt8(testTime + 3000, buffer, offset + 32);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaper.java
// when we do grow, grow enough to avoid excessive growing. Grow. int sizeNeeded = destIndex + charsSkipped + rlen; if (destSize < sizeNeeded) { destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); dest = growBuffer(dest, destIndex, destSize); } // If we have skipped any characters, we need to copy them now. if (charsSkipped > 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
byte[] dst = new byte[4]; long testTime = System.currentTimeMillis(); // Test when both current time and test time are in DST when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true); SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); int expectedSeconds = (int) (testTime / 1000L); int actualSeconds = SMBUtil.readInt4(dst, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
response = new SmbComQueryInformationResponse(mockConfig, maxOffset); long testTime = 1000000000L; setFieldValue(response, "lastWriteTime", testTime); assertEquals(testTime + maxOffset, response.getCreateTime()); assertEquals(testTime + maxOffset, response.getLastWriteTime()); assertEquals(testTime + maxOffset, response.getLastAccessTime()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Initialize ProtwordsFile protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date()); protwordsFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(); } private String getTestContent() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0)