- Sort Score
- Num 10 results
- Language All
Results 801 - 810 of 5,478 for newE (0.05 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
verifyTokenKeep(this::asIndexHtml); final String diagnosticId = "log" + new SimpleDateFormat("yyyyMMddHHmm").format(ComponentUtil.getSystemHelper().getCurrentTime()); return asStream(diagnosticId + ".zip").contentTypeOctetStream().stream(out -> { try (ZipOutputStream zos = new ZipOutputStream(out.stream())) { writeLogFiles(zos, diagnosticId);
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
public SmbPipeResource getPipe(final String url, final int pipeType) throws CIFSException { try { return new SmbNamedPipe(url, pipeType, this); } catch (final MalformedURLException e) { throw new CIFSException("Invalid URL " + url, e); } } /** * Wraps a new context, allowing subclasses to provide custom wrapping behavior. * * @param newContext the context to wrap
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
URL url = new URL("storage://mybucket/object.txt"); Handler handler = new Handler(); Handler.StorageURLConnection conn = (Handler.StorageURLConnection) handler.openConnection(url); final int threadCount = 10; final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch doneLatch = new CountDownLatch(threadCount);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
CreateContextRequest[] contexts = new CreateContextRequest[] { new MockCreateContextRequest("SHORT", 16), new MockCreateContextRequest("MEDIUM_LENGTH_NAME", 32), new MockCreateContextRequest("VERY_LONG_CONTEXT_NAME_FOR_TESTING", 64) }; byte[] buffer = new byte[512]; int offset = 0;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
outputBuffer = new byte[1024]; response = new TransCallNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { assertNotNull(response); // Verify that the outputBuffer is stored properly byte[] testData = new byte[] { 1, 2, 3, 4, 5 }; TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, ciphers); assertNotNull(context); assertArrayEquals(ciphers, context.getCiphers()); } @Test @DisplayName("Should create instance with null ciphers") void testConstructorWithNullCiphers() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
server = startFtpServer(FTP_PORT, username, password); Map<String, Object> params = new HashMap<String, Object>(); FtpAuthentication auth = new FtpAuthentication(); auth.setUsername(username); auth.setPassword(password); params.put(FtpClient.FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[] { auth }); ftpClient.setInitParameterMap(params);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 21.5K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
} /** * Creates a new XmlNode instance with the specified name. * * @param name the name for the new node * @return a new XmlNode instance * @throws NullPointerException if name is null */ static XmlNode newInstance(String name) { return newBuilder().name(name).build(); } /** * Creates a new XmlNode instance with the specified name and value.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 15:20:44 GMT 2025 - 18.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractor.java
validateInputStream(in); try (final HSLFSlideShow slideShow = new HSLFSlideShow(in); final SlideShowExtractor<HSLFShape, HSLFTextParagraph> extractor = new SlideShowExtractor<>(slideShow)) { return new ExtractData(extractor.getText()); } catch (final IOException e) { throw new ExtractException("Failed to extract text from PowerPoint document.", e); } }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 2K bytes - Click Count (0)