- Sort Score
- Result 10 results
- Languages All
Results 1371 - 1380 of 2,167 for Batch (0.05 sec)
-
internal/config/dns/etcd_dns.go
if err != nil { return nil, err } // Make sure we have record.Key is empty // this can only happen when record.Key // has bucket entry with exact prefix // match any record.Key which do not // match the prefixes we skip them. for _, record := range records { if record.Key != "" { continue } srvRecords = append(srvRecords, record) } } if len(srvRecords) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 15:03:08 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} @Override public void remove() { iterator.remove(); } } public void testPeekingIteratorDoesntAdvancePrematurely() throws Exception { /* * This test will catch problems where the underlying iterator * throws a RuntimeException when retrieving the nth element. * * If the PeekingIterator is caching elements too aggressively,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long value : TEST_LONGS) { boolean expectSuccess = value >= 0; try { assertThat(UnsignedLong.valueOf(value).longValue()).isEqualTo(value); assertThat(expectSuccess).isTrue(); } catch (IllegalArgumentException e) { assertThat(expectSuccess).isFalse(); } } } public void testValueOfBigInteger() { BigInteger min = BigInteger.ZERO;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001.py
from unittest.mock import patch import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient @pytest.fixture def client(): from docs_src.body.tutorial001 import app client = TestClient(app) return client def test_body_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": 50.5}) assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 14.7K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001_py310.py
from unittest.mock import patch import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture def client(): from docs_src.body.tutorial001_py310 import app client = TestClient(app) return client @needs_py310 def test_body_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": 50.5})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 15K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
try { if (!canceled) { listener.onOpen(this, response) while (!canceled && reader.processNextEvent()) { } } } catch (e: Exception) { val exception = when { canceled -> IOException("canceled", e) else -> e } listener.onFailure(this, exception, response) return
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) { try { actionListener.accept(new MockHttpURLConnection(new URL(url))); } catch (MalformedURLException e) { exceptionListener.accept(e); } } } class MockHttpURLConnection extends HttpURLConnection { MockHttpURLConnection(URL u) {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayIterator.java
return index < items.length; } @Override public T next() { try { final T o = items[index]; index++; return o; } catch (final IndexOutOfBoundsException e) { throw new NoSuchElementException("index=" + index); } } @Override public void remove() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
fd.markClosed(); return 0; } return resp.getAvailable(); } catch ( SmbException se ) { throw seToIoe(se); } } @Override public void close () { // ignore, the shared file descriptor is closed by the pipe handle }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 07:12:23 UTC 2018 - 3.5K bytes - Viewed (0)