Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 911 - 920 of 1,615 for var0 (0.22 seconds)

  1. docs/zh-hant/docs/how-to/conditional-openapi.md

    - 實作並使用成熟且廣為人知的密碼學工具,例如 pwdlib 與 JWT 權杖等。
    - 視需要以 OAuth2 scopes 新增更細緻的權限控管。
    - ...等。
    
    儘管如此,在某些特定情境下,你可能確實需要在某些環境(例如正式環境)停用 API 文件,或依據環境變數的設定來決定是否啟用。
    
    ## 透過設定與環境變數的條件式 OpenAPI { #conditional-openapi-from-settings-and-env-vars }
    
    你可以用相同的 Pydantic 設定,來配置產生的 OpenAPI 與文件 UI。
    
    例如:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py310.py hl[6,11] *}
    
    這裡我們宣告 `openapi_url` 設定,預設值同樣是 `"/openapi.json"`。
    
    接著在建立 `FastAPI` 應用時使用它。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/view/admin/boostdoc/admin_boostdoc.jsp

                                                </tr>
                                                </thead>
                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${boostDocumentRuleItems}">
                                                    <tr
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    
    class JSSETest {
      @JvmField @RegisterExtension
      var platform = PlatformRule()
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      var client = clientTestRule.newClient()
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  4. internal/logger/target/testlogger/testlogger.go

    	"github.com/minio/minio/internal/logger"
    	types "github.com/minio/minio/internal/logger/target/loggertypes"
    )
    
    const (
    	logMessage = iota
    	errorMessage
    	fatalMessage
    )
    
    // T is the test logger.
    var T = &testLogger{}
    
    func init() {
    	logger.AddSystemTarget(context.Background(), T)
    }
    
    type testLogger struct {
    	current atomic.Pointer[testing.TB]
    	action  atomic.Int32
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. internal/grid/types_test.go

    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalMSS(t *testing.T) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var v2 MSS
    	left, err := v2.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) != 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. internal/lsync/lrwmutex_test.go

    func HammerRWMutex(gomaxprocs, numReaders, numIterations int) {
    	runtime.GOMAXPROCS(gomaxprocs)
    	// Number of active readers + 10000 * number of active writers.
    	var activity int32
    	rwm := NewLRWMutex()
    	cdone := make(chan bool)
    	go writer(rwm, numIterations, &activity, cdone)
    	var i int
    	for i = 0; i < numReaders/2; i++ {
    		go reader(rwm, numIterations, &activity, cdone)
    	}
    	go writer(rwm, numIterations, &activity, cdone)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. cmd/signature-v4.go

    func getCanonicalHeaders(signedHeaders http.Header) string {
    	var headers []string
    	vals := make(http.Header, len(signedHeaders))
    	for k, vv := range signedHeaders {
    		k = strings.ToLower(k)
    		headers = append(headers, k)
    		vals[k] = vv
    	}
    	sort.Strings(headers)
    
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    		buf.WriteByte(':')
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

            }
    
        fun getDependencies() = classes.map { it.value.outputClassFilename to it.value.dependencies.map { it.outputClassFilename } }.toMap()
    }
    
    
    class ClassDetails(val outputClassName: String) {
        var visited: Boolean = false
        val dependencies: MutableSet<ClassDetails> = linkedSetOf()
        val outputClassFilename
            get() = "$outputClassName.class"
    }
    
    
    class PackagePatterns(givenPrefixes: Set<String>) {
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 2.6K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/webauth/admin_webauth_edit.jsp

                                            <la:select styleId="protocolScheme" property="protocolScheme"
                                                       styleClass="form-control">
                                                <c:forEach var="item" items="${protocolSchemeItems}">
                                                    <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option>
                                                </c:forEach>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog.jsp

                                                </tr>
                                                </thead>
                                                <tbody>
                                                <c:forEach var="data" varStatus="s" items="${jobLogItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/joblog/details/4/${f:u(data.id)}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top