- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 837 for erasure (0.05 seconds)
-
src/main/java/org/codelibs/fess/entity/ChatSession.java
synchronized (messagesLock) { if (messages != null && messages.size() > maxMessages) { int start = messages.size() - maxMessages; // Ensure trimmed history starts with a user message, not an assistant message if (start < messages.size() && ChatMessage.ROLE_ASSISTANT.equals(messages.get(start).getRole())) { start = Math.max(0, start - 1);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
assertEquals("Error 1", exception1.getMessage()); assertEquals("Error 2", exception2.getMessage()); assertEquals("Error 3", exception3.getMessage()); // Ensure they are different instances assertNotSame(exception1, exception2); assertNotSame(exception2, exception3); assertNotSame(exception1, exception3); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
import org.mockito.quality.Strictness; /** * Tests for SmbTreeHandle interface. * This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface. * Each method of the interface is tested to ensure it behaves as expected. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeHandleTest { @Mock private SmbTreeHandle smbTreeHandle; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM); when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); // Test multiple selections to ensure it works for (int i = 0; i < 10; i++) { ChannelInfo selected = loadBalancer.selectChannel(mockMessage); assertTrue(Arrays.asList(channel1, channel2).contains(selected)); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
} /** * Parameterized test for the {@link DosFileFilter#accept(SmbFile)} method. * This test covers various combinations of file attributes and filter attributes * to ensure the bitwise logic is correctly implemented. * * @param filterAttributes The attributes set for the filter. * @param fileAttributes The attributes of the mock file.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java
} @Internal public DirectoryProperty getAdditionalYamlTestsDir() { return additionalYamlTestsDir; } @TaskAction void copy() { // clean the output directory to ensure no stale files persist fileSystemOperations.delete(d -> d.delete(outputResourceDir)); // always copy the core specs if the task executes String projectPath = getProjectPathFromTask(getPath());Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
public void putAll(Table<? extends R, ? extends C, ? extends @Nullable V> table) { super.putAll(table); } /** * Not supported. Use {@link #erase} instead. * * @throws UnsupportedOperationException always * @deprecated Use {@link #erase} */ @DoNotCall("Always throws UnsupportedOperationException") @CanIgnoreReturnValue @Override @Deprecated
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
import java.nio.file.Files; import java.util.logging.Logger; /** * ContentCache is a class that provides a way to cache content either in memory or in a file. * It implements the Closeable interface to ensure that resources are properly released. * * <p>This class supports two types of content caching: * <ul> * <li>In-memory caching using a byte array</li> * <li>File-based caching using a File object</li> * </ul>
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 4.8K 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); // Create an existing connectionCreated: 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/test/java/org/codelibs/fess/it/admin/StatsTests.java
logger.info("[END] statsResponseFormatTest"); } @Test void multipleStatsCallsTest() { logger.info("[BEGIN] multipleStatsCallsTest"); // Call stats endpoint multiple times to ensure consistency final Map<String, Object> searchBody = new HashMap<>(); String response1 = checkGetMethod(searchBody, "").asString(); Integer status1 = JsonPath.from(response1).get("response.status");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.8K bytes - Click Count (0)