- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 185 for getSize (0.09 sec)
-
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) { getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> { if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) { throw new DictionaryException(dictFile.getPath() + " was updated."); } // TODO use stream
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.7K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
} @Test void testGetFile() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); assertEquals(txtFile.getAbsoluteFile(), source.getFile()); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
buffer[bufferIndex++] = (byte) 0x80; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; // serverTime long time = new Date().getTime(); SMBUtil.writeTime(time, buffer, bufferIndex); bufferIndex += 8; // serverTimeZone buffer[bufferIndex++] = (byte) 0x80; buffer[bufferIndex++] = (byte) 0xFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
SmbTreeHandleImpl tree; @Mock SmbFileHandleImpl fd; @Mock Configuration config; private SmbPipeInputStream newStreamWithInit(boolean smb2) throws CIFSException { when(handle.getPipe()).thenReturn(pipe); // init(th) behavior inside SmbFileInputStream constructor when(tree.isSMB2()).thenReturn(smb2); when(tree.getReceiveBufferSize()).thenReturn(4096);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
} final ResponseData responseData = fsClient.doHead("file:" + path); assertNotNull(responseData.getLastModified()); assertTrue(responseData.getLastModified().getTime() < new Date().getTime()); assertNull(responseData.getResponseBody()); } public void test_doHead_dir() throws Exception { final File file = ResourceUtil.getResourceAsFile("test");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
/** * @param handle * @throws SmbException */ SmbPipeOutputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null, 0, 0, 0); this.handle = handle; } /** * {@inheritDoc} * * @see jcifs.smb.SmbFileOutputStream#isOpen() */ @Override public boolean isOpen() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
buffer.putInt(65536); // maxRawSize buffer.putInt(123456789); // sessionKey buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities buffer.putLong(new Date().getTime()); // serverTime buffer.putShort((short) -480); // serverTimeZone buffer.put((byte) 8); // encryptionKeyLength byte[] paramWords = buffer.array(); // Call the method to test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
*/ @Test public void testToCalendar() throws Exception { final Date date = new Date(); final Calendar cal = CalendarConversionUtil.toCalendar(date); assertEquals(date, cal.getTime()); } /** * * @throws Exception */ @Test public void testLocalize() throws Exception { final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("JST"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
SuggestItem[] items = getPopularWordsItemSet2(); suggester.indexer().index(items); suggester.refresh(); PopularWordsResponse response = suggester.popularWords().setSize(2).execute().getResponse(); assertEquals(5, response.getTotal()); for (int i = 0; i < 5; i++) { assertEquals(2, response.getNum()); boolean find = false;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 37.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 25K bytes - Viewed (0)