Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 148 for ab2c (0.03 seconds)

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

    import okio.Timeout
    import okio.buffer
    import org.junit.jupiter.api.Test
    
    class IsProbablyUtf8Test {
      @Test fun isProbablyUtf8() {
        assertThat(Buffer().isProbablyUtf8(16L)).isTrue()
        assertThat(Buffer().writeUtf8("abc").isProbablyUtf8(16L)).isTrue()
        assertThat(Buffer().writeUtf8("new\r\nlines").isProbablyUtf8(16L)).isTrue()
        assertThat(Buffer().writeUtf8("white\t space").isProbablyUtf8(16L)).isTrue()
    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. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactly(fullpath("base/relative.jar"));
      }
    
      public void testGetClassName() {
        assertThat(ClassPath.getClassName("abc/d/Abc.class")).isEqualTo("abc.d.Abc");
      }
    
      public void testResourceInfo_of() {
        assertThat(resourceInfo(ClassPathTest.class)).isInstanceOf(ClassInfo.class);
        assertThat(resourceInfo(ClassPath.class)).isInstanceOf(ClassInfo.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. tests/test_dependency_after_yield_streaming.py

    from collections.abc import Generator
    from contextlib import contextmanager
    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.responses import StreamingResponse
    from fastapi.testclient import TestClient
    
    
    class Session:
        def __init__(self) -> None:
            self.data = ["foo", "bar", "baz"]
            self.open = True
    
        def __iter__(self) -> Generator[str, None, None]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. internal/s3select/sql/stringfuncs_test.go

    			t.Errorf("Matcher Case %d failed", i)
    		}
    	}
    
    	evalCases := []struct {
    		iText, iPat   string
    		iEsc          rune
    		matchExpected bool
    		errExpected   error
    	}{
    		{"abcd", "abc", runeZero, false, nil},
    		{"abcd", "abcd", runeZero, true, nil},
    		{"abcd", "abc_", runeZero, true, nil},
    		{"abcd", "_bdd", runeZero, false, nil},
    		{"abcd", "_b_d", runeZero, true, nil},
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  5. dbflute_fess/dfprop/replaceSchemaMap.dfprop

        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o filterVariablesMap: (NotRequired - Default map:{})
        #  You can specify the filter variables for DDL.
        #
        #; filterVariablesMap = map:{abc=AAA}
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o additionalUserMap: (NotRequired - Default map:{})
        #  You can set additional users.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.3K bytes
    - Click Count (0)
  6. cmd/object-api-getobjectinfo_test.go

    		{"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    		{"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false},
    		// Test cases with valid but non-existing bucket names (Test number 5-6).
    		{"abcdefgh", "abc", ObjectInfo{}, BucketNotFound{Bucket: "abcdefgh"}, false},
    		{"ijklmnop", "efg", ObjectInfo{}, BucketNotFound{Bucket: "ijklmnop"}, false},
    		// Test cases with valid but non-existing bucket names and invalid object name (Test number 7-8).
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Click Count (0)
  7. docs_src/stream_data/tutorial001_py310.py

    from collections.abc import AsyncIterable, Iterable
    
    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    app = FastAPI()
    
    
    message = """
    Rick: (stumbles in drunkenly, and turns on the lights) Morty! You gotta come on. You got--... you gotta come with me.
    Morty: (rubs his eyes) What, Rick? What's going on?
    Rick: I got a surprise for you, Morty.
    Morty: It's the middle of the night. What are you talking about?
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

         */
        @Test(expected = ClIllegalArgumentException.class)
        public void testSet() throws Exception {
            final Field field = getClass().getField("intField");
            FieldUtil.set(field, this, "abc");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetElementType_Rawtype() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. scripts/translation_fixer.py

    import os
    from collections.abc import Iterable
    from pathlib import Path
    from typing import Annotated
    
    import typer
    
    from scripts.doc_parsing_utils import check_translation
    
    non_translated_sections = (
        f"reference{os.sep}",
        "release-notes.md",
        "fastapi-people.md",
        "external-links.md",
        "newsletter.md",
        "management-tasks.md",
        "management.md",
        "contributing.md",
    )
    
    
    cli = typer.Typer()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

          .isEqualTo("http://host/#=[]:;%22~%7C?%23@%5E/$%25*")
      }
    
      @Test
      fun toUriSpecialQueryCharacters() {
        val httpUrl = "http://host/?d=abc!@[]^`{}|\\".toHttpUrl()
        val uri = httpUrl.toUri()
        assertThat(uri.toString()).isEqualTo("http://host/?d=abc!@[]%5E%60%7B%7D%7C%5C")
      }
    
      @Test
      fun toUriWithUsernameNoPassword() {
        val httpUrl =
          HttpUrl
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top