- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 531 for matched (0.07 sec)
-
internal/hash/checksum.go
return false } if len(c.Encoded) == 0 || c.Type.Trailing() { return c.Type.Is(ChecksumNone) || c.Type.Trailing() } return c.Type.RawByteLen() == len(c.Raw) } // Matches returns whether given content matches c. func (c Checksum) Matches(content []byte, parts int) error { if len(c.Encoded) == 0 { return nil } hasher := c.Type.Hasher() _, err := hasher.Write(content) if err != nil { return err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 18.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
* @param methods list of all candidate methods * @param classes the actual types of the arguments * @return a list that contains only applicable methods (number of * formal and actual arguments matches, and argument types are assignable * to formal types through a method invocation conversion). */ private static LinkedList<Method> getApplicables(List<Method> methods, Class<?>... classes) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 14.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
contains("teamcity.agent.jvm.os.arch", arch.nameOnMac) } else { contains("teamcity.agent.jvm.os.arch", arch.nameOnLinuxWindows) } } fun Requirements.requiresEc2Agent() { matches("teamcity.agent.name", "^(ec|EC)2-.*$") } fun Requirements.requiresNotEc2Agent() { doesNotContain("teamcity.agent.name", "ec2") // US region agents have name "EC2-XXX"
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 22 07:15:16 UTC 2025 - 15.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
* * <h4>Limited Inference for 4.0.0 Models (Maven 3.x POMs)</h4> * <ul> * <li><strong>Child GroupId Removal</strong>: Removes child {@code <groupId>} when it matches parent groupId</li> * <li><strong>Child Version Removal</strong>: Removes child {@code <version>} when it matches parent version</li> * </ul> * * <h4>Full Inference for 4.1.0+ Models</h4> * <ul>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
byte[] dst = new byte[dstIndex + len + 5]; Arrays.fill(dst, (byte) 0x55); // Act int written = enc.encode(dst, dstIndex); // Assert: reported written bytes matches size() and requested len. assertEquals(len, enc.size(), "size() must equal provided length"); assertEquals(len, written, "encode() must return number of bytes written");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
verifyNoInteractions(mocked); } // Reflection-based check: ensure serialVersionUID remains the declared constant @Test @DisplayName("serialVersionUID matches declared constant") void serialVersionUID_hasExpectedValue() throws Exception { // Arrange Field f = SMBSignatureValidationException.class.getDeclaredField("serialVersionUID"); f.setAccessible(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
internal/crypto/header_test.go
if !isEqual(test.ExpectedHeader, test.Header) { t.Errorf("Test %d: filtered headers do not match expected headers - got: %v , want: %v", i, test.Header, test.ExpectedHeader) } RemoveSensitiveEntries(metadata) if !areKeysEqual(test.ExpectedHeader, metadata) { t.Errorf("Test %d: filtered headers do not match expected headers - got: %v , want: %v", i, test.Header, test.ExpectedHeader) } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 13 14:52:15 UTC 2022 - 21.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
} /** * Verify that {@link #toString()} with no root cause equals the default * {@code IOException#toString()}. */ @Test @DisplayName("toString without root cause matches IOException#toString") void testToStringWithoutRootCause() { SmbException ex = new SmbException(0, false); assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
ComponentLookupException e = assertThrows(ComponentLookupException.class, () -> container.lookup(MySingletonBean2.class)); assertTrue(e.getMessage().matches("[\\s\\S]*: Can not set .* field .* to [\\s\\S]*")); MySingletonBean bean = container.lookup(MySingletonBean.class); assertNotNull(bean); assertNotNull(bean.anotherBean);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.2K bytes - Viewed (0) -
tests/test_ws_router.py
""" caught = [] @websocket_middleware async def catcher(websocket, call_next): try: return await call_next() except Exception as e: # pragma: no cover caught.append(e) raise myapp = make_app(middleware=[Middleware(catcher)]) client = TestClient(myapp) with pytest.raises(WebSocketDisconnect) as e:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0)