- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 459 for helfen (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
out[2 * i] = (byte) (chars[i] & 0xFF); out[2 * i + 1] = (byte) ((chars[i] >> 8) & 0xFF); } return out; } /** * Helper: create a buffer containing the parameter and data segments */ private static byte[] createBuffer(int dataLen, byte[] dataBytes, String params) throws UnsupportedEncodingException {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; @ExtendWith(MockitoExtension.class) class Smb2LogoffResponseTest { // Helper to create an instance with a mocked Configuration private Smb2LogoffResponse newResponse() { Configuration cfg = Mockito.mock(Configuration.class); return new Smb2LogoffResponse(cfg); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
import org.codelibs.fess.crawler.container.StandardCrawlerContainer; import org.codelibs.fess.crawler.entity.RequestData; import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl; import org.dbflute.utflute.core.PlainTestCase; /** * @author shinsuke * */ public class CrawlerClientFactoryTest extends PlainTestCase { public CrawlerClientFactory clientFactory;Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
* These tests verify that the constructor accepts various parameters * without throwing exceptions. */ @ExtendWith(MockitoExtension.class) class MsrpcSamrConnect2Test { // Helper method to create a minimal SamrPolicyHandle instance. private static SamrPolicyHandle createMockPolicyHandle() { return mock(SamrPolicyHandle.class); } @NestedCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
* exercise normal behaviour, boundary values, and the interaction with * the underlying wire‑format helpers. */ @ExtendWith(MockitoExtension.class) class NtTransQuerySecurityDescTest { /** * Helper that mimics the write logic used by * {@link NtTransQuerySecurityDesc#writeParametersWireFormat(byte[], int)}. */ private static byte[] expectedParameters(int fid, int securityInformation) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} } } } @Override public void close() { stop(); } /** * Helper method to create a complete mock service address * * @return formatted address string for RPC connections */ public String getServiceAddress() { try {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
assertTrue(value <= 0xFFFF, "Constant " + field.getName() + " value seems unusually large"); } } } /** * Helper method to check if a number is a power of two */ private boolean isPowerOfTwo(int n) { return n > 0 && (n & (n - 1)) == 0; }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
public class SmbSessionTest { @Mock UniAddress addr; @Mock InetAddress inet; NtlmPasswordAuthentication auth; @Mock SmbTransport transport; // static helper that returns the mocked transport. The real class // performs several other operations, but for the purpose of the test // we intercept the factory call. private MockedStatic<SmbTransport> smbtStatic;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
import java.lang.reflect.Field; import org.junit.jupiter.api.Test; /** * Tests for SmbComWrite command - SMB write operations */ public class SmbComWriteTest { /** * Helper method to get private field value using reflection */ private Object getFieldValue(Object obj, String fieldName) { try { Field field = SmbComWrite.class.getDeclaredField(fieldName);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
// Test '\t', '\n' and '\r' are escaped. assertEquals("a	b
c
d", xmlAttributeEscaper.escape("a\tb\nc\rd")); } // Helper to assert common properties of xml escapers. static void assertBasicXmlEscaper( CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) { // Simple examples (smoke tests)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 22:03:28 GMT 2025 - 4.8K bytes - Click Count (0)