- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 389 for too (0.02 sec)
-
guava-tests/test/com/google/common/collect/SetsTest.java
assertEquals(ImmutableSet.of(3, 2, 1), i.next()); assertFalse(i.hasNext()); assertThrows(NoSuchElementException.class, () -> i.next()); } @GwtIncompatible // too slow for GWT public void testPowerSetIteration_iteratorTester() { ImmutableSet<Integer> elements = ImmutableSet.of(1, 2); Set<Set<Integer>> expected = newLinkedHashSet();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); boolean[][] arrays = new boolean[arraysDim1][]; // it's shared to avoid using too much memory in tests boolean[] sharedArray = new boolean[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Booleans.concat(arrays); fail();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 24.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertFailsWith<ProtocolException> { CertificateAdapters.subjectPublicKeyInfo.fromDer(bytes) }.also { expected -> assertThat(expected.message).isEqualTo("enclosed object too large") } } /** Object identifiers are nominally self-delimiting. Outrun the limit with one. */ @Test fun `variable length long outruns limit`() { val bytes = "060229ffffff7f".decodeHex()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
try { val parsed = s.toLong() return if (parsed <= 0L) Long.MIN_VALUE else parsed } catch (e: NumberFormatException) { // Check if the value is an integer (positive or negative) that's too big for a long. if (s.matches("-?\\d+".toRegex())) { return if (s.startsWith("-")) Long.MIN_VALUE else Long.MAX_VALUE } throw e } } /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
try { hashFunction.hashBytes(new byte[128], -1, 128); Assert.fail(); } catch (IndexOutOfBoundsException expected) { } try { hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */); Assert.fail(); } catch (IndexOutOfBoundsException expected) { } try { hashFunction.hashBytes(new byte[64], 0, -1); Assert.fail();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 25.5K bytes - Viewed (0) -
docs/tr/docs/async.md
# Concurrency ve async / await *path operasyon fonksiyonu* için `async def `sözdizimi, asenkron kod, eşzamanlılık ve paralellik hakkında bazı ayrıntılar. ## Aceleniz mi var? <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr> Eğer `await` ile çağrılması gerektiğini belirten üçüncü taraf kütüphaneleri kullanıyorsanız, örneğin: ```Python results = await some_library() ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 21.9K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1/generated.proto
// with this Job. Users must design their workload to gracefully handle this. // Suspending a Job will reset the StartTime field of the Job, effectively // resetting the ActiveDeadlineSeconds timer too. Defaults to false. // // +optional optional bool suspend = 10; } // JobStatus represents the current state of a Job. message JobStatus {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.1K bytes - Viewed (0) -
src/archive/tar/tar_test.go
} } func TestRoundTrip(t *testing.T) { data := []byte("some file contents") var b bytes.Buffer tw := NewWriter(&b) hdr := &Header{ Name: "file.txt", Uid: 1 << 21, // Too big for 8 octal digits Size: int64(len(data)), ModTime: time.Now().Round(time.Second), PAXRecords: map[string]string{"uid": "2097152"}, Format: FormatPAX, Typeflag: TypeReg, }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* Function<A, B> or who call convertAll (and for any checkers that apply @PolyNull-like semantics * to Converter.convert). So maybe we don't want to think too hard about how to prevent our * checkers from issuing errors related to LegacyConverter, since it turns out that * LegacyConverter does violate the assumptions we make elsewhere. */ @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
assertThrows(IllegalArgumentException.class, () -> LongMath.binomial(n, 0)); } } @J2ktIncompatible // slow enough to cause flakiness @GwtIncompatible // far too slow public void testSqrtOfPerfectSquareAsDoubleIsPerfect() { // This takes just over a minute on my machine. for (long n = 0; n <= LongMath.FLOOR_SQRT_MAX_LONG; n++) { long actual = (long) Math.sqrt(n * n);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0)