- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 3,240 for size (0.06 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
assertTrue(result.success(), "Orchestrator should succeed"); assertEquals(2, result.processedPoms().size(), "Should aggregate processed POMs"); assertEquals(2, result.modifiedPoms().size(), "Should aggregate modified POMs"); assertEquals(0, result.errorPoms().size(), "Should have no errors"); } @Test @DisplayName("should handle strategy failures gracefully")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/hash/sha256/sh256.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 26 06:31:35 GMT 2024 - 1.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
cmd/bucket-replication_test.go
{ // 1. no replication config name: "no replication config", info: ObjectInfo{Size: 100}, rcfg: replicationConfig{Config: nil}, expectedSync: false, }, { // 2. existing object replication config enabled, no versioning name: "existing object replication config enabled, no versioning", info: ObjectInfo{Size: 100}, rcfg: replicationConfig{Config: &configs[0]}, expectedSync: false, },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
} return deletedDocIdList.size(); } }; ComponentUtil.register(client, "searchEngineClient"); final DocList docList = new DocList(); assertEquals(0, indexingHelper.deleteOldDocuments(client, docList)); assertEquals(0, docList.size()); assertEquals(0, deletedDocIdList.size()); docList.clear(); deletedDocIdList.clear();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 29.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java
assertEquals(2, response.getErrors().size()); } @Test public void test_constructorWithEmptyErrors() throws Exception { List<Throwable> errors = new ArrayList<>(); SuggestDeleteResponse response = new SuggestDeleteResponse(errors, 100); assertNotNull(response); assertFalse(response.hasError()); assertEquals(0, response.getErrors().size()); } @Test
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
@Test @DisplayName("Should read valid structure with size 4") void testReadBytesWireFormatValid() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[10]; int bufferIndex = 2; SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4 SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved fieldCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
internal/hash/crc.go
// as if the content of each was appended. // The size of the content that produced the second checksum must be provided. // Not all checksum types can be merged, use the CanMerge method to check. // Checksum types must match. func (c *Checksum) AddPart(other Checksum, size int64) error { if !other.Type.CanMerge() { return fmt.Errorf("checksum type cannot be merged") } if size == 0 { return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/PathMapPager.java
} /** * Gets the page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); } return pageSize; } /** * Sets the page size. * * @param pageSize the page size */ public void setPageSize(final int pageSize) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.9K bytes - Click Count (0)