- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 858 for element1 (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
@Override @SuppressWarnings({"unchecked", "rawtypes"}) public Map<Class, Impl> create(Object... elements) { MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create(); for (Object object : elements) { Entry<Class, Impl> entry = (Entry<Class, Impl>) object; map.putInstance(entry.getKey(), entry.getValue());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java
*/ @Override <T extends @Nullable Object> ListenableFuture<T> submit( Runnable task, @ParametricNullness T result); /** * {@inheritDoc} * * <p>All elements in the returned list must be {@link ListenableFuture} instances. The easiest * way to obtain a {@code List<ListenableFuture<T>>} from this method is an unchecked (but safe) * cast: * * <pre>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 10:45:35 UTC 2021 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 1.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestMultisetGenerator.java
/** * Creates multisets, containing sample elements, to be tested. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestMultisetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { @Override Multiset<E> create(Object... elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
TestCollectionGenerator<E> delegate) { return new ReserializingTestCollectionGenerator<>(delegate); } @Override public Collection<E> create(Object... elements) { return reserialize(delegate.create(elements)); } @SuppressWarnings("unchecked") static <T> T reserialize(T object) { try { ByteArrayOutputStream bytes = new ByteArrayOutputStream();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/html/HtmlEscapers.java
import com.google.common.escape.Escaper; import com.google.common.escape.Escapers; /** * {@code Escaper} instances suitable for strings to be included in HTML attribute values and * most elements' text contents. When possible, avoid manual escaping by using templating * systems and high-level APIs that provide autoescaping. * One Google-authored templating system available for external use is <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java
*/ package org.apache.maven.artifact.repository.metadata.io; import java.io.IOException; /** * Signals a failure to parse the metadata due to invalid syntax (e.g. non well formed XML or unknown elements). * */ public class MetadataParseException extends IOException { /** * The one-based index of the line containing the error. */ private final int lineNumber; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java
public static <E> TestSetGenerator<E> newInstance(TestSetGenerator<E> delegate) { return new ReserializingTestSetGenerator<>(delegate); } @Override public Set<E> create(Object... elements) { return (Set<E>) super.create(elements); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 1.4K bytes - Viewed (0) -
tests/test_orjson_response_class.py
from fastapi import FastAPI from fastapi.responses import ORJSONResponse from fastapi.testclient import TestClient from sqlalchemy.sql.elements import quoted_name app = FastAPI(default_response_class=ORJSONResponse) @app.get("/orjson_non_str_keys") def get_orjson_non_str_keys(): key = quoted_name(value="msg", quote=False) return {key: "Hello World", 1: 1} client = TestClient(app) def test_orjson_non_str_keys():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 02 10:17:31 UTC 2022 - 562 bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java
* * @author Kevin Bourrillion */ public class PowerSetBenchmark { @Param({"2", "4", "8", "16"}) int elements; Set<Set<Integer>> powerSet; @BeforeExperiment void setUp() { Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers()); powerSet = Sets.powerSet(set); } @Benchmark int iteration(int reps) { int sum = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0)