Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 246 for render (0.22 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10DiagnosticProvider.kt

                @Suppress("UNCHECKED_CAST")
                val factory = diagnostic.factory as DiagnosticFactory<UnboundDiagnostic>?
                return factory?.defaultRenderer?.render(diagnostic)
                    ?: DefaultErrorMessages.getRendererForDiagnostic(diagnostic)?.render(diagnostic)
                    ?: ""
            }
    
        override val psi: PsiElement
            get() = withValidityAssertion { diagnostic.psiElement }
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Wed Jun 22 07:31:36 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  2. docs_src/custom_response/tutorial009c.py

    from typing import Any
    
    import orjson
    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    class CustomORJSONResponse(Response):
        media_type = "application/json"
    
        def render(self, content: Any) -> bytes:
            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 01 09:32:30 GMT 2022
    - 451 bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

          placeholder: Tell us what you see!
          value:
          render: shell
        validations:
          required: true
      - type: textarea
        id: logs
        attributes:
          label: Relevant log output
          description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jun 28 18:25:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

      - type: textarea
        attributes:
          label: API(s)
          description: Which existing classes or methods do you want to improve?
          placeholder: e.g., `com.google.common.collect.ImmutableList::of`
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: How do you want it to be improved?
        validations:
          required: true
    
      - type: textarea
        attributes:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/reference/templating.md

    # Templating - `Jinja2Templates`
    
    You can use the `Jinja2Templates` class to render Jinja templates.
    
    Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/).
    
    You can import it directly from `fastapi.templating`:
    
    ```python
    from fastapi.templating import Jinja2Templates
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 365 bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/base/KtFe10Type.kt

        override val token: KtLifetimeToken
            get() = analysisContext.token
    }
    
    internal fun KotlinType.asStringForDebugging(analysisContext: Fe10AnalysisContext): String {
        val renderer = KtFe10DebugTypeRenderer()
        return prettyPrint { renderer.render(analysisContext, this@asStringForDebugging, this@prettyPrint) }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/rendererrs/KtDiagnosticClassImplementationRenderer.kt

    import org.jetbrains.kotlin.utils.SmartPrinter
    import org.jetbrains.kotlin.utils.withIndent
    
    object KtDiagnosticClassImplementationRenderer : AbstractDiagnosticsDataClassRenderer() {
        override fun SmartPrinter.render(diagnosticList: HLDiagnosticList, packageName: String) {
            printHeader(packageName, diagnosticList)
            printDiagnosticClassesImplementation(diagnosticList)
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Jul 18 11:49:20 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

        @Override
        void render(File htmlReportFile, RichReportData data) {
            super.render(htmlReportFile, enrichReport(data))
        }
    
        /**
         * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different
         * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a
         * normal property on the renderer instance and just set the location of the API file in it.
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtAbstractFirDiagnostic.kt

            get() = withValidityAssertion {
                val diagnostic = firDiagnostic as KtDiagnostic
    
                val firDiagnosticRenderer = RootDiagnosticRendererFactory(diagnostic)
                return firDiagnosticRenderer.render(diagnostic)
            }
    
        override val textRanges: Collection<TextRange>
            get() = withValidityAssertion { firDiagnostic.textRanges }
    
        @Suppress("UNCHECKED_CAST")
        override val psi: PSI
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue May 23 19:24:02 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.lastaflute.web.response.render.RenderData;
    
    public class RenderDataUtilTest extends UnitFessTestCase {
    
        public void test_register() {
            RenderData data = new RenderData();
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top