Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,788 for _code (0.34 sec)

  1. 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 Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. 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)
  7. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  8. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

      protected UnicodeEscaper() {}
    
      /**
       * Returns the escaped form of the given Unicode code point, or {@code null} if this code point
       * does not need to be escaped. When called as part of an escaping operation, the given code point
       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
       * <p>If an empty array is returned, this effectively strips the input character from the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  10. 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 Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top