Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 460 for Convert (1.6 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

            while (i < end) {
              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
              // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them
              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
              val keyInt: Int = key[keyIndex].toInt()
              buffer[i] = (bufferInt xor keyInt).toByte()
    
              i++
              keyIndex++
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import java.math.BigDecimal;
    import java.math.BigInteger;
    
    import junit.framework.TestCase;
    
    /**
     * @author koichik
     *
     */
    public class BigDecimalConversionUtilTest extends TestCase {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            final String value = paramMap.getAsString(SCRIPT_TYPE);
            if (StringUtil.isBlank(value)) {
                return Constants.DEFAULT_SCRIPT;
            }
            return value;
        }
    
        /**
         * Convert the value.
         * @param scriptType The script type.
         * @param template The template.
         * @param paramMap The parameters.
         * @return The converted value.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java

        }
    
        /**
         * Creates an edit body from a path mapping entity for API responses.
         *
         * @param entity the path mapping entity to convert
         * @return edit body containing the entity data
         */
        protected EditBody createEditBody(final PathMapping entity) {
            final EditBody body = new EditBody();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java

        }
    
        /**
         * Creates an edit body from a related content entity for API responses.
         *
         * @param entity the related content entity to convert
         * @return edit body containing the entity data
         */
        protected EditBody createEditBody(final RelatedContent entity) {
            final EditBody body = new EditBody();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Creates an EditBody from an AccessToken entity for API responses.
         * Converts permissions and handles date formatting.
         *
         * @param entity the AccessToken entity to convert
         * @return the EditBody representation of the entity
         */
        protected EditBody createEditBody(final AccessToken entity) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @param i
         *            the number to convert
         */
        public static void appendHex(final StringBuilder buf, final int i) {
            buf.append(Integer.toHexString(i >> 24 & 0xff));
            buf.append(Integer.toHexString(i >> 16 & 0xff));
            buf.append(Integer.toHexString(i >> 8 & 0xff));
            buf.append(Integer.toHexString(i & 0xff));
        }
    
        /**
         * Converts an underscore-separated string to camel case.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                    return true;
                });
            }
            return Collections.emptyList();
        }
    
        /**
         * Converts a string to lowercase.
         *
         * @param term The string to convert.
         * @return The lowercase string.
         */
        private String toLowerCase(final String term) {
            return term != null ? term.toLowerCase(Locale.ROOT) : term;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

        }
    
        /**
         * Creates an EditBody from a Role entity.
         *
         * @param entity the role entity to convert
         * @return the converted EditBody
         */
        protected EditBody createEditBody(final Role entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    The only thing the function returned by `GzipRequest.get_route_handler` does differently is convert the `Request` to a `GzipRequest`.
    
    Doing this, our `GzipRequest` will take care of decompressing the data (if necessary) before passing it to our *path operations*.
    
    After that, all of the processing logic is the same.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top