- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,698 for _size (0.02 seconds)
-
internal/lru/lru.go
} // Resize changes the cache size. Size of 0 means unlimited. func (c *LRU[K, V]) Resize(size int) (evicted int) { c.mu.Lock() defer c.mu.Unlock() if size <= 0 { c.size = 0 return 0 } diff := c.evictList.Length() - size if diff < 0 { diff = 0 } for i := 0; i < diff; i++ { c.removeOldest() } c.size = size return diff }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0) -
src/archive/zip/writer.go
// 32 bit size fields (and offset later) to signal that the // zip64 extra header should be used. b.uint32(uint32max) // compressed size b.uint32(uint32max) // uncompressed size // append a zip64 extra block to Extra var buf [28]byte // 2x uint16 + 3x uint64 eb := writeBuf(buf[:]) eb.uint16(zip64ExtraID) eb.uint16(24) // size = 3x uint64 eb.uint64(h.UncompressedSize64)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java
public Integer crudMode; /** * The search term that triggers the key match. */ @Required @Size(max = 100) public String term; /** * The query to execute when the term matches. */ @Required @CustomSize(maxKey = "form.admin.max.input.size") public String query; /** * The maximum number of results to return. */ @RequiredCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
Map map = project1.getArtifactMap(); assertNotNull(map, "No artifacts"); assertFalse(map.isEmpty(), "No Artifacts"); assertTrue(map.size() == 2, "Set size should be 2, is " + map.size()); assertTrue(map.containsKey("maven-test:t09-a"), "maven-test:t09-a is not in the project"); assertTrue(map.containsKey("maven-test:t09-b"), "maven-test:t09-b is not in the project");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java
public Integer crudMode; /** * The regular expression pattern to match request paths. */ @Required @Size(max = 1000) public String regex; /** * The replacement pattern for matched paths. */ @Size(max = 1000) public String replacement; /** * The processing type for path mapping. */ @Required public String processType;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
assertEquals(8, emptyContext.size()); // Minimum size assertFalse(emptyContext.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77)); } @Test @DisplayName("Test context size calculation") public void testContextSize() { int expectedSize = 8 + (3 * 2); // Header + 3 algorithms * 2 bytes each assertEquals(expectedSize, context.size()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.6K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
ToolchainsBuildingResult result = toolchainBuilder.build(request); assertNotNull(result.getEffectiveToolchains()); assertNotNull(result.getProblems()); assertEquals(0, result.getProblems().size()); } @Test void testBuildRequestWithUserToolchains() throws Exception { Properties props = new Properties(); props.put("key", "user_value");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
cmd/s3-zip-handlers.go
if err != nil { return nil, ObjectInfo{}, err } if size > len(b) { size = len(b) } // Calculate the object real size if encrypted if _, ok := crypto.IsEncrypted(gr.ObjInfo.UserDefined); ok { objSize, err = gr.ObjInfo.DecryptedSize() if err != nil { return nil, ObjectInfo{}, err } } else { objSize = gr.ObjInfo.Size }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java
assertEquals(0, list.size()); list = crawlerThread.getClientRuleList(""); assertEquals(0, list.size()); list = crawlerThread.getClientRuleList(" "); assertEquals(0, list.size()); list = crawlerThread.getClientRuleList("playwright:http://.*"); assertEquals(1, list.size()); assertEquals("playwright", list.get(0).getFirst());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
assertEquals(0, Invokable.from(constructor).getParameters().size()); } public void testNestedInnerClassDefaultConstructor() { Constructor<?> constructor = InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0]; assertEquals(0, Invokable.from(constructor).getParameters().size()); } @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0)