Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 489 for charm (0.04 seconds)

  1. src/test/java/jcifs/netbios/NameTest.java

            Name name = new Name(mockConfig, "\u0001MSBROWSE      ", 0x01, null);
            String result = name.toString();
    
            // Should replace first char with '..' and char at position 14 with '.'
            assertTrue(result.contains(".."));
            assertFalse(result.contains("\u0001"));
        }
    
        @Test
        void toString_withoutScope_shouldNotIncludeScope() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/netbios/Name.java

            String n = name;
    
            // fix MSBROWSE name
            if (n == null) {
                n = "null";
            } else if (n.charAt(0) == 0x01) {
                final char c[] = n.toCharArray();
                c[0] = '.';
                c[1] = '.';
                c[14] = '.';
                n = new String(c);
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    .map(HttpServletRequest::getCharacterEncoding)
                    .orElse(Constants.UTF_8);
            final StringBuilder buf = new StringBuilder(url.length() + 100);
            for (final char c : url.toCharArray()) {
                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), enc));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

    import com.google.common.collect.testing.google.TestStringListMultimapGenerator;
    import com.google.common.collect.testing.google.UnmodifiableCollectionTests;
    import com.google.common.primitives.Chars;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

        private String unescape(final String s) {
            if (s.indexOf('\\') >= 0) {
                final StringBuilder sb = new StringBuilder();
                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            StringBuilder sb = new StringBuilder();
            for (int i = offset; i < offset + length && buffer[i] != 0; i++) {
                if (buffer[i] != 0) {
                    sb.append((char) buffer[i]);
                }
            }
            return sb.toString();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            byte[] data = new byte[] { 0x04, 0x00, 0x00, 0x00, // total
                    0x01, 0x00, 0x00, 0x00, // unused
                    0x02, 0x00, 0x00, 0x00, // used
                    0x00, 0x00, // unused char
                    0x41, 0x00, // 'A'
                    0x42, 0x00 // 'B'
            };
            PacDataInputStream pdis = createInputStream(data);
            String str = pdis.readString();
            assertEquals("AB", str);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            }
    
            final long start = System.currentTimeMillis();
            final StringBuilder buf = new StringBuilder(searchWord.length());
            char prev = 0;
            for (final char c : searchWord.toCharArray()) {
                if (!Character.isWhitespace(c)) {
                    buf.append(c);
                } else if (!Character.isWhitespace(prev)) {
                    buf.append(' ');
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 34.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/SecureKeyManager.java

        private final Map<String, byte[]> rawKeys = new ConcurrentHashMap<>();
        private final SecureRandom secureRandom = new SecureRandom();
        private KeyStore keyStore;
        private char[] keyStorePassword;
        private volatile boolean closed = false;
    
        /**
         * Create a secure key manager without KeyStore
         */
        public SecureKeyManager() {
            this.keyStore = null;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      @CanIgnoreReturnValue
      public final Hasher putShort(short s) {
        buffer.putShort(s);
        munchIfFull();
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putChar(char c) {
        buffer.putChar(c);
        munchIfFull();
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putInt(int i) {
        buffer.putInt(i);
        munchIfFull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
Back to Top