Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2081 - 2090 of 4,415 for Static (0.04 seconds)

  1. docs/zh/docs/advanced/templates.md

    ```
    
    ## 模板与静态文件
    
    你还可以在模板内部将 `url_for()`用于静态文件,例如你挂载的 `name="static"`的 `StaticFiles`。
    
    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    本例中,它将链接到 `static/styles.css`中的CSS文件:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    因为使用了 `StaticFiles`, **FastAPI** 应用会自动提供位于 URL `/static/styles.css`的 CSS 文件。
    
    ## 更多说明
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java

         */
        public static BigInteger toBigInteger(final Object o) {
            return toBigInteger(o, null);
        }
    
        /**
         * Converts to {@link BigInteger}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link BigInteger}
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import org.codelibs.core.beans.Converter;
    
    /**
     * Exception thrown when an error occurs in a {@link Converter}.
     *
     * @author higa
     */
    public class ConverterRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The name of the property.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception that wraps {@link NoSuchFieldException}.
     *
     * @author higa
     */
    public class NoSuchFieldRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 6609175673610180338L;
    
        /**
         * The target class.
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.request().header("Date"));
        }
      }
    
      static class CurrentDateInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 31 15:32:50 GMT 2018
    - 1.8K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostString.java

    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostString {
      public static final MediaType MEDIA_TYPE_MARKDOWN
          = MediaType.get("text/x-markdown; charset=utf-8");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        String postBody = ""
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/SpecialRandom.java

     * benchmark parameter.
     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    @NullUnmarked
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
        return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s));
      }
    
      private final boolean hasSeed;
      private final long seed;
    
      public SpecialRandom() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/templates.md

    ```
    
    ## Templates und statische Dateien { #templates-and-static-files }
    
    Sie können `url_for()` innerhalb des Templates auch beispielsweise mit den `StaticFiles` verwenden, die Sie mit `name="static"` gemountet haben.
    
    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    In diesem Beispiel würde das zu einer CSS-Datei unter `static/styles.css` verlinken, mit folgendem Inhalt:
    
    ```CSS hl_lines="4"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @PlexusTest
    class PomConstructionWithSettingsTest {
        private static final String BASE_DIR = "src/test";
    
        private static final String BASE_POM_DIR = BASE_DIR + "/resources-settings";
    
        @Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.cache.LocalCache.Strength.STRONG;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Function;
    import com.google.common.cache.LocalCache.Strength;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top