Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 659 for skip1 (0.02 seconds)

  1. docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md

    ...它的參數與我們之前的 `common_parameters` 相同:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    **FastAPI** 會用這些參數來「解析」該相依性。
    
    兩種情況下都會有:
    
    - 一個可選的查詢參數 `q`,型別為 `str`。
    - 一個查詢參數 `skip`,型別為 `int`,預設為 `0`。
    - 一個查詢參數 `limit`,型別為 `int`,預設為 `100`。
    
    兩種情況下,資料都會被轉換、驗證,並記錄到 OpenAPI schema 中等。
    
    ## 如何使用 { #use-it }
    
    現在你可以用這個類別來宣告你的相依性。
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. tests/benchmarks/test_general_performance.py

    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    if "--codspeed" not in sys.argv:
        pytest.skip(
            "Benchmark tests are skipped by default; run with --codspeed.",
            allow_module_level=True,
        )
    
    LARGE_ITEMS: list[dict[str, Any]] = [
        {
            "id": i,
            "name": f"item-{i}",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. docs/ftp/README.md

      of restrictions are needed for a user.
    
    - No "admin:*" operations are needed for FTP/SFTP access to the bucket(s) and object(s), so you may
      skip them for restrictions.
    
    ## Usage
    
    Start MinIO in a distributed setup, with 'ftp/sftp' enabled.
    
    ```
    minio server http://server{1...4}/disk{1...4}
       --ftp="address=:8021" --ftp="passive-port-range=30000-40000" \
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 06:41:25 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      val mappingsBuffer = StringBuilder()
      val sectionIndexBuffer = Buffer()
    
      var previousMappedRanges: List<MappedRange>? = null
    
      for ((section, sectionMappedRanges) in sections) {
        // Skip sequential ranges when they are equal.
        if (sectionMappedRanges == previousMappedRanges) continue
        previousMappedRanges = sectionMappedRanges
    
        val sectionOffset = rangesBuffer.size.toInt() / 4
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  5. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  6. cmd/data-scanner.go

    				}
    			}
    		}
    
    		// Scan existing...
    		for _, folder := range existingFolders {
    			h := hashPath(folder.name)
    			// Check if we should skip scanning folder...
    			// We can only skip if we are not indexing into a compacted destination
    			// and the entry itself is compacted.
    			if !into.Compacted && f.oldCache.isCompacted(h) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            try {
                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  8. cmd/sftp-server_test.go

    				suite.SetUpSuite(c)
    
    				suite.SFTPServiceAccountLogin(c)
    				suite.SFTPInvalidServiceAccountPassword(c)
    
    				// LDAP tests
    				ldapServer := os.Getenv(EnvTestLDAPServer)
    				if ldapServer == "" {
    					c.Skipf("Skipping LDAP test as no LDAP server is provided via %s", EnvTestLDAPServer)
    				}
    
    				suite.SetUpLDAP(c, ldapServer)
    
    				suite.SFTPFailedAuthDueToMissingPolicy(c)
    				suite.SFTPFailedAuthDueToInvalidUser(c)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 27 18:43:32 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            try {
              testEqualsUsing(factory);
            } catch (FactoryMethodReturnsNullException e) {
              // If the factory returns null, we just skip it.
            }
          }
          return this;
        }
    
        /**
         * Runs serialization test on the return values of the static methods.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                    if (!inCompression) {
                        // Start of compression - add ::
                        result.append("::");
                        inCompression = true;
                    }
                    // Skip this zero
                } else {
                    // Normal part
                    inCompression = false;
                    if (result.length() > 0 && result.charAt(result.length() - 1) != ':') {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top