- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,055 for Ensure (0.93 sec)
-
src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java
package org.codelibs.fess.suggest.constants; /** * This class contains constants for field names used in the Fess Suggest system. * These constants represent various field names that are used throughout the application * to ensure consistency and avoid hardcoding strings. * * <ul> * <li>{@link #ID} - The unique identifier field.</li> * <li>{@link #TEXT} - The text content field.</li>
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
@EnumSource(RequestParam.class) @DisplayName("send handles each RequestParam enum constant") void send_eachRequestParam_isAccepted(RequestParam param) throws Exception { // Arrange: stub per-call return to ensure interaction with the exact enum when(tree.send(eq(request), eq(param))).thenReturn(response); // Act CommonServerMessageBlockResponse out = tree.send(request, param); // AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
cmd/untar.go
}, { header: []byte{0x42, 0x5a, 'h'}, f: formatBZ2, }, } type untarOptions struct { ignoreDirs bool ignoreErrs bool prefixAll string } // disconnectReader will ensure that no reads can take place on // the upstream reader after close has been called. type disconnectReader struct { r io.Reader mu sync.Mutex } func (d *disconnectReader) Read(p []byte) (n int, err error) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java
* <li>{@link UrlQueueService} - The service for managing the URL queue.</li> * <li>{@link DataService} - The service for managing access results.</li> * </ul> * * <p>Each parameter is stored in a ThreadLocal variable to ensure thread safety.</p> * * <p>Usage example:</p> * <pre> * {@code * UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue(); * CrawlingParameterUtil.setUrlQueue(newUrlQueue); *
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.4K bytes - Viewed (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; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (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)); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
} /** * Test backward compatibility with standard Base64 * * @throws Exception */ public void testBackwardCompatibility() throws Exception { // These test cases ensure that the new java.util.Base64 implementation // produces the same output as the old custom implementation // Test case 1: Standard padding final byte[] data1 = "abc".getBytes();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
README.md
## Build Docker Image You can use the `docker build .` command to build a Docker image on your local host machine. You must first [build MinIO](#install-from-source) and ensure the `minio` binary exists in the project root. The following command builds the Docker image using the default `Dockerfile` in the root project directory with the repository and image tag `myminio:minio` ```sh
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Dec 03 08:13:11 UTC 2025 - 9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
withContext(Dispatchers.IO) { fileSystem.write(outputFile) { importResults.writeOut(this) } } /** * These assertions ensure the [PublicSuffixDatabase] remains correct. The specification is * very flexible regarding wildcard rules, but this flexibility is not something currently used
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Aug 06 05:33:11 UTC 2025 - 6.1K bytes - Viewed (0) -
architecture/standards/0008-use-nullaway.md
While there are competing ways to represent absence (`Optional`, "Null Object" pattern, method overloads), it is unlikely that we'll be able to remove `null` entirely. After migrating to Java 8, we can use pluggable type checkers to ensure that our annotations are consistent, and there are no missing null checks. ## Decision Use "NullAway" in JSpecify mode to check for null-related errors in Java code.
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 11 10:24:40 UTC 2025 - 4K bytes - Viewed (0)