- Sort Score
- Result 10 results
- Languages All
Results 2741 - 2750 of 3,853 for Uint (0.13 sec)
-
tests/test_serialize_response.py
from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/valid", response_model=Item) def get_valid(): return {"name": "valid", "price": 1.0} @app.get("/items/coerce", response_model=Item) def get_coerce():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 03 12:29:07 UTC 2020 - 1.4K bytes - Viewed (0) -
test-site/test/ApplicationTest.java
* If you are interested in mocking a whole application, see the wiki for more details. * */ public class ApplicationTest { @Test public void simpleCheck() { int a = 1 + 1; assertThat(a).isEqualTo(2); } @Test public void renderTemplate() { Content html = views.html.index.render("Your new application is ready.");
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
assertThat(networkString).contains("allowsParallelEdges: " + network.allowsParallelEdges()); assertThat(networkString).contains("allowsSelfLoops: " + network.allowsSelfLoops()); int nodeStart = networkString.indexOf("nodes:"); int edgeStart = networkString.indexOf("edges:"); String nodeString = networkString.substring(nodeStart, edgeStart); String edgeString = networkString.substring(edgeStart);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java
import jcifs.Encodable; /** * @author mbechler * */ public interface NegotiateContextRequest extends Encodable { /** * * @return context type */ int getContextType ();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1016 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java
import jcifs.Decodable; /** * @author mbechler * */ public interface NegotiateContextResponse extends Decodable { /** * * @return context type */ int getContextType ();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1017 bytes - Viewed (0) -
tests/test_dependency_security_overrides.py
return [1, 2, 3] def get_data_override(): return [3, 4, 5] @app.get("/user") def read_user( user_data: Tuple[str, List[str]] = Security(get_user, scopes=["foo", "bar"]), data: List[int] = Depends(get_data), ): return {"user": user_data[0], "scopes": user_data[1], "data": data} client = TestClient(app) def test_normal(): response = client.get("/user")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 14 15:54:46 UTC 2020 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt
import okhttp3.Challenge fun Challenge.commonEquals(other: Any?): Boolean { return other is Challenge && other.scheme == scheme && other.authParams == authParams } fun Challenge.commonHashCode(): Int { var result = 29 result = 31 * result + scheme.hashCode() result = 31 * result + authParams.hashCode() return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
for (int i = 0; i < nnm.getLength(); i++) { final Node attr = nnm.item(i); final String aname = attr.getNodeName(); final boolean isPrefix = aname.startsWith("xmlns:"); if (isPrefix || "xmlns".equals(aname)) { final int index = aname.indexOf(':');
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0) -
.github/actions/people/app/main.py
class Comments(BaseModel): nodes: List[CommentsNode] class DiscussionsComments(BaseModel): nodes: List[DiscussionsCommentsNode] class DiscussionsNode(BaseModel): number: int author: Union[Author, None] = None title: str createdAt: datetime comments: DiscussionsComments class DiscussionsEdge(BaseModel): cursor: str node: DiscussionsNode
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 19.2K bytes - Viewed (1) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
assertEquals(0, collector.getFatals().size(), "Expected no fatals"); } protected void assertCollectorState( int numFatals, int numErrors, int numWarnings, SimpleProblemCollector collector) { assertEquals(numErrors, collector.getErrors().size(), "Errors"); assertEquals(numWarnings, collector.getWarnings().size(), "Warnings");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0)