Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 323 for charm (0.48 sec)

  1. src/main/java/jcifs/smb1/dcerpc/UUID.java

         * @return the hexadecimal string representation
         */
        public static String bin_to_hex(int value, final int length) {
            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/Tokenizer.java

                int i = 0;
                do {
                    if (i >= buf.length) {
                        final char[] nb = new char[buf.length * 2];
                        System.arraycopy(buf, 0, nb, 0, buf.length);
                        buf = nb;
                    }
                    buf[i++] = (char) peekc;
                    peekc = read();
                    peekct = peekc < 0 ? CT_WHITESPACE : peekc < 256 ? ctype[peekc] : CT_ALPHA;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            assertNotNull(constantTimeMethod, "constantTimeEquals method should exist");
            constantTimeMethod.setAccessible(true);
    
            // Test the method directly
            char[] password1 = "testpassword".toCharArray();
            char[] password2 = "testpassword".toCharArray();
            char[] password3 = "testpassworX".toCharArray();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

      // original character value.
      @VisibleForTesting
      static char[][] createReplacementArray(Map<Character, String> map) {
        checkNotNull(map); // GWT specific check (do not optimize)
        if (map.isEmpty()) {
          return EMPTY_REPLACEMENT_ARRAY;
        }
        char max = max(map.keySet());
        char[][] replacements = new char[max + 1][];
        for (Character c : map.keySet()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

        }
    
        /**
         * Generates the NT password hash for the given password.
         * This version accepts char[] for better security.
         *
         * @param password the password to hash as char array
         * @return nt password hash
         */
        public static byte[] getNTHash(final char[] password) {
            if (password == null) {
                throw new NullPointerException("Password parameter is required");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/EscapersTest.java

      static CharEscaper createSimpleCharEscaper(ImmutableMap<Character, char[]> replacementMap) {
        return new CharEscaper() {
          @Override
          protected char[] escape(char c) {
            return replacementMap.get(c);
          }
        };
      }
    
      // A trivial non-optimized escaper for testing.
      static UnicodeEscaper createSimpleUnicodeEscaper(ImmutableMap<Integer, char[]> replacementMap) {
        return new UnicodeEscaper() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/UnicodeString.java

            }
        }
    
        @Override
        public String toString() {
            final int len = this.length / 2 - (this.zterm ? 1 : 0);
            final char[] ca = new char[len];
            for (int i = 0; i < len; i++) {
                ca[i] = (char) this.buffer[i];
            }
            return new String(ca, 0, len);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java

     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    /**
     * @author Jesse Wilson
     */
    final class Platform {
    
      private static final char[] CHAR_BUFFER = new char[1024];
    
      static char[] charBufferFromThreadLocal() {
        // ThreadLocal is not available to GWT, so we always reuse the same
        // instance.  It is always safe to return the same instance because
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Hexdump.java

         * @return a hexadecimal string representation of the value, padded to the specified size
         */
        public static String toHexString(final int val, final int size) {
            final char[] c = new char[size];
            toHexChars(val, c, 0, size);
            return new String(c);
        }
    
        /**
         * Converts a long value to a hexadecimal string representation with specified padding.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        }
      }
    
      public void testUtf8() {
        char[] charsA = new char[128];
        char[] charsB = new char[128];
    
        for (int i = 0; i < charsA.length; i++) {
          if (i < 100) {
            charsA[i] = 'a';
            charsB[i] = 'a';
          } else {
            // Both two-byte characters, but must be different
            charsA[i] = (char) (0x0180 + i);
            charsB[i] = (char) (0x0280 + i);
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top