Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2611 - 2620 of 2,878 for int3 (0.03 sec)

  1. docs/ja/docs/tutorial/dependencies/index.md

    「デコレータ」を含まない(`@app.get("/some-path")`を含まない)*path operation関数*と考えることもできます。
    
    そして何でも返すことができます。
    
    この場合、この依存関係は以下を期待しています:
    
    * オプショナルのクエリパラメータ`q`は`str`です。
    * オプショナルのクエリパラメータ`skip`は`int`で、デフォルトは`0`です。
    * オプショナルのクエリパラメータ`limit`は`int`で、デフォルトは`100`です。
    
    そして、これらの値を含む`dict`を返します。
    
    ### `Depends`のインポート
    
    ```Python hl_lines="3"
    {!../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ### "dependant"での依存関係の宣言
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. cmd/encryption-v1_test.go

    				sum += r[i].Size
    			}
    			return ObjectInfo{
    				Size:        sum,
    				UserDefined: udMap(true),
    				Parts:       r,
    			}
    		}
    		// Simple useful utilities
    		repeat = func(k int64, n int) []int64 {
    			a := []int64{}
    			for i := 0; i < n; i++ {
    				a = append(a, k)
    			}
    			return a
    		}
    		lsum = func(s []int64) int64 {
    			sum := int64(0)
    			for _, i := range s {
    				if i < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/events.md

    And the part after the `yield` will be executed **after** the application has finished.
    
    ### Async Context Manager
    
    If you check, the function is decorated with an `@asynccontextmanager`.
    
    That converts the function into something called an "**async context manager**".
    
    {* ../../docs_src/events/tutorial003.py hl[1,13] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

        @Override
        protected SearchResult search(final String query, final SearchRequestParams params, final OptionalThing<FessUserBean> userBean) {
            final int pageSize = params.getPageSize();
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                request.setAttribute(Constants.REQUEST_PAGE_SIZE, pageSize);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. tests/test_jsonable_encoder.py

            self.name = name
    
    
    class Pet:
        def __init__(self, owner: Person, name: str):
            self.owner = owner
            self.name = name
    
    
    @dataclass
    class Item:
        name: str
        count: int
    
    
    class DictablePerson(Person):
        def __iter__(self):
            return ((k, v) for k, v in self.__dict__.items())
    
    
    class DictablePet(Pet):
        def __iter__(self):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. tests/hooks_test.go

    	Name  string
    	Code  string
    	Price int64
    	Owner string
    	Item  ProductItem
    }
    
    type ProductItem struct {
    	gorm.Model
    	Code               string
    	Product4ID         uint
    	AfterFindCallTimes int
    }
    
    func (pi ProductItem) BeforeCreate(*gorm.DB) error {
    	if pi.Code == "invalid" {
    		return errors.New("invalid item")
    	}
    	return nil
    }
    
    func (pi *ProductItem) AfterFind(*gorm.DB) error {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. docs/bigdata/README.md

    ### **4.2 WordCount**
    
    WordCount is a simple program that counts how often a word occurs in a text file. The code builds a dataset of (String, Int) pairs called counts, and saves the dataset to a file.
    
    The following example submits WordCount code to the Scala shell. Select an input file for the Spark WordCount example. We can use any text file as input.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        builder.put("bb", 3);
        builder.put("d", 2);
        builder.put("a", 5);
        builder.orderKeysBy(
            new Ordering<String>() {
              @Override
              public int compare(String left, String right) {
                return left.length() - right.length();
              }
            });
        builder.put("cc", 4);
        builder.put("a", 2);
        builder.put("bb", 6);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertTrue(multimap.isEmpty());
    
        ImmutableMultimap<Integer, String> single =
            new ImmutableMultimap.Builder<Integer, String>().put(1, "one").put(2, "two").build();
    
        // copy into existing multimap
        assertSame(multimap, Multimaps.invertFrom(single, multimap));
    
        ImmutableMultimap<String, Integer> expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. cmd/api-response.go

    	UploadID string `xml:"UploadId"`
    
    	Initiator Initiator
    	Owner     Owner
    
    	// The class of storage used to store the object.
    	StorageClass string
    
    	PartNumberMarker     int
    	NextPartNumberMarker int
    	MaxParts             int
    	IsTruncated          bool
    
    	ChecksumAlgorithm string
    	// List of parts.
    	Parts []Part `xml:"Part"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top