- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,577 for sizeof (0.04 seconds)
-
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
@BeforeExperiment void setUp() { checkArgument(size > 0, "empty collection not supported"); Set<Integer> set = new LinkedHashSet<>(size); Random random = new Random(); while (set.size() < size) { set.add(random.nextInt()); } List<Integer> list = new ArrayList<>(set); inputOrder.arrange(list); input = ImmutableList.copyOf(list); } @Benchmark int collections(int reps) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
model.addProperty("key1", "value1"); model.addProperty("key2", "value2"); assertEquals(2, model.getProperties().size()); // This should not throw NullPointerException model.getProperties().clear(); assertEquals(0, model.getProperties().size()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 08:09:30 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java
phase.set(""); assertNotNull(phase.getMojos()); assertEquals(0, phase.getMojos().size()); phase.set("jar:jar, war:war"); List<LifecycleMojo> mojos = phase.getMojos(); assertNotNull(mojos); assertEquals(2, mojos.size()); LifecycleMojo mojo1 = mojos.get(0); assertNotNull(mojo1); assertEquals("jar:jar", mojo1.getGoal());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt
const val MAX_CONCURRENT_STREAMS = 3 /** Window size in bytes. */ const val INITIAL_WINDOW_SIZE = 4 /** HTTP/2: Size in bytes of the largest frame payload the sender will accept. */ const val MAX_FRAME_SIZE = 5 /** HTTP/2: Advisory only. Size in bytes of the largest header list the sender will accept. */ const val MAX_HEADER_LIST_SIZE = 6Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.8K bytes - Click Count (0) -
cmd/bucket-replication-utils_gen.go
func (z *MRFReplicateEntries) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 2 // string "e" o = append(o, 0x82, 0xa1, 0x65) o = msgp.AppendMapHeader(o, uint32(len(z.Entries))) for za0001, za0002 := range z.Entries { o = msgp.AppendString(o, za0001) // map header, size 3 // string "b" o = append(o, 0x83, 0xa1, 0x62) o = msgp.AppendString(o, za0002.Bucket) // string "o"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 59.3K bytes - Click Count (0) -
.teamcity/src/test/kotlin/PromotionProjectTests.kt
@Test fun `promotion project has expected build types for master branch`() { val model = setupModelFor("master") assertEquals("Promotion", model.name) assertEquals(10, model.buildTypes.size) assertEquals( listOf( "SanityCheck", "Nightly Snapshot", "Nightly Snapshot (from QuickFeedback)",Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jun 12 09:41:54 GMT 2025 - 15.3K bytes - Click Count (1) -
cmd/batch-expire_gen.go
err = z.Metadata[za0002].DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Metadata", za0002) return } } case "Size": err = z.Size.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Size") return } case "Type": z.Type, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Type") return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (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"); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
assertFalse( "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries))); } public void testEquals_largerMap() { Collection<Entry<K, V>> moreEntries = getSampleEntries(getNumEntries() + 1); assertFalse( "Maps of different sizes should not be equal.", getMap().equals(newHashMap(moreEntries))); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
for (C col : columnSpace) { columns.put(col, new LinkedHashMap<R, V>()); } int[] cellRowIndices = new int[cellList.size()]; int[] cellColumnInRowIndices = new int[cellList.size()]; for (int i = 0; i < cellList.size(); i++) { Cell<R, C, V> cell = cellList.get(i); R rowKey = cell.getRowKey(); C columnKey = cell.getColumnKey(); V value = cell.getValue();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (1)