- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 619 for Correct (0.06 seconds)
-
src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java
assertTrue(result instanceof Object[]); Object[] resultArray = (Object[]) result; assertEquals(6, resultArray.length); // Verify all values are in correct positions assertEquals("initial", resultArray[0]); assertEquals("item1", resultArray[1]); assertEquals("item2", resultArray[2]); assertEquals("item3", resultArray[3]);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.8K bytes - Click Count (0) -
cmd/bitrot.go
left -= read if !bytes.Equal(h.Sum(nil), hashBuf[:n]) { return errFileCorrupt } } return nil } // bitrotSelfTest performs a self-test to ensure that bitrot // algorithms compute correct checksums. If any algorithm // produces an incorrect checksum it fails with a hard error. // // bitrotSelfTest tries to catch any issue in the bitrot implementation // early instead of silently corrupting data.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.7K bytes - Click Count (0) -
src/bufio/scan_test.go
lines := []string{ "abcdefghijklmn", "opqrstuvwxyz", "", } testNoNewline(text, lines, t) } var testError = errors.New("testError") // Test the correct error is returned when the split function errors out. func TestSplitError(t *testing.T) { // Create a split function that delivers a little data, then a predictable error. numSplits := 0 const okCount = 7Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
docs/en/docs/tutorial/request-files.md
But when the form includes files, it is encoded as `multipart/form-data`. If you use `File`, **FastAPI** will know it has to get the files from the correct part of the body. If you want to read more about these encodings and form fields, head to the [<abbr title="Mozilla Developer Network">MDN</abbr> web docs for `POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7K bytes - Click Count (0) -
ci/devinfra/docker/windows/Dockerfile
# NOTE: This Dockerfile is no longer in use. # It is kept just in case, but it's recommended to use the 2022 version, # and that is what internal CI uses as well. # This Dockerfile creates an image that has: # - the correct MTU setting for networking from inside the container to work. # - Visual Studio 2022 Build Tools # - MSVC 14.39 # - LLVM/Clang 18.1.4 # - MSYS2 + curl, git, patch, vim, unzip, zip # - Python 3.12.3 # - Bazelisk 1.19.0
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Jan 17 16:35:57 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
byte[] paramWords = buffer.array(); // Call the method to test int bytesRead = response.readParameterWordsWireFormat(paramWords, 0); // Assert that the correct number of bytes were read assertEquals(34, bytesRead); // Assert that the serverData fields are populated correctly assertEquals(0, response.dialectIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
} protected PromptBuilder confirmPrompt(PromptBuilder promptBuilder) { promptBuilder .createConfirmPromp() .name("confirm") .message("Are values above correct?") .defaultValue(ConfirmChoice.ConfirmationValue.YES) .addPrompt(); return promptBuilder; } protected PromptBuilder dispatcherPrompt(PromptBuilder promptBuilder) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 12K bytes - Click Count (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
* 10^floor(log10(x)). */ if (approxCmp > 0) { /* * The code is written so that even completely incorrect approximations will still yield the * correct answer eventually, but in practice this branch should almost never be entered, and * even then the loop should not run more than once. */ do { approxLog10--;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
Throwable[] suppressed = mainException.getSuppressed(); assertEquals(1, suppressed.length); assertEquals(suppressedException, suppressed[0]); } @Test @DisplayName("Should provide correct cause for constructor with cause only") void testCauseOnlyConstructorMessage() { // Given RuntimeException cause = new RuntimeException("Specific cause message"); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
preauthService.updatePreauthHash(sessionId, "Message2".getBytes()); byte[] expectedHash = preauthService.getCurrentPreauthHash(sessionId); // Validation should pass with correct hash assertTrue(preauthService.validatePreauthIntegrity(sessionId, expectedHash)); // Validation should fail with incorrect hash byte[] incorrectHash = new byte[expectedHash.length];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0)