Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 328 for literals (0.06 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodTableRenderer.java

                // <tr>
                //   <td><literal><link linkend="$id">$name</link>$signature</literal></td>
                //   <td>$description</td>
                // </tr>
                tr = document.createElement("tr");
                parent.appendChild(tr);
    
                td = document.createElement("td");
                tr.appendChild(td);
                Element literal = document.createElement("literal");
                td.appendChild(literal);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/LineIterator.java

         *            文字列を読み込む{@link Reader}。{@literal null}であってはいけません
         */
        public LineIterator(final Reader reader) {
            assertArgumentNotNull("reader", reader);
            this.reader = new BufferedReader(reader);
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param reader
         *            文字列を読み込む{@link BufferedReader}。{@literal null}であってはいけません
         */
        public LineIterator(final BufferedReader reader) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs_src/query_param_models/tutorial001_an_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Annotated, Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 453 bytes
    - Viewed (0)
  4. docs_src/query_param_models/tutorial002_py39.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 472 bytes
    - Viewed (0)
  5. docs_src/query_param_models/tutorial002.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 497 bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            ClassMetaData otherClass = Mock()
    
            when:
            def link = converter.resolveValue('SomeName#someField', classMetaData, listener)
    
            then:
            format(link) == '<literal>value</literal>'
            _ * nameResolver.resolve('SomeName', classMetaData) >> 'org.gradle.SomeName'
            _ * repository.find('org.gradle.SomeName') >> otherClass
            _ * otherClass.constants >> [someField: 'value']
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/MultiIterator.java

        /**
         * for each構文で使用するために{@link MultiIterator}をラップした{@link Iterable}を返します。
         *
         * @param <E>
         *            要素の型
         * @param iterables
         *            {@link Iterable}の並び。{@literal null}であってはいけません
         * @return {@link MultiIterator}をラップした{@link Iterable}
         */
        public static <E> Iterable<E> iterable(final Iterable<E>... iterables) {
            assertArgumentNotNull("iterables", iterables);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ReaderUtil.java

        private static final int BUF_SIZE = 4096;
    
        /**
         * 指定のエンコーディングでファイルから入力する{@link Reader}を作成します。
         *
         * @param is
         *            入力ストリーム。{@literal null}であってはいけません
         * @param encoding
         *            入力ストリームのエンコーディング。{@literal null}や空文字列であってはいけません
         * @return ファイルかへ出力する{@link Reader}
         */
        public static InputStreamReader create(final InputStream is, final String encoding) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

         * @return {@link PropertyDesc}。プロパティが存在しない場合は{@literal null}
         */
        protected PropertyDesc getPropertyDescNoException(final String propertyName) {
            return propertyDescCache.get(propertyName);
        }
    
        /**
         * 引数に適合する{@link ConstructorDesc}を返します。
         *
         * @param args
         *            コンストラクタ引数の並び
         * @return 引数に適合する{@link ConstructorDesc}。存在しない場合は{@literal null}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            return new Float(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * {@literal float}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal float}
         */
        public static float toPrimitiveFloat(final Object o) {
            return toPrimitiveFloat(o, null);
        }
    
        /**
         * {@literal float}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top