Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 178 for 1014 (0.02 seconds)

  1. internal/config/scanner/scanner.go

    	}
    
    	excessVersions, err := strconv.ParseInt(env.Get(EnvExcessVersions, kvs.GetWithDefault(ExcessVersions, DefaultKVS)), 10, 64)
    	if err != nil {
    		return cfg, err
    	}
    	cfg.ExcessVersions = excessVersions
    
    	excessFolders, err := strconv.ParseInt(env.Get(EnvExcessFolders, kvs.GetWithDefault(ExcessFolders, DefaultKVS)), 10, 64)
    	if err != nil {
    		return cfg, err
    	}
    	cfg.ExcessFolders = excessFolders
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. docs/de/docs/advanced/response-headers.md

    {* ../../docs_src/response_headers/tutorial001_py39.py hl[10:12] *}
    
    /// note | Technische Details
    
    Sie können auch `from starlette.responses import Response` oder `from starlette.responses import JSONResponse` verwenden.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.8K bytes
    - Click Count (2)
  3. docs/en/docs/advanced/response-headers.md

    Create a response as described in [Return a Response Directly](response-directly.md){.internal-link target=_blank} and pass the headers as an additional parameter:
    
    {* ../../docs_src/response_headers/tutorial001_py39.py hl[10:12] *}
    
    /// note | Technical Details
    
    You could also use `from starlette.responses import Response` or `from starlette.responses import JSONResponse`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            ByteBuffer buffer = ByteBuffer.allocateDirect(1024);
            EnumSet<RdmaAccess> access = EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.LOCAL_WRITE);
    
            RdmaMemoryRegion region = provider.registerMemory(buffer, access);
            assertNotNull(region, "Memory region should not be null");
            assertEquals(buffer, region.getBuffer(), "Buffer should match");
            assertEquals(1024, region.getSize(), "Size should match buffer size");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/response-cookies.md

    你还可以在直接响应`Response`时直接创建cookies。
    
    你可以参考[Return a Response Directly](response-directly.md){.internal-link target=_blank}来创建response
    
    然后设置Cookies,并返回:
    
    {* ../../docs_src/response_cookies/tutorial001.py hl[10:12] *}
    
    /// tip
    
    需要注意,如果你直接反馈一个response对象,而不是使用`Response`入参,FastAPI则会直接反馈你封装的response对象。
    
    所以你需要确保你响应数据类型的正确性,如:你可以使用`JSONResponse`来兼容JSON的场景。
    
    同时,你也应当仅反馈通过`response_model`过滤过的数据。
    
    ///
    
    ### 更多信息
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        val builder = OkHttpClient.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.minWebSocketMessageToCompress(-1024)
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("minWebSocketMessageToCompress must be positive: -1024")
        }
      }
    
      companion object {
        private val DEFAULT_PROXY_SELECTOR = ProxySelector.getDefault()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 13.4K bytes
    - Click Count (1)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            }
    
            in 8..9 -> {
              id = source.readUtf8LineStrict().takeIf { it.isNotEmpty() }
            }
    
            in 10..12 -> {
              id = null // 'id' on a line of its own.
            }
    
            in 13..14 -> {
              type = source.readUtf8LineStrict().takeIf { it.isNotEmpty() }
            }
    
            in 15..17 -> {
              type = null // 'event' on a line of its own
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/response-headers.md

    ## `Response` 직접 반환하기
    
    `Response`를 직접 반환할 때에도 헤더를 추가할 수 있습니다.
    
    [응답을 직접 반환하기](response-directly.md){.internal-link target=_blank}에서 설명한 대로 응답을 생성하고, 헤더를 추가 매개변수로 전달하세요.
    
    {* ../../docs_src/response_headers/tutorial001.py hl[10:12] *}
    
    /// note | 기술적 세부사항
    
    `from starlette.responses import Response`나 `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt

    /*
     * Copyright (C) 2014 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

    public final class SimplexTransferListener extends AbstractTransferListener implements AutoCloseable {
        private static final Logger LOGGER = LoggerFactory.getLogger(SimplexTransferListener.class);
        private static final int QUEUE_SIZE = 1024;
        private static final int BATCH_MAX_SIZE = 500;
        private final TransferListener delegate;
        private final int batchMaxSize;
        private final boolean blockOnLastEvent;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top