- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 2,711 for create (0.05 sec)
-
android/guava/src/com/google/common/collect/TreeRangeSet.java
/** Creates an empty {@code TreeRangeSet} instance. */ public static <C extends Comparable<?>> TreeRangeSet<C> create() { return new TreeRangeSet<>(new TreeMap<Cut<C>, Range<C>>()); } /** Returns a {@code TreeRangeSet} initialized with the ranges in the specified range set. */ public static <C extends Comparable<?>> TreeRangeSet<C> create(RangeSet<C> rangeSet) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
import org.jspecify.annotations.NullMarked; /** * Create integer sets for collection tests. * * @author Gregory Kick */ @GwtCompatible @NullMarked public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> { @Override public SampleElements<Integer> samples() { return new Ints(); } @Override public Set<Integer> create(Object... elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
*/ @GwtCompatible @NullMarked public class SortedMapGenerators { public static class ImmutableSortedMapGenerator extends TestStringSortedMapGenerator { @Override public SortedMap<String, String> create(Entry<String, String>[] entries) { ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder(); for (Entry<String, String> entry : entries) { checkNotNull(entry);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
/// ## Create a middleware { #create-a-middleware } To create a middleware you use the decorator `@app.middleware("http")` on top of a function. The middleware function receives: * The `request`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
/** * Stores crawling information and parameters for the specified session. * Creates a new crawling info record if none exists or if create flag is true. * Also stores any accumulated information parameters and clears the info map. * * @param sessionId the session ID for the crawling information * @param create if true, creates a new crawling info regardless of existing recordsRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 15.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
contents = f.read() print(contents) ``` Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager". When the `with` block finishes, it makes sure to close the file, even if there were exceptions. When you create a dependency with `yield`, **FastAPI** will internally create a context manager for it, and combine it with some other related tools.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java
public void testOrderingDoesntAffectEqualsComparisons() { SetMultimap<K, V> multimap1 = getSubjectGenerator() .create(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v4())); SetMultimap<K, V> multimap2 = getSubjectGenerator() .create(mapEntry(k0(), v1()), mapEntry(k0(), v0()), mapEntry(k0(), v4())); new EqualsTester().addEqualityGroup(multimap1, multimap2).testEquals(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
TreeRangeMap<Integer, Integer> empty = TreeRangeMap.create(); TreeRangeMap<Integer, Integer> nonEmpty = TreeRangeMap.create(); nonEmpty.put(Range.all(), 1); TreeRangeMap<Integer, Integer> coalesced = TreeRangeMap.create(); coalesced.put(Range.atLeast(1), 1); coalesced.putCoalescing(Range.atMost(1), 1); TreeRangeMap<Integer, Integer> differentValues = TreeRangeMap.create(); differentValues.put(Range.closedOpen(1, 2), 2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
// Create a domain info with test data lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo(); domainInfo.name = new rpc.unicode_string(); domainInfo.name.length = 10; domainInfo.name.maximum_length = 20; domainInfo.name.buffer = new short[] { 'T', 'e', 's', 't', '1' }; // Create a simple test SID domainInfo.sid = new rpc.sid_t();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
private TestCallable firstCallable; @Override public void setUp() throws Exception { executor = newCachedThreadPool(); serializer = ExecutionSequencer.create(); firstFuture = SettableFuture.create(); firstCallable = new TestCallable(firstFuture); } @Override public void tearDown() throws Exception { executor.shutdown(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0)