- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 82 for adapted (0.05 seconds)
-
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
assertNotNull(r1, "First adapted resource must not be null"); // For workgroup/server entries, names end with '/' assertTrue(r1.getName().endsWith("/"), "Name should end with '/'"); assertTrue(itr.hasNext(), "Should have second element ready"); SmbResource r2 = itr.next(); assertNotNull(r2, "Second adapted resource must not be null");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/DfsReferralData.java
/** * Unwrap the referral data to a specific implementation type * * @param <T> the target type to unwrap to * @param type the class of the target type * @return the referral adapted to type * @throws ClassCastException * if the type is not valid for this object */ <T extends DfsReferralData> T unwrap(Class<T> type); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
cmd/dynamic-timeouts.go
dynamicTimeoutLogSize = 16 maxDuration = math.MaxInt64 maxDynamicTimeout = 24 * time.Hour // Never set timeout bigger than this. ) // timeouts that are dynamically adapted based on actual usage results type dynamicTimeout struct { timeout int64 minimum int64 entries int64 log [dynamicTimeoutLogSize]time.Duration mutex sync.MutexCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.5K bytes - Click Count (0) -
internal/dsync/drwmutex_test.go
expected := false if locked != expected { t.Errorf("TestDualWriteLockTimedOut(): \nexpected %#v\ngot %#v", expected, locked) } } // Test cases below are copied 1 to 1 from sync/rwmutex_test.go (adapted to use DRWMutex) // Borrowed from rwmutex_test.go func parallelReader(ctx context.Context, m *DRWMutex, clocked, cunlock, cdone chan bool) { if m.GetRLock(ctx, nil, id, source, Options{Timeout: time.Second}) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
} @Test void testHMACT64WithKnownTestVector() throws NoSuchAlgorithmException { // Test with known test vector // Using test vector from RFC 2104 adapted for HMACT64 byte[] key = new byte[16]; Arrays.fill(key, (byte) 0x0b); byte[] data = "Hi There".getBytes(); // Expected result calculated manually for HMACT64 with this key and dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.1K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* ``` */ private val attributeTypeAndValue: BasicDerAdapter<AttributeTypeAndValue> = Adapters.sequence( "AttributeTypeAndValue", Adapters.OBJECT_IDENTIFIER, Adapters.any( String::class to Adapters.UTF8_STRING, Nothing::class to Adapters.PRINTABLE_STRING, AnyValue::class to Adapters.ANY_VALUE, ), decompose = { listOf( it.type,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13.6K bytes - Click Count (0) -
internal/lsync/lrwmutex_test.go
expected := false if locked != expected { t.Errorf("TestDualWriteLockTimedOut(): \nexpected %#v\ngot %#v", expected, locked) } } // Test cases below are copied 1 to 1 from sync/rwmutex_test.go (adapted to use LRWMutex) // Borrowed from rwmutex_test.go func parallelReader(ctx context.Context, m *LRWMutex, clocked, cunlock, cdone chan bool) { if m.GetRLock(ctx, "", "", time.Second) { clocked <- true <-cunlockCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
fastapi/encoders.py
from ._compat import ( Url, is_pydantic_v1_model_instance, ) # Taken from Pydantic v1 as is def isoformat(o: datetime.date | datetime.time) -> str: return o.isoformat() # Adapted from Pydantic v1 # TODO: pv2 should this return strings instead? def decimal_encoder(dec_value: Decimal) -> int | float: """ Encodes a Decimal as int if there's no exponent, otherwise float
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
} throw new AssertionError(); } @GwtIncompatible // TODO private static BigInteger sqrtFloor(BigInteger x) { /* * Adapted from Hacker's Delight, Figure 11-1. * * Using DoubleUtils.bigToDouble, getting a double approximation of x is extremely fast, andCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Converter.java
* guarantee that as long as we also require the input type to be non-null[*] (which is a * requirement that existing callers already fulfill). * * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that * that is how the signature looked even prior to this comment! So naturally any change can break * existing users, but it can't *fix* existing users because any users who needed
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0)