Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for toCharArray (0.05 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

        private SecureCredentialStorage storage;
        private char[] masterPassword;
    
        @BeforeEach
        public void setUp() throws Exception {
            masterPassword = "MasterPassword123!@#".toCharArray();
            storage = new SecureCredentialStorage(masterPassword.clone());
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (storage != null && !storage.isDestroyed()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertFalse(userAuth.isGuest());
            assertFalse(userAuth.isAnonymous());
        }
    
        /**
         * Test password in equals method
         */
        @Test
        public void testEqualsWithSecurePassword() {
            char[] password1 = "TestPass123!".toCharArray();
            char[] password2 = "TestPass123!".toCharArray();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            char[] basePassword = "supersecretpassword123456789".toCharArray();
            char[] diffAtStart = "Xupersecretpassword123456789".toCharArray();
            char[] diffAtMiddle = "supersecretpXssword123456789".toCharArray();
            char[] diffAtEnd = "supersecretpassword12345678X".toCharArray();
    
            // Create authenticators
    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. src/main/java/org/codelibs/core/xml/DomUtil.java

         * @return The encoded attribute value.
         */
        public static String encodeAttrQuot(final String s) {
            if (s == null) {
                return null;
            }
            final char[] content = s.toCharArray();
            final StringBuilder buf = new StringBuilder(s.length() + 100);
            for (final char element : content) {
                switch (element) {
                case '<':
                    buf.append("&lt;");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            this.domain = dom != null ? dom : defDomain != null ? defDomain : "";
            this.username = user != null ? user : defUser != null ? defUser : "";
            this.password = pass != null ? pass.toCharArray() : defPassword != null ? defPassword.toCharArray() : new char[0];
    
            if (type == null) {
                this.type = guessAuthenticationType();
            } else {
                this.type = type;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                return getFirstAddress();
            }
            return this.addresses[this.addressIndex - 1];
        }
    
        static String queryLookup(final String query, final String param) {
            final char in[] = query.toCharArray();
            int i, ch, st, eq;
    
            st = eq = 0;
            for (i = 0; i < in.length; i++) {
                ch = in[i];
                if (ch == '&') {
                    if (eq > st) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @return the decapitalized string
         */
        public static String decapitalize(final String name) {
            if (isEmpty(name)) {
                return name;
            }
            final char[] chars = name.toCharArray();
            if (chars.length >= 2 && Character.isUpperCase(chars[0]) && Character.isUpperCase(chars[1])) {
                return name;
            }
            chars[0] = Character.toLowerCase(chars[0]);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Ascii.java

       */
      public static String toLowerCase(String string) {
        int length = string.length();
        for (int i = 0; i < length; i++) {
          if (isUpperCase(string.charAt(i))) {
            char[] chars = string.toCharArray();
            for (; i < length; i++) {
              char c = chars[i];
              if (isUpperCase(c)) {
                chars[i] = (char) (c ^ CASE_MASK);
              }
            }
            return String.valueOf(chars);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  9. maven-tests/mvnw

    	{
    	  protected java.net.PasswordAuthentication getPasswordAuthentication()
    	  {
    	    return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
    	  }
    	  public static void main( String[] args ) throws Exception
    	  {
    	    setDefault( new Downloader() );
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                filePath = "file://" + filePath;
            }
    
            final StringBuilder buf = new StringBuilder(filePath.length() + 100);
            try {
                for (final char c : filePath.toCharArray()) {
                    if (c == ' ') {
                        buf.append("%20");
                    } else {
                        final String str = String.valueOf(c);
                        if (StringUtil.isAsciiPrintable(str)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top