- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 515 for getTypes (0.06 seconds)
-
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
try (JarOutputStream jos = new JarOutputStream(new FileOutputStream(jarFile))) { JarEntry entry = new JarEntry("fess_ds++.xml"); jos.putNextEntry(entry); jos.write(xmlContent.getBytes()); jos.closeEntry(); } } // Test DataStore implementation for testing private static class TestDataStore extends AbstractDataStore { private String name;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
*/ public SynonymFile(final String id, final String path, final Date timestamp) { super(id, path, timestamp); } @Override public String getType() { return SYNONYM; } @Override public String getPath() { return path; } @Override public synchronized OptionalEntity<SynonymItem> get(final long id) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { try (GZIPOutputStream gos = new GZIPOutputStream(baos)) { gos.write(hash.getBytes(Constants.UTF_8)); } return SIMILAR_DOC_HASH_PREFIX + Base64.getUrlEncoder().withoutPadding().encodeToString(baos.toByteArray()); } catch (final IOException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:27:04 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
initializeNetworkExplorer(false, "jCIFS"); // Setup mock file with minimal required behavior String content = "File content for testing"; byte[] contentBytes = content.getBytes(); when(smbFile.length()).thenReturn((long) contentBytes.length); when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes)); // Use spy to avoid actual SMB operations
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
byte[] data = new byte[100]; digest.sign(data, 0, data.length, mockRequest, mockResponse); // Check if BSRSPYL signature is written byte[] expectedSignature = "BSRSPYL ".getBytes(); byte[] actualSignature = new byte[8]; System.arraycopy(data, SmbConstants.SIGNATURE_OFFSET, actualSignature, 0, 8); assertArrayEquals(expectedSignature, actualSignature); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> { // Mock the read method to return simple content byte[] includeContent = "192.168.1.200 INCLUDEHOST\n".getBytes(); int[] index = { 0 }; when(mock.read()).thenAnswer(inv -> { if (index[0] < includeContent.length) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
<InputEncoding>UTF-8</InputEncoding> <OutputEncoding>UTF-8</OutputEncoding> </OpenSearchDescription> """, new String(InputStreamUtil.getBytes(ins))); } @Override public OutputStream stream() { return null; } }); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
// not be not colored (good), but Maven will print out "Message scheme: color". MessageUtils.setColorEnabled( context.coloredOutput != null ? context.coloredOutput : !Terminal.TYPE_DUMB.equals(terminal.getType())); // handle rawStreams: some would like to act on true, some on false if (context.options().rawStreams().orElse(false)) { doConfigureWithTerminalWithRawStreamsEnabled(context);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0)