- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for expectedMin (0.06 sec)
-
internal/hash/reader.go
var ErrInvalidChecksum = errors.New("invalid checksum") // SetExpectedMin set expected minimum data expected from reader func (r *Reader) SetExpectedMin(expectedMin int64) { r.expectedMin = expectedMin } // SetExpectedMax set expected max data expected from reader func (r *Reader) SetExpectedMax(expectedMax int64) { r.expectedMax = expectedMax }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 11.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt
val expectedPin = Pin("*.example.com", certA1Sha256Pin) assertThat(certificatePinner.findMatchingPins("a.example.com")).containsExactly(expectedPin) assertThat(certificatePinner.findMatchingPins(".example.com")).containsExactly(expectedPin) assertThat(certificatePinner.findMatchingPins("example.example.com")) .containsExactly(expectedPin) } @Test fun testGoodPin() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
// Depends on the correctness of BigIntegerMath.factorial. public void testFactorial() { for (int n = 0; n <= 50; n++) { BigInteger expectedBig = BigIntegerMath.factorial(n); int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; assertEquals(expectedInt, IntMath.factorial(n)); } } public void testFactorialNegative() { for (int n : NEGATIVE_INTEGER_CANDIDATES) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
void testSetAndGetMid() { // Given long expectedMid = 12345L; doNothing().when(messageBlock).setMid(expectedMid); when(messageBlock.getMid()).thenReturn(expectedMid); // When messageBlock.setMid(expectedMid); long actualMid = messageBlock.getMid(); // Then assertEquals(expectedMid, actualMid); verify(messageBlock).setMid(expectedMid);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt
val certificatePinner = builder.build() val expectedPins = Arrays.asList( CertificatePinner.Pin("example.com", certA1Sha256Pin), CertificatePinner.Pin("www.example.com", certA1Sha256Pin), ) assertEquals(expectedPins, builder.pins) assertEquals(HashSet(expectedPins), certificatePinner.pins) } companion object { val certA1 =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
void testReadParameterWords(int expectedInt, byte[] bytes) { // The implementation reads via SMBUtil.readInt4 which returns an int // When assigned to a long field, it gets sign-extended int readLen = response.readParameterWordsWireFormat(bytes, 0); long expectedOffset = expectedInt; // Sign extension happens here for negative values
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, name); int expectedLen = 2 + 2 + 2 + 4 + 2 + name.length() + 1; byte[] dst = new byte[expectedLen]; // When int len = next.writeParametersWireFormat(dst, 0); // Then assertEquals(expectedLen, len, "Unexpected parameters length"); // sid (2 bytes, LE) assertEquals((byte) 0x34, dst[0]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
assertEquals("PASSED", pom.getValue("properties[1]/property")); } /*MNG-7750*/ private void checkBuildPluginWithArtifactId( List<Plugin> plugins, String artifactId, String expectedId, String expectedConfig) { Plugin plugin = plugins.stream() .filter(p -> p.getArtifactId().equals(artifactId)) .findFirst() .orElse(null);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 94.8K bytes - Viewed (0)