- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 816 for Ensure (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
/** The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT". */ internal const val MAX_DATE = 253402300799999L /** * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such * cookies are on the fast path. */ private val STANDARD_DATE_FORMAT = object : ThreadLocal<DateFormat>() { override fun initialValue(): DateFormat { // Date format specified by RFC 7231 section 7.1.1.1.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertTrue(resultString.contains("totalAvailableEntries=5"), "toString should contain the total available entries."); } /** * Tests the empty write methods to ensure they do nothing and return 0. */ @Test void testWriteMethods() { NetShareEnumResponse response = new NetShareEnumResponse(); byte[] dst = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
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 connection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K 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; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
LICENSE
software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
return defaultCreds; } @Override public boolean close() throws CIFSException { closeCalled = true; // Call super.close() to ensure the shutdown hook is removed return super.close(); } public boolean isCloseCalled() { return closeCalled; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 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); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
public void setUp() throws Exception { super.setUp(); // Create a temporary test file testFile = File.createTempFile("test_mapping", ".txt"); testFile.deleteOnExit(); // Ensure the test file is initially empty try (java.io.FileWriter fw = new java.io.FileWriter(testFile)) { fw.write(""); } // Create a temporary project.properties file for SystemHelper
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0)