- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 636 for incorrect (1.07 sec)
-
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
// We must switch the old buffer to read mode to extract data Java8Compatibility.flip(buffer); newBuffer.put(buffer); // Swap references, newBuffer is already in write mode at the correct position this.buffer = newBuffer; } @Override public Hasher putByte(byte b) { ensureCapacity(Byte.BYTES); buffer.put(b); return this; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 04 15:39:10 UTC 2025 - 4.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
// Should not throw exception for empty but non-null stream extractor.testValidateInputStream(emptyStream); } /** * Test that CrawlerSystemException is the correct exception type. */ public void test_validateInputStream_throwsCorrectExceptionType() { try { extractor.testValidateInputStream(null); fail("Expected CrawlerSystemException");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/Referral.java
} return this.size; } private static String readString(final byte[] buffer, int bufferIndex, final int len) { // this is not absolutely correct, but we assume that the header is aligned if (bufferIndex % 2 != 0) { bufferIndex++; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
}; // Act & Assert: test with different file names assertTrue(filter.accept(mockDir, "document.txt"), "Should accept .txt files in the correct path"); assertFalse(filter.accept(mockDir, "image.png"), "Should reject non-.txt files"); assertFalse(filter.accept(mockDir, null), "Should reject null names");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
tests/test_ws_router.py
return wrapped_app return middleware_constructor def test_depend_validation(): """ Verify that a validation in a dependency invokes the correct exception handler """ caught = [] @websocket_middleware async def catcher(websocket, call_next): try: return await call_next()Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1); assertFalse(inner.isEmpty(), "inner part of toString should not be empty"); } @Test @DisplayName("constructor sets correct command value") void constructorSetsCorrectCommand() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message should not be null"); // SMB_COM_LOGOFF_ANDX = 0x74
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length); // Then assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position"); } @Test @DisplayName("findUNITermination should throw exception when termination not found") void testFindUNITerminationNotFound() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
// Check that the plugin version was upgraded assertTrue(result.contains("<version>3.2</version>"), "Plugin version should be upgraded to 3.2"); // Verify that the XML formatting is correct - no malformed closing tags assertFalse(result.contains("</plugin></plugins>"), "Should not have malformed closing tags");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.8K bytes - Viewed (0) -
internal/s3select/errors.go
} func errInvalidCompression(err error, t CompressionType) *s3Error { return &s3Error{ code: "InvalidCompressionFormat", message: strings.ToUpper(string(t)) + " is not applicable to the queried object. Please correct the request and try again.", statusCode: 400, cause: err, } } func errInvalidDataSource(err error) *s3Error { return &s3Error{ code: "InvalidDataSource",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0)