- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 3,107 for correct (0.05 seconds)
-
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: Sun Apr 05 00:10:12 GMT 2026 - 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* to populate fields if the writeXxx operation needs this header data * for whatever reason. I copy over the uid here so it appears correct * in logging output. Logging of andx segments of messages inadvertantly * print header information because of the way toString always makes aCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.9K bytes - Click Count (0) -
docs/en/docs/advanced/response-cookies.md
/// tip Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly. So, you will have to make sure your data is of the correct type. E.g. it is compatible with JSON, if you are returning a `JSONResponse`. And also that you are not sending any data that should have been filtered by a `response_model`. /// ### More info { #more-info }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
} @Test public void test_classStructure() { // Test that the class exists and has the expected structure assertEquals("CustomSizeValidator should be in correct package", "org.codelibs.fess.validation.CustomSizeValidator", CustomSizeValidator.class.getName()); // Test that it implements ConstraintValidatorCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
assertFalse(crawlerEngineClient.equals(other)); } // Test getClass method @Test public void test_getClass() { // Test that getClass returns the correct class assertEquals(CrawlerEngineClient.class, crawlerEngineClient.getClass()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K 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 Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
@Test void testWitnessEventTypes() { assertEquals(7, WitnessEventType.values().length); WitnessEventType[] events = WitnessEventType.values(); // Verify all expected event types with correct values assertEquals(1, WitnessEventType.RESOURCE_CHANGE.getValue()); assertEquals(2, WitnessEventType.CLIENT_MOVE.getValue()); assertEquals(3, WitnessEventType.SHARE_MOVE.getValue());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} } // Verify chain is properly linked ServerMessageBlock2 current = messages[0]; for (int i = 1; i < messages.length; i++) { current = current.getNext(); assertEquals(messages[i], current); } } @Test @DisplayName("Should handle zero-length error data")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0)