- Sort Score
- Num 10 results
- Language All
Results 1111 - 1120 of 6,020 for new1 (0.02 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
private static BwcVersions resolveBwcVersions(File root) { File versionsFile = new File(root, DEFAULT_VERSION_JAVA_FILE_PATH); try { List<String> versionLines = IOUtils.readLines(new FileInputStream(versionsFile), "UTF-8"); return new BwcVersions(versionLines); } catch (IOException e) { throw new IllegalStateException("Unable to resolve to resolve bwc versions from versionsFile.", e);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should create new connections when reuse conditions are not met") void testNoConnectionReuse() throws Exception { // Given: Create a new pool for this test to ensure isolation SmbTransportPoolImpl testPool = new SmbTransportPoolImpl(); when(ctx.getTransportPool()).thenReturn(testPool);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
} catch (final Exception e) { throw new PluginException("Failed to install the artifact " + artifact.getName(), e); } } else { try (final InputStream in = new FileInputStream(url)) { CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile()); } catch (final Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Mar 04 15:19:41 GMT 2026 - 25.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/api/ApiResultTest.java
final ApiStartJobResponse response = new ApiStartJobResponse(); final ApiStartJobResponse returned = response.jobLogId("abc123def456"); assertSame(response, returned); assertEquals("abc123def456", response.jobLogId); } @Test public void test_ApiStartJobResponse_withNullJobLogId() { final ApiStartJobResponse response = new ApiStartJobResponse(); response.jobLogId(null);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
"Raw bytes for empty string should be empty"); byte[] emptyBytes = new byte[0]; AvTargetName avTargetNameFromBytes = new AvTargetName(emptyBytes); assertEquals(emptyString, avTargetNameFromBytes.getTargetName(), "Empty string should be handled correctly from raw bytes constructor");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
*/ class Trans2SetFileInformationResponseTest { private Trans2SetFileInformationResponse response; @BeforeEach void setUp() { // Initialize a new response object before each test response = new Trans2SetFileInformationResponse(); } /** * Test for the constructor of {@link Trans2SetFileInformationResponse}. * It should initialize the subCommand correctly. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph)); } @Test @DisplayName("should accept negative access mask values") void testNegativeAccessMaskAccepted() { // Arrange SamrPolicyHandle ph = createMockPolicyHandle(); // Act & Assert assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", -42, ph)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryTestBase.java
setupBaseFessConfig(); // Initialize QueryFieldConfig QueryFieldConfig queryFieldConfig = new QueryFieldConfig(); queryFieldConfig.init(); ComponentUtil.register(queryFieldConfig, "queryFieldConfig"); // Initialize QueryParser QueryParser queryParser = new QueryParser(); queryParser.init(); ComponentUtil.register(queryParser, "queryParser");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
final File targetDir = new File(userDir, "target"); final File targetClassesDir = new File(targetDir, "classes"); if (targetClassesDir.isDirectory()) { buf.append(cpSeparator); buf.append(targetClassesDir.getAbsolutePath()); } // WEB-INF/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")),
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
void writeBodyWireFormat_shouldReturnZero() { byte[] dst = new byte[100]; int result = response.writeBodyWireFormat(dst, 10); assertEquals(0, result); } @Test void readBodyWireFormat_shouldDelegateToReadResourceRecordWireFormat() throws Exception { // Prepare test data with minimal valid resource record byte[] src = new byte[100]; int srcIndex = 10;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0)