Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for Sharaf (0.22 sec)

  1. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

      }
    
      public void testEquals() throws Exception {
        Method charAt = String.class.getMethod("charAt", int.class);
        Method concat = String.class.getMethod("concat", String.class);
        new EqualsTester()
            .addEqualityGroup(
                Subscriber.create(bus, "foo", charAt), Subscriber.create(bus, "foo", charAt))
            .addEqualityGroup(Subscriber.create(bus, "bar", charAt))
            .addEqualityGroup(Subscriber.create(bus, "foo", concat))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. 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);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

      }
    
      public void testEquals() throws Exception {
        Method charAt = String.class.getMethod("charAt", int.class);
        Method concat = String.class.getMethod("concat", String.class);
        new EqualsTester()
            .addEqualityGroup(
                Subscriber.create(bus, "foo", charAt), Subscriber.create(bus, "foo", charAt))
            .addEqualityGroup(Subscriber.create(bus, "bar", charAt))
            .addEqualityGroup(Subscriber.create(bus, "foo", concat))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    continue;
                }
    
                char ch = s.charAt(pos);
                pos++;
                if (ch == '\\') {
                    sb.append(ch);
                    if (pos >= end) {
                        break; // ERROR, or let it go?
                    }
                    ch = s.charAt(pos);
                    pos++;
                }
    
                sb.append(ch);
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                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);
                    }
                }
                return sb.toString();
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher anyOf(final CharSequence sequence) {
        switch (sequence.length()) {
          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

      public static CharMatcher anyOf(final CharSequence sequence) {
        switch (sequence.length()) {
          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/BaseEncoding.java

          int bytesWritten = 0;
          for (int i = 0; i < chars.length(); ) {
            int chunk = alphabet.decode(chars.charAt(i++)) << 18;
            chunk |= alphabet.decode(chars.charAt(i++)) << 12;
            target[bytesWritten++] = (byte) (chunk >>> 16);
            if (i < chars.length()) {
              chunk |= alphabet.decode(chars.charAt(i++)) << 6;
              target[bytesWritten++] = (byte) ((chunk >>> 8) & 0xFF);
              if (i < chars.length()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                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);
                    }
                }
                return sb.toString();
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

            }
          }
        }
        if (ipString.charAt(0) == IPV6_DELIMITER && ipString.charAt(1) != IPV6_DELIMITER) {
          return null; // ^: requires ^::
        }
        if (ipString.charAt(ipString.length() - 1) == IPV6_DELIMITER
            && ipString.charAt(ipString.length() - 2) != IPV6_DELIMITER) {
          return null; // :$ requires ::$
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top