Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4111 - 4120 of 6,918 for RETURN (0.04 sec)

  1. schema/callbacks_test.go

    import (
    	"reflect"
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    )
    
    type UserWithCallback struct{}
    
    func (UserWithCallback) BeforeSave(*gorm.DB) error {
    	return nil
    }
    
    func (UserWithCallback) AfterCreate(*gorm.DB) error {
    	return nil
    }
    
    func TestCallback(t *testing.T) {
    	user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 939 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/CrawlJob.java

            this.namespace = namespace;
            return this;
        }
    
        public CrawlJob documentExpires(final int documentExpires) {
            this.documentExpires = documentExpires;
            return this;
        }
    
        public CrawlJob webConfigIds(final String[] webConfigIds) {
            this.webConfigIds = webConfigIds;
            return this;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. docs/pl/docs/index.md

        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              @Override
              public final boolean isRunning() {
                return delegate.isRunning();
              }
    
              @Override
              public final State state() {
                return delegate.state();
              }
    
              @Override
              public final Throwable failureCause() {
                return delegate.failureCause();
              }
            };
        IllegalArgumentException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/eventbus/Dispatcher.java

       */
      static Dispatcher legacyAsync() {
        return new LegacyAsyncDispatcher();
      }
    
      /**
       * Returns a dispatcher that dispatches events to subscribers immediately as they're posted
       * without using an intermediate queue to change the dispatch order. This is effectively a
       * depth-first dispatch order, vs. breadth-first when using a queue.
       */
      static Dispatcher immediate() {
        return ImmediateDispatcher.INSTANCE;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsCrawlingInfoCQ.java

        //                                                                       =============
        @Override
        public String asTableDbName() {
            return "crawling_info";
        }
    
        @Override
        public String xgetAliasName() {
            return "crawling_info";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. docs_src/query_params_str_validations/tutorial014_py310.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: str | None = Query(default=None, include_in_schema=False),
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 298 bytes
    - Viewed (0)
  8. docs_src/sub_applications/tutorial001.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/app")
    def read_main():
        return {"message": "Hello World from main app"}
    
    
    subapi = FastAPI()
    
    
    @subapi.get("/sub")
    def read_sub():
        return {"message": "Hello World from sub API"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jun 11 21:53:19 UTC 2020
    - 274 bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled
       * request bodies.
       */
      open fun peek(): MockResponse {
        return MockResponse(socketPolicy = KeepOpen)
      }
    
      /**
       * Release any resources held by this dispatcher. Any requests that are currently being dispatched
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/TestByteSource.java

      }
    
      @Override
      public boolean wasStreamOpened() {
        return inputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
        return inputStreamClosed;
      }
    
      @Override
      public InputStream openStream() throws IOException {
        inputStreamOpened = true;
        return new RandomAmountInputStream(new In(), new Random());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.9K bytes
    - Viewed (0)
Back to top