Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,381 for then (0.05 sec)

  1. docs/en/docs/how-to/conditional-openapi.md

    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    And then we use it when creating the `FastAPI` app.
    
    Then you could disable OpenAPI (including the UI docs) by setting the environment variable `OPENAPI_URL` to the empty string, like:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HexdumpTest.java

            assertNotNull(result);
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle null byte array")
        void testToHexStringNull() {
            // When/Then
            assertThrows(NullPointerException.class, () -> {
                Hexdump.toHexString(null);
            });
        }
    
        @Test
        @DisplayName("Should convert byte array to hex string with offset and length")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/packaging/common/scripts/postrm

        if command -v systemctl >/dev/null; then
            systemctl --no-reload disable fess.service > /dev/null 2>&1 || true
        fi
    
        if command -v chkconfig >/dev/null; then
            chkconfig --del fess 2> /dev/null || true
        fi
    
        if command -v update-rc.d >/dev/null; then
            update-rc.d fess remove >/dev/null || true
        fi
    fi
    
    if [ "$REMOVE_DIRS" = "true" ]; then
        if [ -d "$PID_DIR" ]; then
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                int result = 0;
                when(mockBuffer.dec_ndr_short()).thenReturn(4096, 4096, 10, result, 0);
                when(mockBuffer.dec_ndr_long()).thenReturn(12345);
                when(mockBuffer.dec_ndr_small()).thenReturn(1);
                lenient().doNothing().when(mockBuffer).advance(anyInt());
                lenient().when(mockBuffer.align(anyInt())).thenReturn(0);
    
                // When
                bind.decode_out(mockBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtStatusTest.java

            // When/Then
            assertEquals((int) 0x80000005L, infoStatus);
            // Should be an informational/warning status (0x8 prefix)
            assertTrue((infoStatus & (int) 0x80000000L) == (int) 0x80000000L);
        }
    
        @Test
        @DisplayName("Should handle pending status")
        void testPendingStatus() {
            // Given
            int pendingStatus = NtStatus.NT_STATUS_PENDING;
    
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/UrlEscapers.java

       *   <li>The unreserved characters ".", "-", "~", and "_" remain the same.
       *   <li>The general delimiters "@" and ":" remain the same.
       *   <li>The subdelimiters "!", "$", "&amp;", "'", "(", ")", "*", "+", ",", ";", and "=" remain
       *       the same.
       *   <li>The space character " " is converted into %20.
       *   <li>Fragments allow unescaped "/" and "?", so they remain the same.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/DfsReferralDataTest.java

            // Then
            assertEquals(nextReferral, result);
            verify(mockReferralData).next();
        }
    
        @Test
        @DisplayName("Should get link")
        void testGetLink() {
            // Given
            String link = "/test/link";
            when(mockReferralData.getLink()).thenReturn(link);
    
            // When
            String result = mockReferralData.getLink();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        void testTransformHeaderSize() {
            // When
            int headerSize = transformHeader.size();
    
            // Then
            assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes
        }
    
        // Note: SMB2 Transform Header doesn't have a protocol ID field
        // The protocol ID is part of the encrypted SMB2 message, not the transform header
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/maven/bin/mvn

    if $cygwin || $mingw ; then
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
    fi
    
    if [ -n "$JAVA_HOME" ] ; then
      if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
        # IBM's JDK on AIX uses strange locations for the executables
        JAVACMD="$JAVA_HOME/jre/sh/java"
      else
        JAVACMD="$JAVA_HOME/bin/java"
    
        if [ ! -x "$JAVACMD" ] ; then
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/StringsTest.java

                // When & Then - the implementation throws ArrayIndexOutOfBoundsException when buffer bounds are exceeded
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    Strings.findUNITermination(bufferWithoutTermination, 0, bufferWithoutTermination.length);
                }, "Should throw ArrayIndexOutOfBoundsException when termination not found within bounds");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top