Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 252 for 0x200 (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            ByteBuffer bb = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
            bb.putShort((short) fid);
            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
        }
    
        /**
         * Provide a range of values that are valid for the constructor.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                /* 01234567
                 * 00SSFSMB
                 * 0 - 0's
                 * S - size of payload
                 * FSMB - 0xFF SMB magic #
                 */
    
                if (sbuf[0] == (byte) 0x00 && sbuf[1] == (byte) 0x00 && sbuf[4] == (byte) 0xFF && sbuf[5] == (byte) 'S' && sbuf[6] == (byte) 'M'
                        && sbuf[7] == (byte) 'B') {
                    break; /* all good */
                }
                /* out of phase maybe? */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       * @return {@code true} if the argument is a 6to4 address
       */
      public static boolean is6to4Address(Inet6Address ip) {
        byte[] bytes = ip.getAddress();
        return (bytes[0] == (byte) 0x20) && (bytes[1] == (byte) 0x02);
      }
    
      /**
       * Returns the IPv4 address embedded in a 6to4 address.
       *
       * @param ip {@link Inet6Address} to be examined for embedded IPv4 in 6to4 address
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

                + "abcdefghijklmnopqrstuvwxyz"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameTest.java

            Name name1 = new Name(mockConfig, "TEST", 0x20, "scope");
            Name name2 = new Name(mockConfig, "TEST", 0x20, "scope");
    
            assertTrue(name1.equals(name2));
        }
    
        @Test
        void equals_withDifferentName_shouldReturnFalse() {
            Name name1 = new Name(mockConfig, "TEST1", 0x20, "scope");
            Name name2 = new Name(mockConfig, "TEST2", 0x20, "scope");
    
            assertFalse(name1.equals(name2));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                int off = inv.getArgument(1);
                b[off] = 0x3F;
                b[off + 1] = (byte) 0xF0;
                b[off + 2] = 0x00;
                b[off + 3] = 0x00;
                b[off + 4] = 0x00;
                b[off + 5] = 0x00;
                b[off + 6] = 0x00;
                b[off + 7] = 0x00;
                return 8;
            }).when(raf).read(any(byte[].class), anyInt(), eq(8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

            this.filename = filename;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_FIND_NEXT2;
            informationLevel = Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO;
            flags = 0x00;
            maxParameterCount = 8;
            maxDataCount = Trans2FindFirst2.LIST_SIZE;
            maxSetupCount = 0;
        }
    
        @Override
        void reset(final int resumeKey, final String lastName) {
            super.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

            } else {
                this.path = filename + "\\";
            }
            this.wildcard = wildcard;
            this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */
    
            this.tflags = 0x00;
            this.informationLevel = SMB_FILE_BOTH_DIRECTORY_INFO;
    
            this.totalDataCount = 0;
            this.maxParameterCount = 10;
            this.maxItems = batchCount;
            this.maxDataCount = batchSize;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

        void testConstructor() throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file");
            assertEquals("/file", getPrivateField(cmd, "path"));
            assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount"));
            assertEquals(4096, getPrivateField(cmd, "maxDataCount"));
        }
    
        @Test
        @DisplayName("writeSetupWireFormat writes subCommand and padding")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HexdumpTest.java

    @DisplayName("Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert byte array to hex string")
        void testToHexString() {
            // Given
            byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 };
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
            assertEquals("000FFF7F80", result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top