- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 727 for actual (0.04 sec)
-
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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
@Test @DisplayName("Should decode with actual free units skipped") void testDecodeSkipsActualFreeUnits() throws SMBProtocolDecodingException { byte[] buffer = new byte[32]; // total allocation units (8 bytes) buffer[4] = 0x01; // caller available allocation units (8 bytes) buffer[12] = 0x01; // actual free units (8 bytes) - should be skipped
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/01-pkgsite.yml
validations: required: true - type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations: required: true - type: textarea id: expected-behavior attributes: label: "What did you expect to see?"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
TF_Buffer* result = TFE_GetServerDef(expected_text_proto.c_str(), status); EXPECT_EQ(TF_GetCode(status), TF_OK); ServerDef actual; ASSERT_TRUE(actual.ParseFromArray(result->data, result->length)); string actual_text_proto; tensorflow::protobuf::TextFormat::PrintToString(actual, &actual_text_proto); EXPECT_EQ(expected_text_proto, actual_text_proto); const string malformed_text_proto(R"(cluster { job {
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tests/preload_test.go
for _, test := range tests { t.Run(test.name, func(t *testing.T) { actual := Org{} tx := DB.Where("id = ?", org.ID).Session(&gorm.Session{}) for name, args := range test.preloads { tx = tx.Preload(name, args...) } if err := tx.Find(&actual).Error; err != nil { t.Errorf("failed to find org, got err: %v", err) } AssertEqual(t, actual, test.expect) }) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
import com.google.common.eventbus.EventBus; import junit.framework.TestCase; import org.jspecify.annotations.Nullable; /** * Abstract base class for tests that EventBus finds the correct subscribers. * * <p>The actual tests are distributed among the other classes in this package based on whether they * are annotated or abstract in the superclass. * * <p>This test must be outside the c.g.c.eventbus package to test correctly. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (0) -
misc/cgo/gmp/fib.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // Compute Fibonacci numbers with two goroutines // that pass integers back and forth. No actual // concurrency, just threads and synchronization // and foreign code on multiple pthreads. package main import ( big "." "runtime" ) func fibber(c chan *big.Int, out chan string, n int64) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 919 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
) } } private fun assertData(hex: String) { assertData(hex.decodeHex()) } private fun assertData(expected: ByteString) { val actual = data.readByteString(Math.min(expected.size.toLong(), data.size)) assertThat(actual).isEqualTo(expected) } companion object { private fun binaryData(length: Int): ByteString { val junk = ByteArray(length) Random(0).nextBytes(junk)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
assertEquals(0, msrpcSamrOpenDomain.getPtype(), "ptype should be initialized to 0"); // Verify that flags are set correctly (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG) // The actual values for DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG are typically 0x01 and 0x02 respectively. int expectedFlags = 0x01 | 0x02; // DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeCapture.java
*/ package com.google.common.reflect; import static com.google.common.base.Preconditions.checkArgument; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; /** * Captures the actual type of {@code T}. * * @author Ben Yu */ abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.1K bytes - Viewed (0)