Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 6061 - 6070 of 7,804 for RETURN (0.06 seconds)

  1. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        final Integer value;
    
        NonComparableSuperClass(Integer value) {
          this.value = checkNotNull(value);
        }
    
        @Override
        public String toString() {
          return "value=" + value;
        }
      }
    
      @SuppressWarnings("ComparableType")
      private static class ComparableSubClass extends NonComparableSuperClass
          implements Comparable<NonComparableSuperClass> {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  2. tests/test_security_http_digest.py

    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    security = HTTPDigest()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_digest():
        response = client.get("/users/me", headers={"Authorization": "Digest foobar"})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. docs_src/stream_data/tutorial002_py310.py

    binary_image = base64.b64decode(image_base64)
    
    
    def read_image() -> BytesIO:
        return BytesIO(binary_image)
    
    
    app = FastAPI()
    
    
    class PNGStreamingResponse(StreamingResponse):
        media_type = "image/png"
    
    
    @app.get("/image/stream", response_class=PNGStreamingResponse)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 20:51:40 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  4. tests/test_custom_schema_fields.py

            None
        )
    
        model_config = {
            "json_schema_extra": {
                "x-something-internal": {"level": 4},
            }
        }
    
    
    @app.get("/foo", response_model=Item)
    def foo():
        return {"name": "Foo item"}
    
    
    client = TestClient(app)
    
    
    item_schema = {
        "title": "Item",
        "required": ["name"],
        "type": "object",
        "x-something-internal": {
            "level": 4,
        },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/AnonymousClassesFilter.groovy

     */
    class AnonymousClassesFilter implements ClassFilter {
    
        private static final Pattern PATTERN = Pattern.compile('.*\\$[0-9]+$')
    
        @Override
        boolean matches(CtClass ctClass) {
            return ctClass.name.matches(PATTERN)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInvokeDefaultBridgeFilter.groovy

     */
    class KotlinInvokeDefaultBridgeFilter implements BehaviorFilter {
        @Override
        boolean matches(CtBehavior ctBehavior) {
            return ctBehavior.name.startsWith("access\$invoke\$jd")
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 08 07:03:16 GMT 2025
    - 1K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt

      @JvmField
      val calls: MutableList<String> = mutableListOf()
    
      @Synchronized override fun verify(
        hostname: String,
        session: SSLSession,
      ): Boolean {
        calls.add("verify $hostname")
        return true
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 980 bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 931 bytes
    - Click Count (0)
  9. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PrecommitTask.java

    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.StandardOpenOption;
    
    public class PrecommitTask extends DefaultTask {
    
        @OutputFile
        public File getSuccessMarker() {
            return new File(getProjectLayout().getBuildDirectory().getAsFile().get(), "markers/" + this.getName());
        }
    
        @TaskAction
        public void writeMarker() throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java

        extends RegularImmutableMapWithUnhashableValuesMapInterfaceTest {
      @Override
      protected Map<Integer, UnhashableObject> makePopulatedMap() {
        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
Back to Top