Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 364 for 0xE0 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Test setFileInfoClass method")
        void testSetFileInfoClass() {
            request = new Smb2SetInfoRequest(mockConfig);
            byte testFileInfoClass = (byte) 0x10;
    
            request.setFileInfoClass(testFileInfoClass);
    
            // Verify file info class was set
            Field fileInfoClassField;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

                msrpcShareGetInfo.getSecurity();
            });
        }
    
        @Test
        void testInheritedFields() throws Exception {
            // Verify inherited fields are properly set
            assertEquals(0x10, msrpcShareGetInfo.getOpnum());
    
            // Test that the info field is properly initialized
            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            int bytesWritten = transaction.writeParameterWordsWireFormat(dst, 0);
    
            // Verify the bytes written
            assertTrue(bytesWritten > 0);
    
            // For secondary, first byte should be 0x00 (Reserved)
            assertEquals(0, dst[0]);
    
            // Verify reserved bytes
            assertEquals(0, dst[1]);
            assertEquals(0, dst[2]);
    
            // Verify total parameter count (4 bytes at position 3)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            int n, srcHashCode;
            NodeStatusRequest request;
            NodeStatusResponse response = new NodeStatusResponse(addr);
            request = new NodeStatusRequest(new Name(NbtAddress.ANY_HOSTS_NAME, 0x00, null));
            request.addr = addr.getInetAddress();
    
            n = RETRY_COUNT;
            while (n-- > 0) {
                try {
                    send(request, response, RETRY_TIMEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testMacSigningKey = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key and bypass flag")
        void testConstructorWithBypass() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(expectedBytes, actualBytes);
    
            // Verify it's actually UTF-16LE (each ASCII char should be followed by 0x00)
            int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            for (int i = 0; i < testPath.length(); i++) {
                char c = testPath.charAt(i);
                if (c < 128) { // ASCII character
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SpnegoContext.java

        }
    
        private static SpnegoToken getToken(final byte[] token) throws SpnegoException {
            SpnegoToken spnegoToken = null;
            try {
                spnegoToken = switch (token[0]) {
                case (byte) 0x60 -> new NegTokenInit(token);
                case (byte) 0xa1 -> new NegTokenTarg(token);
                default -> throw new SpnegoException("Invalid token type");
                };
                return spnegoToken;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
              escapedInput.append(c);
            } else {
              escapedInput.append(String.format("\\u%04x", (int) c));
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertTrue(workgroupLike.isWorkgroup());
    
            // Server: return a NetBIOS type not 0x1d/0x1b
            when(nb.getNameType()).thenReturn(0x20);
            SmbResourceLocatorImpl server = locator("smb://server");
            when(nsc.getAllByName(eq("server"), eq(true))).thenReturn(new Address[] { addr });
            assertEquals(SmbConstants.TYPE_SERVER, server.getType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertArrayEquals(maxFileId, copiedFileId);
    
            // Test with file ID having minimum byte values
            byte[] minFileId = new byte[16];
            Arrays.fill(minFileId, (byte) 0x00);
            Smb2CloseRequest minRequest = new Smb2CloseRequest(mockConfig, minFileId, testFileName);
    
            written = minRequest.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top