- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 2,362 for _size (0.03 seconds)
-
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
assertEquals(underlying.size(), map.size()); underlying.put("d", 4); assertEquals(underlying.size(), map.size()); assertEquals("4", map.get("d")); underlying.remove("c"); assertEquals(underlying.size(), map.size()); assertFalse(map.containsKey("c")); underlying.clear(); assertEquals(underlying.size(), map.size()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
* size() as a hint only. * * @param delta the difference between the true size of the collection and the values returned by * the size method */ public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) { // It would be nice to be able to return a real concurrent // collection like ConcurrentLinkedQueue, so that e.g. concurrent
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 17.2K bytes - Click Count (0) -
cmd/batch-expire_test.go
metadata: - key: content-type value: image/* # match objects with 'content-type', all values starting with 'image/' size: lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB) greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB) purge: # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 01 12:53:30 GMT 2024 - 5.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
count, getMultiset().count(element)); int size = 0; for (Multiset.Entry<E> entry : getMultiset().entrySet()) { size += entry.getCount(); } assertEquals( "multiset.size() should be the sum of the counts of all entries", size, getMultiset().size()); } /** Call the {@code setCount()} method under test, and check its return value. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java
graph.addVertex("a"); assertEquals(1, graph.getVertices().size()); assertEquals("a", graph.getVertex("a").getLabel()); graph.addVertex("a"); assertEquals(1, graph.getVertices().size()); assertEquals("a", graph.getVertex("a").getLabel()); graph.addVertex("b"); assertEquals(2, graph.getVertices().size()); assertFalse(hasEdge(graph, "a", "b"));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
UpgradeContext context = createMockContext(); Set<Coordinates> gavs = InferenceStrategy.computeAllArtifactCoordinates(context, pomMap); assertEquals(2, gavs.size()); assertTrue(gavs.contains(Coordinates.of("com.example", "parent-project", "1.0.0"))); assertTrue(gavs.contains(Coordinates.of("com.example", "child-project", "1.0.0"))); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* @return estimated compression ratio (0.0 to 1.0, where 0.5 means 50% size reduction) */ double estimateCompressionRatio(byte[] data, int algorithm); /** * Gets the minimum data size threshold for compression. * Data smaller than this threshold should not be compressed. * * @return minimum size in bytes for compression to be beneficial */ int getMinCompressionSize();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
* Should correctly parse the raw bytes. */ @Test void testAvSingleHostRawConstructor() { byte[] rawData = new byte[48]; // 8 (size/zero) + 8 (customData) + 32 (machineId) // Simulate some data rawData[0] = 48; // size rawData[16] = 0x01; // machineId start rawData[17] = 0x02; AvSingleHost avSingleHost = new AvSingleHost(rawData);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertEquals(0, leaseContext.getLeaseFlags()); } @Test @DisplayName("Should calculate correct size") void testSize() { int expectedSize = 16 + 4 + 4 + 32; // header + name + padding + data assertEquals(expectedSize, leaseContext.size()); } @Test @DisplayName("Should set and get lease key") void testLeaseKeyAccessors() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0)