- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 442 for Correct (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
recordNameField.setAccessible(true); assertNotNull(recordNameField.get(response)); // Verify macAddress is initialized with correct size Field macAddressField = NodeStatusResponse.class.getDeclaredField("macAddress"); macAddressField.setAccessible(true); byte[] macAddress = (byte[]) macAddressField.get(response);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
testNonce = new byte[16]; new SecureRandom().nextBytes(testNonce); testSessionId = 0x123456789ABCDEF0L; } @Test @DisplayName("Should create transform header with correct size") void testTransformHeaderSize() { // When int headerSize = transformHeader.size(); // Then assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("0011", Hexdump.toHexString(data4, 2, 4)); // Bug: ignores srcIndex, reads from 0 } @Test @DisplayName("Should perform hexdump with correct formatting") void testHexdump() { // Capture output ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
misc/ios/detect.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // detect attempts to autodetect the correct // values of the environment variables // used by go_ios_exec. // detect shells out to ideviceinfo, a third party program that can // be obtained by following the instructions at // https://github.com/libimobiledevice/libimobiledevice.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
*/ @Test void testGetFlags() { int expectedFlags = 0xAABBCCDD; AvFlags avFlags = new AvFlags(expectedFlags); assertEquals(expectedFlags, avFlags.getFlags(), "getFlags should return the correct integer value"); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
assertEquals(targetName, avTargetName.getTargetName(), "Retrieved target name should match the original string"); } /** * Test getTargetName() method with raw bytes input. * Verifies that the correct string is reconstructed from raw UTF-16LE bytes. */ @Test void testGetTargetNameFromRawBytesConstructor() { String originalString = "RawBytesTarget";
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java
@Test void testHelpIncludesAllOption() throws Exception { UpgradeContext context = createMockContext(); help.execute(context); // Verify that the --all option is mentioned with correct description Mockito.verify(context.logger) .info( " -a, --all Apply all upgrades (equivalent to --model-version 4.1.0 --infer --model --plugins)"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Act SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", flags, ctx()); // Assert: observable properties still correct assertEquals(flags, pipe.getPipeType()); assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType()); } } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
NdrLong ndrLong = new NdrLong(testValue); // Call the encode method ndrLong.encode(mockNdrBuffer); // Verify that enc_ndr_long was called exactly once with the correct value verify(mockNdrBuffer, times(1)).enc_ndr_long(testValue); // Verify that no other interactions occurred with the mock buffer verifyNoMoreInteractions(mockNdrBuffer); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/bug_report.yaml
validations: required: true - type: textarea attributes: label: Example description: > Please provide a [Short, Self Contained, Correct (Compilable), Example](http://sscce.org/) demonstrating the bug. render: java validations: required: true - type: textarea attributes: label: Expected BehaviorCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 16 20:08:25 GMT 2024 - 2.9K bytes - Click Count (0)