- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 880 for Upsert (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/hash/HashTestUtils.java
int value = random.nextInt(); HashCode hashcode1 = hashFunction.hashInt(value); HashCode hashcode2 = hashFunction.hashInt(value); Assert.assertEquals(hashcode1, hashcode2); // idempotent Assert.assertEquals(hashFunction.bits(), hashcode1.bits()); Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); hashcodes.add(hashcode1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static junit.framework.Assert.assertFalse; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeoutException;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
tests/test_stream_cancellation.py
# cancelled will be True because the infinite generator was interrupted. assert cancelled async def test_jsonl_stream_cancellation() -> None: """JSONL streaming endpoint should be cancellable within a reasonable time.""" cancelled = await _run_asgi_and_cancel(app, "/stream-jsonl", timeout=3.0)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
// Configure the mock to throw DcerpcException when wrap is called doThrow(new DcerpcException("Test wrap exception")).when(dcerpcSecurityProvider).wrap(mockNdrBuffer); // Assert that calling wrap throws DcerpcException assertThrows(DcerpcException.class, () -> dcerpcSecurityProvider.wrap(mockNdrBuffer)); // Verify that the wrap method was called exactly onceCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/MIENameTest.java
buf = sup.get(); } // Act + Assert Throwable t = assertThrows(expected, () -> new MIEName(buf)); // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence assertNotNull(t, "Exception should be thrown"); } @Nested
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/AuthenticationManager.java
*/ public AuthenticationManager() { // Default constructor } /** * Inserts a new user across all authentication chains. * @param user The user to insert. */ public void insert(final User user) { chains().of(stream -> stream.forEach(c -> c.update(user))); } /** * Changes the password for a user across all authentication chains.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.1K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
throw new CrawlingAccessException("[" + e.status() + "] Failed to insert " + id, e); } throw new OpenSearchAccessException("[" + e.status() + "] Failed to insert " + id, e); } catch (final Exception e) { throw new OpenSearchAccessException("Failed to insert " + id, e); } } /**
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 34.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java
*/ package org.codelibs.fess.suggest; import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.util.Locale; import org.codelibs.fess.suggest.constants.SuggestConstants; import org.codelibs.fess.suggest.entity.SuggestItem;
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.4K bytes - Click Count (0) -
docs_src/async_tests/app_a_py310/test_main.py
@pytest.mark.anyio async def test_root(): async with AsyncClient( transport=ASGITransport(app=app), base_url="http://test" ) as ac: response = await ac.get("/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 360 bytes - Click Count (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.net; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import java.net.URLConnection; import org.codelibs.core.exception.EmptyArgumentException; import org.codelibs.core.io.ResourceUtil; import org.codelibs.core.lang.ClassUtil;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0)