Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,785 for _code (4.47 sec)

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

        utf8Lengths.put(0x7f, 1);
        utf8Lengths.put(0x80, 2);
        utf8Lengths.put(0x7ff, 2);
        utf8Lengths.put(0x800, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4);
        utf8Lengths.put(MAX_CODE_POINT, 4);
    
        Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {});
        StringBuilder sb = new StringBuilder();
        Random rnd = new Random();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        // escaping elements from a map you would use a ArrayBasedCharEscaper).
        UnicodeEscaper escaper =
            new ArrayBasedUnicodeEscaper(
                SIMPLE_REPLACEMENTS, Character.MIN_VALUE, Character.MAX_CODE_POINT, null) {
              @Override
              protected char[] escapeUnsafe(int c) {
                return NO_CHARS;
              }
            };
        EscaperAsserts.assertBasic(escaper);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        UnicodeEscaper e = SIMPLE_ESCAPER;
        String expected =
            "[0]abyz[128][256][2048][4096]ABYZ[65535]"
                + "["
                + Character.MIN_SUPPLEMENTARY_CODE_POINT
                + "]"
                + "0189["
                + Character.MAX_CODE_POINT
                + "]";
        assertEquals(expected, escapeAsString(e, TEST_STRING));
      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              // Mostly 3-byte UTF-8 sequences - "Asian" text
              return Character.MIN_SUPPLEMENTARY_CODE_POINT;
            } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) {
              // Mostly 4-byte UTF-8 sequences - "rare exotic" text
              return Character.MAX_CODE_POINT;
            } else {
              throw new IllegalArgumentException("Can't decode codepoint " + userFriendly);
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        UnicodeEscaper e = SIMPLE_ESCAPER;
        String expected =
            "[0]abyz[128][256][2048][4096]ABYZ[65535]"
                + "["
                + Character.MIN_SUPPLEMENTARY_CODE_POINT
                + "]"
                + "0189["
                + Character.MAX_CODE_POINT
                + "]";
        assertEquals(expected, escapeAsString(e, TEST_STRING));
      }
    
      public void testGrowBuffer() { // need to grow past an initial 1024 byte buffer
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                    }
                }
            }
        }
    
        protected TokenResponse getTokenUrl(final String code) throws IOException {
            return new AuthorizationCodeTokenRequest(httpTransport, jsonFactory, new GenericUrl(getOicTokenServerUrl()), code)//
                    .setGrantType("authorization_code")//
                    .setRedirectUri(getOicRedirectUrl())//
                    .set("client_id", getOicClientId())//
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                logger.debug("[{}] {}", errorCode, stacktraceString.get().replace("\n", "\\n"));
            } else {
                logger.warn("[{}] {}", errorCode, cause.getMessage());
            }
            return "error_code:" + errorCode;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

     * <p><b>Warning:</b> This class deals only with {@code char} values, that is, <a
     * href="http://www.unicode.org/glossary/#BMP_character">BMP characters</a>. It does not understand
     * <a href="http://www.unicode.org/glossary/#supplementary_code_point">supplementary Unicode code
     * points</a> in the range {@code 0x10000} to {@code 0x10FFFF} which includes the majority of
     * assigned characters, including important CJK characters and emoji.
     *
    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)
  9. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        protected boolean httpOnly = true;
    
        public String getUserCode() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                String userCode = (String) request.getAttribute(Constants.USER_CODE);
                if (StringUtil.isNotBlank(userCode)) {
                    return userCode;
                }
    
                userCode = getUserCodeFromRequest(request);
                if (StringUtil.isNotBlank(userCode)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

                defaultMap.put(FessConfig.THUMBNAIL_SYSTEM_MONITOR_INTERVAL, "60");
                defaultMap.put(FessConfig.USER_CODE_REQUEST_PARAMETER, "userCode");
                defaultMap.put(FessConfig.USER_CODE_MIN_LENGTH, "20");
                defaultMap.put(FessConfig.USER_CODE_MAX_LENGTH, "100");
                defaultMap.put(FessConfig.USER_CODE_PATTERN, "[a-zA-Z0-9_]+");
                defaultMap.put(FessConfig.MAIL_FROM_NAME, "Administrator");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
Back to top