- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 154 for simili (0.04 sec)
-
src/test/java/jcifs/smb/SSPContextTest.java
import org.mockito.InOrder; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; @ExtendWith(MockitoExtension.class) class SSPContextTest { // Simple, deterministic test double covering all methods of SSPContext. private static class DummySSPContext implements SSPContext { private byte[] signingKey; private boolean established;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Concrete implementation for testing abstract NtlmMessage private static class TestNtlmMessage extends NtlmMessage { @Override public byte[] toByteArray() throws IOException { // Simple implementation for testing purposes return new byte[0]; } } @BeforeEach void setUp() { message = new TestNtlmMessage(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
* <code>getRequestingException</code> methods. * If this method returns <code>null</code> the <code>SmbAuthException</code> that triggered the authenticator check will * simply be rethrown. The default implementation returns <code>null</code>. * @return the authentication credentials or null if none available */ protected NtlmPasswordAuthenticator getNtlmPasswordAuthentication() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate") void constructorAndSimpleDelegations() { // Ensures constructor acquires tree connection and simple delegate methods forward correctly // Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegatesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/Curl.java
* governing permissions and limitations under the License. */ package org.codelibs.curl; import java.io.File; /** * The Curl class provides a simple interface for creating HTTP requests using various HTTP methods. * It includes static methods for each HTTP method that return a CurlRequest object. * * <p>Example usage:</p> * <pre>
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
* * <pre> * * InetAddress addr = NbtAddress.getByName("jmorris2").getInetAddress(); * </pre> * * * From a UNIX platform with Samba installed you can perform similar * diagnostics using the <code>nmblookup</code> utility. * * @author Michael B. Allen * @see java.net.InetAddress * @since jcifs-0.1 */ public interface NetbiosAddress extends Address { /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SmbFileFilterTest { @Mock private SmbFile smbFile; // Provides file names and whether a simple name-based filter should accept them private static Stream<Arguments> nameCases() { return Stream.of(Arguments.of("readme.txt", true), Arguments.of("notes.log", false), Arguments.of("", false),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
mappingItemList = itemList; } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } } /** * Returns the simple file name (without directory path) of this mapping file. * * @return the file name without the full path */ public String getSimpleName() { return new File(path).getName(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
if (data == null || data.length == 0) { return 1.0; } if (algorithm == COMPRESSION_NONE) { return 1.0; } // Simple heuristic based on data entropy // In practice, this would be more sophisticated int uniqueBytes = countUniqueBytes(data); double entropy = (double) uniqueBytes / 256.0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
when(parent.getLocator()).thenReturn(parentLocator); // Make the parent appear as a workgroup to use the simpler URL code-path when(parentLocator.isWorkgroup()).thenReturn(true); } /** Simple implementation of FileEntry for controlled inputs in tests. */ private static final class StubFileEntry implements FileEntry { private final String name; private final int type;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)