Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 730 for charsA (0.03 sec)

  1. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

        for (int i = 0; i < len; i++) {
          buffer.putChar(input.charAt(i));
        }
        return hashBytes(buffer.array());
      }
    
      @Override
      public HashCode hashString(CharSequence input, Charset charset) {
        return hashBytes(input.toString().getBytes(charset));
      }
    
      @Override
      public abstract HashCode hashBytes(byte[] input, int off, int len);
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       *
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      @Override
      protected final char @Nullable [] escape(int cp) {
        if (cp < replacementsLength) {
          char[] chars = replacements[cp];
          if (chars != null) {
            return chars;
          }
        }
        if (cp >= safeMin && cp <= safeMax) {
          return null;
        }
        return escapeUnsafe(cp);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
          return charactersOf(String.copyValueOf(chars));
        }
      }
    
      public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator {
        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       */
      @Override
      protected final char @Nullable [] escape(char c) {
        if (c < replacementsLength) {
          char[] chars = replacements[c];
          if (chars != null) {
            return chars;
          }
        }
        if (c >= safeMin && c <= safeMax) {
          return null;
        }
        return escapeUnsafe(c);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/Base64Util.java

            final byte b0 = DECODE_TABLE[inData.charAt(inIndex)];
            final byte b1 = DECODE_TABLE[inData.charAt(inIndex + 1)];
            final byte b2 = DECODE_TABLE[inData.charAt(inIndex + 2)];
            final byte b3 = DECODE_TABLE[inData.charAt(inIndex + 3)];
            outData[outIndex] = (byte) (b0 << 2 & 0xfc | b1 >> 4 & 0x3);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractHasher.java

        for (int i = 0, len = charSequence.length(); i < len; i++) {
          putChar(charSequence.charAt(i));
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putString(CharSequence charSequence, Charset charset) {
        return putBytes(charSequence.toString().getBytes(charset));
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/StringsTest.java

            }
    
            @ParameterizedTest
            @DisplayName("getBytes should handle various string inputs")
            @NullAndEmptySource
            @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский",
                    "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" })
            void testGetBytesWithVariousInputs(String input) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        @CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename
                "file-with-special-chars!@#$%^&().bin" })
        void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException {
            byte[] buffer = createValidNotificationBuffer(fileName, FileNotifyInformation.FILE_ACTION_ADDED);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacDataInputStream.java

            }
    
            this.dis.skip(unusedChars * 2);
            final char[] chars = new char[usedChars];
            for (int l = 0; l < usedChars; l++) {
                chars[l] = (char) readShort();
            }
    
            return new String(chars);
        }
    
        /**
         * Reads a 32-bit RID and constructs a SID from it.
         * @return the constructed SID object
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Name.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.netbios;
    
    import java.io.UnsupportedEncodingException;
    import java.nio.charset.Charset;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    /**
     * NetBIOS name representation for SMB1 protocol.
     * This class represents a NetBIOS name with its associated type and scope.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top