- Sort Score
- Result 10 results
- Languages All
Results 1391 - 1400 of 1,781 for take (0.03 sec)
-
fastapi/_compat.py
from pydantic.version import VERSION as P_VERSION from starlette.datastructures import UploadFile from typing_extensions import Annotated, Literal, get_args, get_origin # Reassign variable to make it reexported for mypy PYDANTIC_VERSION = P_VERSION PYDANTIC_V2 = PYDANTIC_VERSION.startswith("2.") sequence_annotation_to_type = { Sequence: list, List: list, list: list, Tuple: tuple,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:36:32 UTC 2024 - 23.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
*/ @GwtCompatible(emulated = true) public class IntMathTest extends TestCase { public void testMaxSignedPowerOfTwo() { assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO)); // Extra work required to make GWT happy. long value = IntMath.MAX_SIGNED_POWER_OF_TWO * 2L; assertFalse(IntMath.isPowerOfTwo((int) value)); } public void testCeilingPowerOfTwo() { for (int x : POSITIVE_INTEGER_CANDIDATES) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* by delaying the per-stack-frame work until each element is accessed. Roughly speaking: * * <ul> * <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to * retrieve each element of the returned list. * <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time * to retrieve each element of the returned list (probably slightly more than {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 20.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
// We use this somewhat weird pattern with an enum for each assertion we want to make as a way // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to // have to have duplicate @GwtIncompatible test methods just to make that assertion. for (AssertFailsToDecodeStrategy strategy : AssertFailsToDecodeStrategy.values()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
OkHttp 1.x Change Log ===================== ## Version 1.6.0 _2014-05-23_ * Offer bridges to make it easier to migrate from OkHttp 1.x to OkHttp 2.0. This adds `OkUrlFactory`, `Cache`, and `@Deprecated` annotations for APIs dropped in 2.0. ## Version 1.5.4 _2014-04-14_ * Drop ALPN support in Android. There's a concurrency bug in all currently-shipping versions.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
docs/features/events.md
printEvent("dnsStart"); } @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) { printEvent("dnsEnd"); } ... } ``` We make a couple calls: ```java Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); System.out.println("REQUEST 1 (new connection)");
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
if cfgName != madmin.Default { return nil, ErrProviderConfigNotFound } kvsrcs, err := s.GetResolvedConfigParams(config.IdentityLDAPSubSys, cfgName, true) if err != nil { return nil, err } res := make([]madmin.IDPCfgInfo, 0, len(kvsrcs)) for _, kvsrc := range kvsrcs { // skip default values. if kvsrc.Src == config.ValueSourceDef { continue } res = append(res, madmin.IDPCfgInfo{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 07 12:59:47 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm.go
func ARMConditionCodes(prog *obj.Prog, cond string) bool { if cond == "" { return true } bits, ok := ParseARMCondition(cond) if !ok { return false } /* hack to make B.NE etc. work: turn it into the corresponding conditional */ if prog.As == arm.AB { prog.As = bcode[(bits^arm.C_SCOND_XOR)&0xf] bits = (bits &^ 0xf) | arm.C_SCOND_NONE } prog.Scond = bits return true }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 23 15:18:14 UTC 2024 - 6.1K bytes - Viewed (0) -
src/archive/tar/reader_test.go
fr = ®FileReader{r, maker.makeReg.size} fr = &sparseFileReader{fr, sph, 0} default: t.Fatalf("test %d, unknown make operation: %T", i, maker) } for j, tf := range v.tests { switch tf := tf.(type) { case testRead: b := make([]byte, tf.cnt) n, err := fr.Read(b) if got := string(b[:n]); got != tf.wantStr || err != tf.wantErr {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
* <ul> * <li>Test cases related to whether the graph is directed, undirected, mutable, or immutable. * <li>Test cases related to the specific implementation of the {@link Network} interface. * </ul> * * TODO(user): Make this class generic (using <N, E>) for all node and edge types. * TODO(user): Differentiate between directed and undirected edge strings. */ public abstract class AbstractNetworkTest { Network<Integer, String> network;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0)