Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 258 for 18 (0.02 sec)

  1. cmd/erasure-heal_test.go

    	{dataBlocks: 6, disks: 8, offDisks: 1, badDisks: 0, badStaleDisks: 0, blocksize: int64(blockSizeV2), size: oneMiByte, algorithm: BLAKE2b512, shouldFail: false},               // 18
    	{dataBlocks: 2, disks: 4, offDisks: 1, badDisks: 0, badStaleDisks: 0, blocksize: int64(blockSizeV2), size: oneMiByte * 64, algorithm: SHA256, shouldFail: false},              // 19
    }
    
    func TestErasureHeal(t *testing.T) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *}
    
    ## 模型列表
    
    使用同样的方式也可以声明由对象列表构成的响应。
    
    为此,请使用标准的 Python `typing.List`:
    
    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    ## 任意 `dict` 构成的响应
    
    任意的 `dict` 都能用于声明响应,只要声明键和值的类型,无需使用 Pydantic 模型。
    
    事先不知道可用的字段 / 属性名时(Pydantic 模型必须知道字段是什么),这种方式特别有用。
    
    此时,可以使用 `typing.Dict`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            assertActivation(false, profile, newContext(null, newProperties("1.6.0_09-b03")));
        }
    
        @Test
        void testRubbishJavaVersion() {
            Profile profile = newProfile("[1.8,)");
    
            assertActivationWithProblems(profile, newContext(null, newProperties("Pūteketeke")), "invalid JDK version");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/testing.md

    Escribe declaraciones `assert` simples con las expresiones estándar de Python que necesites revisar (otra vez, estándar de `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Consejo
    
    Nota que las funciones de prueba son `def` normales, no `async def`.
    
    Y las llamadas al cliente también son llamadas normales, sin usar `await`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/testing.md

    Используйте объект `TestClient` так же, как Вы используете `httpx`.
    
    Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Подсказка
    
    Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`.
    
    И вызов клиента также осуществляется без `await`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Delete access right */
        int DELETE = 0x00010000; // 16
        /** Read control access right */
        int READ_CONTROL = 0x00020000; // 17
        /** Write DAC access right */
        int WRITE_DAC = 0x00040000; // 18
        /** Write owner access right */
        int WRITE_OWNER = 0x00080000; // 19
        /** Synchronize access right */
        int SYNCHRONIZE = 0x00100000; // 20
        /** Generic all access right */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. docs/ru/docs/advanced/advanced-dependencies.md

    ## Создаём экземпляр { #create-an-instance }
    
    Мы можем создать экземпляр этого класса так:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *}
    
    Так мы «параметризуем» нашу зависимость: теперь внутри неё хранится "bar" в атрибуте `checker.fixed_content`.
    
    ## Используем экземпляр как зависимость { #use-the-instance-as-a-dependency }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            SMBUtil.writeInt2(0, buffer, 14);
    
            // Proximity (2 bytes for v3)
            SMBUtil.writeInt2(0, buffer, 16);
    
            // Time to live (2 bytes for v3)
            SMBUtil.writeInt2(300, buffer, 18);
    
            // DFS path offset (2 bytes) - points to string data
            SMBUtil.writeInt2(stringDataStart - 8, buffer, 20); // Offset from start of referral
    
            // DFS alternate path offset (2 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. build.gradle.kts

        if (testJavaVersion > 8 && (project.name == "okcurl" || project.name == "native-image-tests")) {
          // Depends on native-image-tools which is 17+, but avoids on Java 8 tests
          "17"
        } else {
          "1.8"
        }
    
      val projectJvmTarget = JvmTarget.fromTarget(javaVersionSetting)
      val projectJavaVersion = JavaVersion.toVersion(javaVersionSetting)
    
      tasks.withType<KotlinCompile> {
        compilerOptions {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  10. tests/helper_test.go

    	Friends   int
    	NamedPet  bool
    	Tools     int
    }
    
    func GetUser(name string, config Config) *User {
    	var (
    		birthday = time.Now().Round(time.Second)
    		user     = User{
    			Name:     name,
    			Age:      18,
    			Birthday: &birthday,
    		}
    	)
    
    	if config.Account {
    		user.Account = Account{Number: name + "_account"}
    	}
    
    	for i := 0; i < config.Pets; i++ {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top