- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 894 for actual (0.14 seconds)
-
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length) // This appears to be a bug in the implementation, but we test the actual behavior assertEquals(6, encodedSize); // actual encoded size: 2 bytes count + 2*2 bytes for ciphers assertEquals(2, buffer[0]); // cipher count (little endian) assertEquals(0, buffer[1]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
// Now call the ServerMessageBlock2Request's encode which will do the validation int exp = size(); int actual = getLength(); if (exp != actual) { throw new IllegalStateException(String.format("Wrong size calculation have %d expect %d", exp, actual)); } return calculatedLength; } private void setLength(int length) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsTest.java
} private static void assertEquivalent(double actual, double expected) { if (expected == POSITIVE_INFINITY) { assertThat(actual).isPositiveInfinity(); } else if (expected == NEGATIVE_INFINITY) { assertThat(actual).isNegativeInfinity(); } else if (Double.isNaN(expected)) { assertThat(actual).isNaN(); } else { assertThat(actual).isWithin(ALLOWED_ERROR).of(expected); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 33.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
logger.debug("Unexpected number of update indices: expected={}, actual={}, updateAlias={}, indices={}", EXPECTED_INDEX_COUNT, updateIndices.size(), updateAlias, updateIndices); } throw new SuggesterException( "Unexpected number of update indices: expected=" + EXPECTED_INDEX_COUNT + ", actual=" + updateIndices.size()); }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.6K bytes - Click Count (3) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
String expectedContains = ",addrEntry=["; String actual = nameQueryResponse.toString(); assertTrue(actual.startsWith("NameQueryResponse["), "toString should start with expected prefix"); assertTrue(actual.contains(expectedContains), "toString should contain the 'addrEntry' part"); assertTrue(actual.contains("192.168.1.1"), "toString should contain the first NbtAddress string representation");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StatsTests.java
logger.info("Stats version: {}", version); logger.info("Stats status: {}", status); // Verify stats contain expected fields // Note: The actual fields may vary depending on the implementation // Common fields might include: document count, index size, etc. assertTrue(res.size() > 0, "Response should contain stats data");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java
* </pre> */ public abstract class AbstractUpgradeStrategy implements UpgradeStrategy { /** * Template method that handles common logging and error handling. * Subclasses implement the actual upgrade logic in doApply(). */ @Override public final UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap) { context.info(getDescription()); context.indent();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
assertEquals(hashUtf16, murmur3_32().newHasher().putString(str, UTF_16).hash()); } } private static void assertHash(int expected, HashCode actual) { assertEquals(HashCode.fromInt(expected), actual); } public void testParanoidHashBytes() { HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
assertEquivalent(expectedResult, collector.finisher().apply(finalAccum)); } } private void assertEquivalent(R expected, R actual) { assertTrue( "Expected " + expected + " got " + actual + " modulo equivalence " + equivalence, equivalence.test(expected, actual)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
return Integer.MIN_VALUE; } return big.intValue(); } private void assertOperationEquals(int a, int b, String op, int expected, int actual) { if (expected != actual) { fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual); } } // Depends on the correctness of BigIntegerMath.factorial. public void testFactorial() { for (int n = 0; n <= 50; n++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0)