Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 344 for charm (0.03 sec)

  1. guava-tests/test/com/google/common/base/DefaultsTest.java

    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/JsonUtil.java

         *
         * @param value input
         * @return escaped string.
         */
        public static String escape(final String value) {
            if (value == null) {
                return null;
            }
    
            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
            for (int i = 0; i < len; i++) {
                c = value.charAt(i);
                String escaped = switch (c) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        static String unescape(final String str) throws NumberFormatException, UnsupportedEncodingException {
            char ch;
            int i, j, state, len;
            char[] out;
            final byte[] b = new byte[1];
    
            if (str == null) {
                return null;
            }
    
            len = str.length();
            out = new char[len];
            state = 0;
            for (i = j = 0; i < len; i++) {
                switch (state) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @Override
      short readShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readUnsignedShort();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      char readChar();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      int readInt();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      long readLong();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.Iterables;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    @NullUnmarked
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        data = sb.toString();
      }
    
      @Benchmark
      public long timeCopy(int reps) throws IOException {
        long r = 0;
        String localData = data;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. docs/distributed/samples/bootstrap-complete.ldif

    dn: uid=fahim,ou=people,ou=swengg,dc=min,dc=io
    objectClass: inetOrgPerson
    cn: Fahim Ahmed
    sn: Ahmed
    uid: fahim
    mail: ******@****.***
    userPassword: {SSHA}lRNH+PHooRaruiEb+CBEA21EZLMkAmcc
    
    # Add a user with special chars. The password = example here.
    dn: uid=Пользователь,OU=people,OU=swengg,DC=min,DC=io
    objectClass: inetOrgPerson
    cn: Special Charsman
    sn: Charsman
    uid: Пользователь
    mail: ******@****.***
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            }
        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String message = "LDAP error: \"Invalid <config>\" & 'bad chars' @ #$%^&*()";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        public void test_unicodeCharactersInMessage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String specialMessage = "Error: \n\t\r Special chars: 日本語 中文 한국어 émojis 😀 🎉";
            ScheduledJobException exception = new ScheduledJobException(specialMessage);
    
            assertEquals(specialMessage, exception.getMessage());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractHasher.java

      public Hasher putLong(long l) {
        for (int i = 0; i < 64; i += 8) {
          putByte((byte) (l >>> i));
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putChar(char c) {
        putByte((byte) c);
        putByte((byte) (c >>> 8));
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public <T extends @Nullable Object> Hasher putObject(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top