Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 212 for 0x40 (0.02 sec)

  1. android/guava/src/com/google/common/base/Ascii.java

    import com.google.common.annotations.GwtCompatible;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Static methods pertaining to ASCII characters (those in the range of values {@code 0x00} through
     * {@code 0x7F}), and to strings containing such characters.
     *
     * <p>ASCII utilities also exist in other classes of this package:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            } else {
                // no password in tree connect
                this.passwordLength = 1;
            }
    
            dst[dstIndex] = this.disconnectTid ? (byte) 0x01 : (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt2(this.passwordLength, dst, dstIndex);
            return 4;
        }
    
        @SuppressWarnings("deprecation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                // Test with various wildcard patterns and attribute masks
                String[] wildcards = { "*.txt", "test*", null };
                int[] attributes = { 0x10, 0x20, 0x07 };
    
                for (int i = 0; i < wildcards.length; i++) {
                    DosFileFilter dos = new DosFileFilter(wildcards[i], attributes[i]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java

            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            // Expected format: buffer format (1 byte) + file name (null-terminated)
            int expectedLength = 1 + TEST_FILE_NAME.length() + 1;
            assertEquals(expectedLength, bytesWritten);
            assertEquals(0x04, dst[0]); // Buffer format
            assertEquals(TEST_FILE_NAME, new String(dst, 1, TEST_FILE_NAME.length()));
        }
    
        @Test
        public void testReadParameterWordsWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

            isBroadcast = false;
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            final int tmp = questionName.hexCode;
            questionName.hexCode = 0x00; // type has to be 0x00 for node status
            final int result = writeQuestionSectionWireFormat(dst, dstIndex);
            questionName.hexCode = tmp;
            return result;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                SMBUtil.writeInt2(this.ntHash.length, dst, dstIndex);
            }
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            dst[dstIndex++] = (byte) 0x00;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top