- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 3,283 for SET (0.01 seconds)
-
docs/en/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *} ## Set types { #set-types } But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings. And Python has a special data type for sets of unique items, the `set`. Then we can declare `tags` as a set of strings: {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.6K bytes - Click Count (0) -
src/cmd/api/api_test.go
} var ( updateGolden = flag.Bool("updategolden", false, "update golden files") ) func TestGolden(t *testing.T) { if *flagCheck { // slow, not worth repeating in -check t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t) td, err := os.Open("testdata/src/pkg") if err != nil { t.Fatal(err) } fis, err := td.Readdir(0) if err != nil { t.Fatal(err) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 7.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
/** * @return Required active profile identifiers, never {@code null}. */ public Set<String> getRequiredActiveProfileIds() { return getProfileIds(pa -> !pa.optional() && pa.active()); } /** * @return Optional active profile identifiers, never {@code null}. */ public Set<String> getOptionalActiveProfileIds() { return getProfileIds(pa -> pa.optional() && pa.active()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java
} /** * Sets the number of records to display per page. * * @param pageSize The page size to set */ public void setPageSize(final int pageSize) { this.pageSize = pageSize; } /** * Gets the current page number (1-based). * If not set or invalid, returns the default current page number. * * @return The current page number */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtIncompatible; import java.util.Set; /** * Reserializes the sets created by another test set generator. * * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections * * @author Jesse Wilson */ @GwtIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
} finally { function = null; } /* * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling * setException(stackOverflowError) would fail: * * - If the stack overflowed before set()/setValue() could even store the result in the outputCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 20 18:03:37 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertFalse(request.isSigningEnforced()); assertTrue(request instanceof ServerMessageBlock2Request); } @Test @DisplayName("Should set DFS capability when enabled") void testDfsCapability() { // Given when(mockConfig.isDfsDisabled()).thenReturn(false); // When request = new Smb2NegotiateRequest(mockConfig, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return new TreeSet<E>(contents); } }, UnmodifiableSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { return unmodifiableSet(new HashSet<E>(contents)); } }, SynchronizedSetImpl { @Override public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertFalse(item.isUpdated()); // Set only newInputs - still not updated item.setNewInputs(new String[] { "new" }); assertFalse(item.isUpdated()); // Set both newInputs and newOutput - now updated item.setNewOutput("newOutput"); assertTrue(item.isUpdated()); // Set newInputs to null - not updated item.setNewInputs(null);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
} @Override int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { // Only trust the size of `values` if it is a Set and therefore probably already deduplicated. if (values instanceof Set<?>) { Set<?> collection = (Set<?>) values; return max(defaultExpectedValues, collection.size()); } else { return defaultExpectedValues; } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0)