- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for CODES (0.3 sec)
-
src/test/java/jcifs/smb/NtStatusTest.java
} } @Test @DisplayName("Should have status codes array") void testStatusCodesArray() { // When int[] codes = NtStatus.NT_STATUS_CODES; // Then assertNotNull(codes); assertTrue(codes.length > 0); // First code should be success assertEquals(NtStatus.NT_STATUS_SUCCESS, codes[0]); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
} @Test @DisplayName("Should have correct dialect codes for SMB2+ versions") void testDialectCodes() { // SMB1 should throw UnsupportedOperationException assertThrows(UnsupportedOperationException.class, () -> { DialectVersion.SMB1.getDialect(); }); // SMB2+ versions should have valid dialect codes assertTrue(DialectVersion.SMB202.getDialect() > 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcError.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc; /** * DCE/RPC error codes and fault constants */ public interface DcerpcError { /** * Generic fault code for other errors */ int DCERPC_FAULT_OTHER = 0x00000001; /** * Access denied fault code */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DosError.java
*/ package jcifs.smb; /** * Interface defining DOS error codes and their mappings to NT status codes. * Provides lookup tables for converting between DOS and NT error representations. */ public interface DosError { /** * Mapping table from DOS error codes to NT status codes. * Each entry contains a pair of [DOS error code, NT status code]. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DosError.java
*/ package jcifs.smb1.smb1; /** * Interface defining DOS error codes and their mappings to NT status codes for SMB1 protocol. * Provides lookup tables for converting between DOS and NT error representations. */ public interface DosError { /** * Mapping table from DOS error codes to NT status codes. * Each entry contains a pair of [DOS error code, NT status code]. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
// Helper to lookup a message by code using the production arrays private static Optional<String> lookupMessage(int code) { int[] codes = WinError.WINERR_CODES; String[] msgs = WinError.WINERR_MESSAGES; for (int i = 0; i < codes.length; i++) { if (codes[i] == code) { return Optional.of(msgs[i]); } } return Optional.empty(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
faultCodes.add(DcerpcError.DCERPC_FAULT_PROTO_ERROR); // Verify all 9 codes are unique assertEquals(9, faultCodes.size(), "All fault codes should be unique"); } @Test @DisplayName("Should verify fault code value ranges and patterns") void testFaultCodeValueRanges() { // Standard fault codes (0x00000000 - 0x0000FFFF range)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtException.java
import java.io.IOException; /** * NetBIOS exception class for NBT-related errors. * * This exception encapsulates NetBIOS name service and session service errors * with specific error classes and codes. */ public class NbtException extends IOException { // error classes /** Success status code */ public static final int SUCCESS = 0; /** Name service error class */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
RandomHasherAction.pickAtRandom(random).performAction(random, hashers); } HashCode[] codes = new HashCode[hashers.size()]; for (int i = 0; i < hashers.size(); i++) { codes[i] = hashers.get(i).hash(); } for (int i = 1; i < codes.length; i++) { assertEquals(codes[i - 1], codes[i]); } } public void testPutStringWithLowSurrogate() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcError.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc; /** * DCE/RPC error codes and fault constants for SMB1 compatibility */ public interface DcerpcError { /** * Generic fault code for other errors */ int DCERPC_FAULT_OTHER = 0x00000001; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)