Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 156 for Ascii (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            when(mockConfig.isUseUnicode()).thenReturn(true);
            when(mockConfig.isForceUnicode()).thenReturn(false);
            when(mockConfig.getOemEncoding()).thenReturn("ASCII");
        }
    
        @Test
        @DisplayName("Test constructor with standard path")
        void testConstructorWithStandardPath() {
            // Test standard path without trailing backslash
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        if (charset.equals(UTF_8)) {
          int utf16Length = input.length();
          int h1 = seed;
          int i = 0;
          int len = 0;
    
          // This loop optimizes for pure ASCII.
          while (i + 4 <= utf16Length) {
            char c0 = input.charAt(i);
            char c1 = input.charAt(i + 1);
            char c2 = input.charAt(i + 2);
            char c3 = input.charAt(i + 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

          BaseEncoding encoding, String decoded, String encoded) {
        testEncodingWithSeparators(encoding, decoded, encoded);
        testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded));
        testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded));
      }
    
      private static void testEncodingWithSeparators(
          BaseEncoding encoding, String decoded, String encoded) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
            SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

       * Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
       * an exception if parsing fails. Additionally, this method only accepts ASCII digits, and returns
       * {@code null} if non-ASCII digits are present in the string.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FLAGS_TARGET_MUST_BE_FILE = 0x0001;
        /** Target must be directory flag */
        int FLAGS_TARGET_MUST_BE_DIRECTORY = 0x0002;
        /** Copy target mode ASCII flag */
        int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004;
        /** Copy source mode ASCII flag */
        int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008;
        /** Verify all writes flag */
        int FLAGS_VERIFY_ALL_WRITES = 0x0010;
        /** Tree copy flag */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
            writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSinkTest.java

    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    
      @Override
      public void setUp() {
        sink = new TestCharSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertEquals((byte) ((expectedAttributes >> 8) & 0xFF), dst[dstIndex + 1]);
        }
    
        /**
         * Test writeBytesWireFormat with ASCII encoding
         */
        @Test
        @DisplayName("Test writeBytesWireFormat writes file names correctly in ASCII")
        public void testWriteBytesWireFormatAscii() throws Exception {
            // Given
            String oldFileName = "oldFile.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top