- Sort Score
- Num 10 results
- Language All
Results 961 - 970 of 5,014 for new1 (0.05 seconds)
-
src/test/java/jcifs/EmptyIteratorTest.java
final int threadCount = 10; final Thread[] threads = new Thread[threadCount]; final boolean[] results = new boolean[threadCount]; try (EmptyIterator sharedIterator = new EmptyIterator()) { // When for (int i = 0; i < threadCount; i++) { final int index = i; threads[i] = new Thread(() -> { // Each thread performs multiple operationsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
byte[] buffer = new byte[4]; SMBUtil.writeInt2(input, buffer, 0); int result = SMBUtil.readInt2(buffer, 0); assertEquals(expected & 0xFFFF, result); } @ParameterizedTest @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L }) void testWriteReadInt4RoundTrip(long input) { byte[] buffer = new byte[8];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
List<ArtifactRepository> repos = new ArrayList<>(); repos.add(artifactRepositoryFactory.createArtifactRepository( "repo1", "string://url1", new ArtifactRepositoryLayoutStub(), null, null)); repos.add(artifactRepositoryFactory.createArtifactRepository( "repo2", "string://url2", new ArtifactRepositoryLayoutStub(), null, null));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
super.setUp(testInfo); corsFilter = new CorsFilter(); corsHandlerFactory = new TestCorsHandlerFactory(); // Initialize mocks mockRequest = new TestHttpServletRequest(); mockResponse = new TestHttpServletResponse(); mockFilterChain = new TestFilterChain(); ComponentUtil.register(corsHandlerFactory, "corsHandlerFactory"); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 22.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
} catch (IOException | XMLStreamException e) { throw new PluginDescriptorParsingException(pluginDescriptor.getPlugin(), pluginDescriptor.getSource(), e); } if (lifecycleOverlay == null) { throw new LifecycleNotFoundException(forkedLifecycle); } for (Phase phase : lifecycleOverlay.getPhases()) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 26.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java
* @see CopyOptions#include(CharSequence...) */ public static CopyOptions include(final CharSequence... propertyNames) { return new CopyOptions().include(propertyNames); } /** * Returns a {@link CopyOptions} with the specified property names to exclude from the operation. * * @param propertyNamesCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
NetworkInterfaceInfo localNic = new NetworkInterfaceInfo(localAddr, 1); NetworkInterfaceInfo remoteNic = new NetworkInterfaceInfo(remoteAddr, 445); // Mock transport doesn't have isConnected, but we can work around it ChannelInfo channel = new ChannelInfo("test-channel", mockTransport, localNic, remoteNic);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
} @BeforeEach @Override public void setUp() throws Exception { super.setUp(); updateCheckManager = new DefaultUpdateCheckManager( new ConsoleLogger(Logger.LEVEL_DEBUG, "test"), new DefaultTrackingFileManager()); } @Test void testArtifact() throws Exception { ArtifactRepository remoteRepository = remoteRepository();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
this.registrations = new ConcurrentHashMap<>(); this.listeners = new ConcurrentHashMap<>(); this.asyncNotifyTasks = new ConcurrentHashMap<>(); this.scheduler = Executors.newScheduledThreadPool(3); // Increased for async notifications this.rpcClient = rpcClient; // Schedule periodic tasks schedulePeriodicTasks(); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
int initialArraySize) { checkNonnegative(initialArraySize, "initialArraySize"); // for GWT. return new ArrayList<>(initialArraySize); } /** * Creates an {@code ArrayList} instance to hold {@code estimatedSize} elements, <i>plus</i> an * unspecified amount of padding; **don't do this**. Instead, use {@code new }{@link * ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly and choose an explicit paddingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0)