- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 538 for correta (0.05 seconds)
-
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) -
docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
O Pydantic tem um <a href="https://docs.pydantic.dev/latest/migration/" class="external-link" target="_blank">Guia de Migração</a> oficial do v1 para o v2. Ele também inclui o que mudou, como as validações agora são mais corretas e rigorosas, possíveis ressalvas, etc. Você pode lê-lo para entender melhor o que mudou. ## Testes { #tests }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 5.8K 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) -
src/test/java/jcifs/BufferCacheTest.java
@BeforeEach void setUp() { testCache = new TestBufferCacheImpl(5, 1024); // 5 buffers of 1KB each } @Test @DisplayName("BufferCache interface should define correct method signatures") void testInterfaceContract() { // Given BufferCache cache = mockBufferCache; // When & Then - verify interface methods exist and can be calledCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K 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/main/java/jcifs/smb1/smb1/NtStatus.java
/** The specified user already exists */ int NT_STATUS_USER_EXISTS = 0xC0000063; /** The specified user does not exist */ int NT_STATUS_NO_SUCH_USER = 0xC0000064; /** The specified network password is not correct */ int NT_STATUS_WRONG_PASSWORD = 0xC000006a; /** Logon failure: unknown user name or bad password */ int NT_STATUS_LOGON_FAILURE = 0xC000006d; /** Logon failure: user account restriction */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 13.2K bytes - Click Count (0)