Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4901 - 4910 of 7,014 for _return (0.06 sec)

  1. docs_src/websockets/tutorial002_py310.py

    </html>
    """
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    async def get_cookie_or_token(
        websocket: WebSocket,
        session: str | None = Cookie(default=None),
        token: str | None = Query(default=None),
    ):
        if session is None and token is None:
            raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION)
        return session or token
    
    
    @app.websocket("/items/{item_id}/ws")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRelatedContentCQ.java

        //                                                                       =============
        @Override
        public String asTableDbName() {
            return "related_content";
        }
    
        @Override
        public String xgetAliasName() {
            return "related_content";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_test.go

    		}
    	}
    
    	// Deleting fileInfos[4].VersionID, fileInfos[5].VersionID should return empty data dir; there are other object version sharing the data dir.
    	// Subsequently deleting fileInfos[6].versionID should return fileInfos[6].dataDir since there are no other object versions sharing this data dir.
    	count := len(testCases)
    	for i := 4; i < len(testCases); i++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        return suite;
      }
    
      private static TestSuite suiteForBytes(
          String name, ByteSinkFactory factory, String desc, byte[] bytes) {
        TestSuite suite = new TestSuite(name + " [" + desc + "]");
        for (final Method method : testMethods) {
          suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method));
        }
        return suite;
      }
    
      private ByteSink sink;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

            @Override
            public Iterable<Tree> children(Tree node) {
              return node.children;
            }
          };
    
      private static final TreeTraverser<Tree> ADAPTER_USING_USING =
          TreeTraverser.using(
              new Function<Tree, Iterable<Tree>>() {
                @Override
                public Iterable<Tree> apply(Tree node) {
                  return node.children;
                }
              });
    
      //        h
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSinkTester.java

        return suite;
      }
    
      private static TestSuite suiteForBytes(
          String name, ByteSinkFactory factory, String desc, byte[] bytes) {
        TestSuite suite = new TestSuite(name + " [" + desc + "]");
        for (final Method method : testMethods) {
          suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method));
        }
        return suite;
      }
    
      private ByteSink sink;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    profile.addPluginRepository(
                            convertFromProfileXmlRepository((org.apache.maven.profiles.Repository) pluginRepo));
                }
            }
    
            return profile;
        }
    
        private static Repository convertFromProfileXmlRepository(org.apache.maven.profiles.Repository profileXmlRepo) {
            Repository repo = new Repository();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

                    val nameWithoutExtension = Files.getNameWithoutExtension(fileName)
                    minify(artifact.get().asFile, entry.value, outputs.file("$nameWithoutExtension-min.jar"))
                    return
                }
            }
            outputs.file(artifact)
        }
    
        private
        fun minify(artifact: File, keepClasses: Set<String>, jarFile: File): File {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

            }
            return t;
        }
    
        @Override
        public T find(String fullyQualifiedClassName) {
            T t = classes.get(fullyQualifiedClassName);
            if (t != null) {
                t.attach(this);
            }
            return t;
        }
    
        private List<String> findPossibleMatches(String fullyQualifiedClassName) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  10. docs_src/body_nested_models/tutorial008_py39.py

    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    @app.post("/images/multiple/")
    async def create_multiple_images(images: list[Image]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 248 bytes
    - Viewed (0)
Back to top