Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5371 - 5380 of 7,014 for _return (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java

        //                                                                      ==============
    
        @Execute
        public HtmlResponse index(final ErrorForm form) {
            return asHtml(virtualHost(path_Error_BadRequestJsp));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/internal/BufferMockResponseBody.kt

    package mockwebserver3.internal
    
    import mockwebserver3.MockResponseBody
    import okio.Buffer
    import okio.BufferedSink
    
    internal fun Buffer.toMockResponseBody(): MockResponseBody {
      val defensiveCopy = clone()
      return BufferMockResponseBody(defensiveCopy)
    }
    
    internal class BufferMockResponseBody(
      val buffer: Buffer,
    ) : MockResponseBody {
      override val contentLength = buffer.size
    
      override fun writeTo(sink: BufferedSink) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/BridgeForBytecodeUpgradeAdapterClassFilter.groovy

     */
    class BridgeForBytecodeUpgradeAdapterClassFilter implements ClassFilter {
    
        private static final BRIDGE_CLASS_PREFIX = "\$\$BridgeFor\$\$"
    
        @Override
        boolean matches(CtClass ctClass) {
            return ctClass.name.contains(BRIDGE_CLASS_PREFIX) && ctClass.hasAnnotation(Generated.class)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 11 09:56:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. internal/logger/console.go

    func Error(msg string, data ...interface{}) {
    	if DisableLog {
    		return
    	}
    	consoleLog(errorMessage, msg, data...)
    }
    
    // Info :
    func Info(msg string, data ...interface{}) {
    	if DisableLog {
    		return
    	}
    	consoleLog(info, msg, data...)
    }
    
    // Startup :
    func Startup(msg string, data ...interface{}) {
    	if DisableLog {
    		return
    	}
    	consoleLog(startup, msg, data...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial002.py

    
    @app.get("/items/")
    async def read_items(q: Union[str, None] = Query(default=None, max_length=50)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 308 bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial003_an_py310.py

    @app.get("/items/")
    async def read_items(
        q: Annotated[str | None, Query(min_length=3, max_length=50)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 330 bytes
    - Viewed (0)
  7. docs_src/query_params_str_validations/tutorial009_an_py310.py

    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(alias="item-query")] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 314 bytes
    - Viewed (0)
  8. docs_src/body/tutorial003_py310.py

        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:28:58 UTC 2024
    - 324 bytes
    - Viewed (0)
  9. docs_src/custom_response/tutorial003.py

        html_content = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 394 bytes
    - Viewed (0)
  10. docs_src/dataclasses/tutorial001.py

    class Item:
        name: str
        price: float
        description: Union[str, None] = None
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 312 bytes
    - Viewed (0)
Back to top