Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,214 for correct (0.04 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            handle.close();
    
            // Verify close was called
            verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
            assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed
        }
    
        @Test
        void testClose_AlreadyClosed() throws IOException {
            // Test case: close() when already closed, should do nothing
            String server = "testServer";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. docs/en/docs/fastapi-cli.md

    </div>
    
    The command line program called `fastapi` is **FastAPI CLI**.
    
    FastAPI CLI takes the path to your Python program (e.g. `main.py`) and automatically detects the `FastAPI` instance (commonly named `app`), determines the correct import process, and then serves it.
    
    For production you would use `fastapi run` instead. 🚀
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            // 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);
            assertEquals(0x0F, serverData.securityMode);
            assertEquals(0x01, serverData.security);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Then
            assertNotNull(transCallNamedPipe);
            assertEquals(TEST_PIPE_NAME, transCallNamedPipe.name);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat writes correct bytes")
        void testWriteSetupWireFormat() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] dst = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertSame(retrievedCode1, retrievedCode2);
            assertEquals(messageCode, retrievedCode1);
        }
    
        public void test_constructorParameterOrder() {
            // Setup - verify parameter order is correct
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
            final String message = "Parameter order test";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

                @Override
                protected SmbResource adapt(FileEntry e) {
                    adaptCalled[0] = true;
                    assertEquals(mockFileEntry1, e, "Should adapt the correct entry");
                    return mockResource1;
                }
            };
    
            // When
            SmbResource result = iterator.next();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            }
            // We reschedule ourselves with a lock held for two reasons. 1. we want to make sure that
            // cancel calls cancel on the correct future. 2. we want to make sure that the assignment
            // to currentFuture doesn't race with itself so that currentFuture is assigned in the
            // correct order.
            Throwable scheduleFailure = null;
            Cancellable toReturn;
            lock.lock();
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/separate-openapi-schemas.md

    # Separate OpenAPI Schemas for Input and Output or Not { #separate-openapi-schemas-for-input-and-output-or-not }
    
    When using **Pydantic v2**, the generated OpenAPI is a bit more exact and **correct** than before. 😎
    
    In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**.
    
    Let's see how that works and how to change it if you need to do that.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. 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 = 7
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. 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--;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top