Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 329 for heille (0.04 seconds)

  1. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

        assertThat(Buffer().writeByte(0xc0).isProbablyUtf8(16L)).isFalse()
      }
    
      @Test fun doesNotConsumeBuffer() {
        val buffer = Buffer()
        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        void testToString() {
            // Given
            SpnegoException ex = new SpnegoException("hello");
    
            // When
            String s = ex.toString();
    
            // Then
            assertTrue(s.contains("jcifs.spnego.SpnegoException"));
            assertTrue(s.contains("hello"));
        }
    
        @Test
        @DisplayName("Should serialize and deserialize preserving message and cause")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    @app.get("/")
    async def root():
        return {"message": "Hello World"}
    
    
    @app.get(
        "/with-oauth2-scheme",
        dependencies=[Security(oauth2_scheme, scopes=["read", "write"])],
    )
    async def read_with_oauth2_scheme():
        return {"message": "Admin Access"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        val httpClient =
          HttpClient
            .newBuilder()
            .followRedirects(NORMAL)
            .build()
    
        server.enqueue(
          MockResponse
            .Builder()
            .body("hello, Java HTTP Client")
            .build(),
        )
    
        val request =
          HttpRequest
            .newBuilder(server.url("/").toUri())
            .header("Accept", "text/plain")
            .build()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 25 13:16:02 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/BuildPluginIT.java

        public String projectName() {
            return "elasticsearch.build";
        }
    
        public void testPluginCanBeApplied() {
            BuildResult result = getGradleRunner().withArguments("hello", "-s").build();
            assertTaskSuccessful(result, ":hello");
            assertOutputContains("build plugin can be applied");
        }
    
        public void testCheckTask() {
            setupJarJdkClasspath(getProjectDir());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  6. docs/tr/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | İpucu
    
    `aGVsbG8=` değeri, `hello` kelimesinin base64 encoding'idir.
    
    ///
    
    Sonrasında Pydantic base64 string'ini decode eder ve modelin `data` alanında size orijinal bytes'ı verir.
    
    Şöyle bir response alırsınız:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Çıkış Verisi için Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. tests/default_value_test.go

    	}
    
    	DB.Migrator().DropTable(&Harumph{})
    
    	if err := DB.AutoMigrate(&Harumph{}); err != nil {
    		t.Fatalf("Failed to migrate with default value, got error: %v", err)
    	}
    
    	harumph := Harumph{Email: "hello@gorm.io"}
    	if err := DB.Create(&harumph).Error; err != nil {
    		t.Fatalf("Failed to create data with default value, got error: %v", err)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/json-base64-bytes.md

    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip | 팁
    
    `aGVsbG8=`는 `hello`의 base64 인코딩입니다.
    
    ///
    
    그러면 Pydantic이 base64 문자열을 디코딩하여 모델의 `data` 필드에 원래 바이트를 제공합니다.
    
    다음과 같은 응답을 받게 됩니다:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## 출력 데이터용 Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. docs/de/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | Tipp
    
    `aGVsbG8=` ist die base64-Kodierung von `hello`.
    
    ///
    
    Anschließend dekodiert Pydantic den base64-String und stellt Ihnen die ursprünglichen Bytes im Feld `data` des Modells bereit.
    
    Sie erhalten eine Response wie:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Pydantic `bytes` für Ausgabedaten { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                    return null;
                }
            });
    
            mimeTypeHelper.init();
    
            // Null config means no override
            try (InputStream is = new ByteArrayInputStream("Hello world".getBytes(StandardCharsets.UTF_8))) {
                assertEquals("text/plain", mimeTypeHelper.getContentType(is, "test.txt"));
            }
        }
    
        @Test
        public void test_init_singleMapping() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top