- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,308 for _size (0.02 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
List<String> elements = project.getCompileClasspathElements(); assertEquals(2, elements.size()); @SuppressWarnings("deprecation") List<Artifact> artifacts = project.getCompileArtifacts(); assertEquals(1, artifacts.size()); assertTrue(artifacts.get(0).getFile().getName().endsWith("tools.jar")); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 3.1K bytes - Viewed (0) -
docs_src/pydantic_v1_in_v2/tutorial003_an_py39.py
from pydantic import BaseModel as BaseModelV2 from pydantic.v1 import BaseModel class Item(BaseModel): name: str description: Union[str, None] = None size: float class ItemV2(BaseModelV2): name: str description: Union[str, None] = None size: float app = FastAPI() @app.post("/items/", response_model=ItemV2) async def create_item(item: Item):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 445 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
int size = multimap().size(); List<V> oldValues = new ArrayList<>(multimap().get(k0())); List<V> values = asList(v0(), v3(), v0()); assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values))); assertEquals(size - oldValues.size() + multimap().get(k0()).size(), multimap().size()); assertTrue(multimap().get(k0()).containsAll(values)); } @CollectionSize.Require(absent = ZERO)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java
@Required @Size(max = 100) public String username; /** The password for file authentication (maximum 100 characters). */ @Size(max = 100) public String password; /** Additional parameters for file authentication (maximum 1000 characters). */ @Size(max = 1000) public String parameters;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256 private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255 private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536 private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535 /** * Returns the power of 2 hashtable size required to hold the expected number of items or the
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
assertEquals(map.size(), oldSize - 1); assertFalse(map.containsKey(key)); assertEquals(subMap.size(), oldSize - 2); } public void testTailMapClearThrough() { SortedMap<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } int oldSize = map.size(); if (map.size() < 2 || !supportsClear) { return;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
assertEquals(map.size(), oldSize - 1); assertFalse(map.containsKey(key)); assertEquals(subMap.size(), oldSize - 2); } public void testTailMapClearThrough() { SortedMap<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } int oldSize = map.size(); if (map.size() < 2 || !supportsClear) { return;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CartesianList.java
int[] axesSizeProduct = new int[axes.size() + 1]; axesSizeProduct[axes.size()] = 1; try { for (int i = axes.size() - 1; i >= 0; i--) { axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size()); } } catch (ArithmeticException e) { throw new IllegalArgumentException( "Cartesian product too large; must have size at most Integer.MAX_VALUE"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
* @return a hexadecimal string representation of the byte array */ public static String toHexString(final byte[] src, final int srcIndex, int size) { final char[] c = new char[size]; size = size % 2 == 0 ? size / 2 : size / 2 + 1; for (int i = 0, j = 0; i < size; i++) { c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F]; j++; if (j == c.length) { break;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
USING_DECODER_WITH_SIZE_HINT { @Override String read(ByteSource byteSource, Charset cs) throws IOException { Optional<Long> size = byteSource.sizeIfKnown(); // if we know the size and it fits in an int if (size.isPresent() && size.get().longValue() == size.get().intValue()) { // otherwise try to presize a StringBuilderRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0)