Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 1,875 for length (0.23 sec)

  1. docs/pt/docs/advanced/custom-response.md

    * `headers` - Um dicionário `dict` de strings.
    * `media_type` - Uma `str` informando o media type. E.g. `"text/html"`.
    
    O FastAPI (Starlette, na verdade) irá incluir o cabeçalho Content-Length automaticamente. Ele também irá incluir o cabeçalho Content-Type, baseado no `media_type` e acrescentando uma codificação para tipos textuais.
    
    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            public long lastModified() {
                return 0;
            }
    
            @Override
            public long lastAccess() {
                return 0;
            }
    
            @Override
            public long length() {
                return 0;
            }
    
            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Suppress("ktlint:standard:max-line-length")
    class LoggingEventListenerTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server = MockWebServer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

        @Test
        public void testThreadSafety() throws InterruptedException {
            // Test concurrent updates from multiple threads
            Thread[] threads = new Thread[10];
    
            for (int i = 0; i < threads.length; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    for (int j = 0; j < 100; j++) {
                        String name = "file" + index + "_" + j + ".txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        /** The creation time of the access result. */
        protected Long createTime;
    
        /** The execution time of the access. */
        protected Integer executionTime;
    
        /** The content length of the accessed resource. */
        protected Long contentLength;
    
        /** The last modified time of the accessed resource. */
        protected Long lastModified;
    
        /** The access result data. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

              continue // Not a header we're interested in.
            }
            val header = responseHeaders.value(i)
    
            // Parse each extension.
            var pos = 0
            while (pos < header.length) {
              val extensionEnd = header.delimiterOffset(',', pos)
              val extensionTokenEnd = header.delimiterOffset(';', pos, extensionEnd)
              val extensionToken = header.trimSubstring(pos, extensionTokenEnd)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            if (message instanceof Smb2ReadRequest) {
                return ((Smb2ReadRequest) message).getReadLength() > 1048576; // 1MB
            }
            if (message instanceof Smb2WriteRequest) {
                // Data length not accessible, assume large writes for now
                return true;
            }
            return false;
        }
    
        private boolean isMetadataOperation(CommonServerMessageBlock message) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            // Test encoding/decoding
            byte[] encoded = nic.encode();
            assertNotNull(encoded);
            assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);
    
            NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0);
            assertEquals(nic.getInterfaceIndex(), decoded.getInterfaceIndex());
            assertEquals(nic.getLinkSpeed(), decoded.getLinkSpeed());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. cmd/server-startup-msg.go

    	"net"
    	"net/url"
    	"strings"
    
    	xnet "github.com/minio/pkg/v3/net"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/logger"
    )
    
    // generates format string depending on the string length and padding.
    func getFormatStr(strLen int, padding int) string {
    	formatStr := fmt.Sprintf("%ds", strLen+padding)
    	return "%" + formatStr
    }
    
    // Prints the formatted startup message.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

         */
        protected OptionalThing<HtmlResponse> redirectToSearchPage() {
            final RequestParameter[] searchParameters = searchHelper.getSearchParameters();
            if (searchParameters.length > 0) {
                final List<String> paramList = new ArrayList<>();
                for (final RequestParameter param : searchParameters) {
                    for (final String value : param.getValues()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top