- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 727 for actual (0.04 sec)
-
guava-tests/test/com/google/common/math/LongMathTest.java
long expected = new BigDecimal(valueOf(p)).divide(new BigDecimal(valueOf(q)), 0, mode).longValue(); long actual = LongMath.divide(p, q, mode); if (expected != actual) { failFormat("expected divide(%s, %s, %s) = %s; got %s", p, q, mode, expected, actual); } // Check the assertions we make in the javadoc. if (mode == DOWN) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
return newDoubler(2, 32); } }; assertThat(doubled).containsExactly(2, 4, 8, 16, 32).inOrder(); } public void testSampleCode() { Iterable<Integer> actual = new Iterable<Integer>() { @Override public Iterator<Integer> iterator() { Iterator<Integer> powersOfTwo = new AbstractSequentialIterator<Integer>(1) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
SmbComNTCreateAndX req = createRequest(flags, 0); // Use reflection to read the private field createDisposition int actual = (int) getPrivateField(req, "createDisposition"); assertEquals(expected, actual, "createDisposition should match"); } } @Test @DisplayName("CreateOptions default padding") void createOptionsAddedWhenLow() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/bytes/bytes_test.go
for _, tc := range testCases { actual := f([]byte(tc.in)) if actual == nil && tc.out != nil { t.Errorf("%s(%q) = nil; want %q", funcName, tc.in, tc.out) } if actual != nil && tc.out == nil { t.Errorf("%s(%q) = %q; want nil", funcName, tc.in, actual) } if !Equal(actual, tc.out) { t.Errorf("%s(%q) = %q; want %q", funcName, tc.in, actual, tc.out) } } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
private val results = LinkedBlockingQueue<FutureTask<Void>>() fun receiveRequest(expected: String) = apply { actions += { stream -> val actual = stream.source.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } } fun exhaustRequest() = apply { actions += { stream ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/OkHttp.jvm.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import okhttp3.internal.CONST_VERSION actual object OkHttp { @JvmField actual val VERSION: String = CONST_VERSION
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 738 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
private static void checkArrayEquals(Object[] expected, Object[] actual) { assertTrue( "expected(" + expected.getClass() + "): " + Arrays.toString(expected) + " actual(" + actual.getClass() + "): " + Arrays.toString(actual), arrayEquals(expected, actual)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0) -
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]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
assertEquals("TestAgent", fessConfig.getUserAgentName()); } private void assertArrays(final String[] expected, final String[] actual) { Arrays.sort(expected); Arrays.sort(actual); assertEquals(String.join(",", expected), String.join(",", actual)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
* If the {@linkplain #getBaseVersion() base version} contains a meta-version such as {@code SNAPSHOT}, * those keywords are replaced by, for example, the actual timestamp. * * @see ArtifactCoordinates#getVersionConstraint() */ @Nonnull Version getVersion(); /** * {@return the version or meta-version of the artifact}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 4.6K bytes - Viewed (0)