- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 960 for correctly (0.04 sec)
-
src/test/java/jcifs/netbios/NameQueryRequestTest.java
@Mock private Name mockName; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void testConstructor() { // Test that the constructor correctly initializes questionName and questionType NameQueryRequest request = new NameQueryRequest(mockConfig, mockName); assertNotNull(request); assertEquals(mockName, request.questionName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
// Test constructor initialization with proper expectations String pipeName = "\\\\pipe\\testPipe"; TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName); // Verify the name is set correctly assertEquals(pipeName, pipe.name); // Command should be SMB_COM_TRANSACTION assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, pipe.command);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
## Version 1.3.0 _2014-01-11_ * New: Support for "PATCH" HTTP method in client and MockWebServer. * Fix: Drop `Content-Length` header when redirected from POST to GET. * Fix: Correctly read cached header entries with malformed header names. * Fix: Do not directly support any authentication schemes other than "Basic". * Fix: Respect read timeouts on recycled connections.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
int value = b & 0xFF; assertEquals(255, value, "Byte to unsigned conversion should work"); // Test comparison operation assertTrue(value == 255, "Comparison should work correctly"); } /** * Encode a string as 16-bit little-endian Unicode */ private byte[] encodeUnicode(String s) { char[] chars = s.toCharArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. * * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: * * {@snippet : * List<String> expectedElements =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
fi # Repair wheels with auditwheel and delete the old one. if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then python3 -m auditwheel repair --plat "$TFCI_WHL_AUDIT_PLAT" --wheel-dir . *.whl # if the wheel is already named correctly, auditwheel won't rename it. so we # list all .whl files by their modification time (ls -t) and delete anything # other than the most recently-modified one (the new one). ls -t *.whl | tail -n +2 | xargs rm fi
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Apr 25 00:22:38 UTC 2025 - 4.7K bytes - Viewed (0) -
cmd/api-utils.go
} return name } // getHandlerName returns the name of the handler function. It takes the type // name as a string to clean up the name retrieved via reflection. This function // only works correctly when the type is present in the cmd package. func getHandlerName(f http.HandlerFunc, cmdType string) string { name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
import org.junit.jupiter.api.Test; /** * Unit tests for the Trans2FindNext2 class. */ class Trans2FindNext2Test { /** * Verifies constructor initializes protocol fields and limits correctly. */ @Test void testConstructorInitializesFields() { // Given int sid = 0x2222; int resumeKey = 0x12345678; String filename = "dir\\pattern*"; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
cmd/signature-v2_test.go
copy(sortedResourceList, resourceList) sort.Strings(sortedResourceList) for i := range resourceList { if resourceList[i] != sortedResourceList[i] { t.Errorf("Expected resourceList[%d] = \"%s\", resourceList is not correctly sorted.", i, sortedResourceList[i]) break } } } // Tests presigned v2 signature. func TestDoesPresignedV2SignatureMatch(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
class PerformanceTests { @Test @DisplayName("Should handle multiple lookups efficiently") void testMultipleLookups() throws IOException { // Test that multiple lookups work correctly for (int i = 0; i < 100; i++) { assertEquals("application/pdf", mimeMap.getMimeType("pdf")); assertEquals("text/html", mimeMap.getMimeType("html"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0)