Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2891 - 2900 of 4,205 for inst (0.02 sec)

  1. tests/test_validate_response_dataclass.py

    from fastapi.testclient import TestClient
    from pydantic.dataclasses import dataclass
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/innerinvalid", response_model=Item)
    def get_innerinvalid():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

            final String settingsTypeName = "test-settings-type";
            final String id = "BuildTest";
    
            final ReadingConverter converter = new ReadingConverter() {
                @Override
                public void init() throws IOException {
    
                }
    
                @Override
                public List<String> convert(String text, final String field, String... langs) throws IOException {
                    return null;
                }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Nov 01 13:29:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. tests/test_dependency_security_overrides.py

        return [1, 2, 3]
    
    
    def get_data_override():
        return [3, 4, 5]
    
    
    @app.get("/user")
    def read_user(
        user_data: tuple[str, list[str]] = Security(get_user, scopes=["foo", "bar"]),
        data: list[int] = Depends(get_data),
    ):
        return {"user": user_data[0], "scopes": user_data[1], "data": data}
    
    
    client = TestClient(app)
    
    
    def test_normal():
        response = client.get("/user")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.4K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

        /** Logger for this class. */
        static final Logger logger = LogManager.getLogger(GenerateThumbnailJob.class);
    
        /** Number of threads to use for thumbnail generation. */
        protected int numOfThreads = 1;
    
        /** Flag indicating whether to perform cleanup operations. */
        protected boolean cleanup = false;
    
        /**
         * Default constructor for the GenerateThumbnailJob.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        private final ExecutorService executor = newSingleThreadExecutor();
    
        FakeService() {
          tearDownStack.addTearDown(this);
        }
    
        volatile int startupCalled = 0;
        volatile int shutdownCalled = 0;
        volatile int runCalled = 0;
    
        @Override
        protected void startUp() throws Exception {
          assertEquals(0, startupCalled);
          assertEquals(0, runCalled);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

      }
    
      private fun retryAfter(
        userResponse: Response,
        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. cmd/xl-storage-meta-inline.go

    	}
    	*x = payload
    }
    
    // entries returns the number of entries in the data.
    func (x xlMetaInlineData) entries() int {
    	if len(x) == 0 || !x.versionOK() {
    		return 0
    	}
    	sz, _, _ := msgp.ReadMapHeaderBytes(x.afterVersion())
    	return int(sz)
    }
    
    // replace will add or replace a key/value pair.
    func (x *xlMetaInlineData) replace(key string, value []byte) {
    	in := x.afterVersion()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. dbflute_fess/dfprop/_readme.txt

    o replaceSchemaMap.dfprop
    
    Properties for documents:
    o documentMap.dfprop
    
    Properties for non-functional adjustments:
    o sourceCopyright.dfprop
    o infraMap.dfprop (manual making)
    
    Properties for plug-ins:
    o freeGenMap.dfprop (manual making)
    o lastafluteMap.dfprop (manual making)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 930 bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    	testCases := []struct {
    		name        string
    		input       [][]xlMetaV2ShallowVersion
    		quorum      int
    		reqVersions int
    		want        []xlMetaV2ShallowVersion
    	}{
    		{
    			name: "obj-on-one",
    			input: [][]xlMetaV2ShallowVersion{
    				0: {vDelMarker, vObj}, // disk 0
    				1: {vDelMarker},       // disk 1
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess/en-ie/stopwords.txt

    dar
    de
    deich
    deichniúr
    den
    dhá
    do
    don
    dtí
    dá
    dár
    dó
    faoi
    faoin
    faoina
    faoinár
    fara
    fiche
    gach
    gan
    go
    gur
    haon
    hocht
    i
    iad
    idir
    in
    ina
    ins
    inár
    is
    le
    leis
    lena
    lenár
    m'
    mar
    mo
    mé
    na
    nach
    naoi
    naonúr
    ná
    ní
    níor
    nó
    nócha
    ocht
    ochtar
    os
    roimh
    sa
    seacht
    seachtar
    seachtó
    seasca
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 685 bytes
    - Viewed (0)
Back to top