Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 330 for spice (0.03 sec)

  1. gorm.go

    	CreateBatchSize          int
    }
    
    // Open initialize db session based on dialector
    func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
    	config := &Config{}
    
    	sort.Slice(opts, func(i, j int) bool {
    		_, isConfig := opts[i].(*Config)
    		_, isConfig2 := opts[j].(*Config)
    		return isConfig && !isConfig2
    	})
    
    	for _, opt := range opts {
    		if opt != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. docs/ja/docs/python-types.md

    しかし、そうすると「最初の文字を大文字に変換するあのメソッド」を呼び出す必要があります。
    
    それは`upper`でしたか?`uppercase`でしたか?それとも`first_uppercase`?または`capitalize`?
    
    そして、古くからプログラマーの友人であるエディタで自動補完を試してみます。
    
    関数の最初のパラメータ`first_name`を入力し、ドット(`.`)を入力してから、`Ctrl+Space`を押すと補完が実行されます。
    
    しかし、悲しいことに、これはなんの役にも立ちません:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image01.png">
    
    ### 型の追加
    
    先ほどのコードから一行変更してみましょう。
    
    以下の関数のパラメータ部分を:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        checkNotNull(factory);
        return new ByteSourceFactory() {
          @Override
          public ByteSource createSource(byte[] bytes) throws IOException {
            return factory.createSource(bytes).slice(off, len);
          }
    
          @Override
          public byte[] getExpected(byte[] bytes) {
            byte[] baseExpected = factory.getExpected(bytes);
            int startOffset = (int) min(off, baseExpected.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        checkNotNull(factory);
        return new ByteSourceFactory() {
          @Override
          public ByteSource createSource(byte[] bytes) throws IOException {
            return factory.createSource(bytes).slice(off, len);
          }
    
          @Override
          public byte[] getExpected(byte[] bytes) {
            byte[] baseExpected = factory.getExpected(bytes);
            int startOffset = (int) min(off, baseExpected.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. cmd/net.go

    	var nonIPs []string
    	for _, ip := range ipList {
    		nip := net.ParseIP(ip)
    		if nip != nil {
    			ipV4s = append(ipV4s, nip)
    		} else {
    			nonIPs = append(nonIPs, ip)
    		}
    	}
    
    	sort.Slice(ipV4s, func(i, j int) bool {
    		// This case is needed when all ips in the list
    		// have same last octets, Following just ensures that
    		// 127.0.0.1 is moved to the end of the list.
    		if ipV4s[i].IsLoopback() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. cmd/s3-zip-handlers.go

    	}
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	files, err := zipindex.DeserializeFiles(zipInfo)
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	sort.Slice(files, func(i, j int) bool {
    		return files[i].Name < files[j].Name
    	})
    
    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    		listObjectsInfo ListObjectsV2Info
    	)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. tests/preload_suits_test.go

    		t.Error(err)
    	}
    
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("got %s; want %s", toJSONString(got), toJSONString(want))
    	}
    }
    
    // Slice: []Level3
    func TestNestedPreload5(t *testing.T) {
    	type (
    		Level1 struct {
    			ID       uint
    			Value    string
    			Level2ID uint
    		}
    		Level2 struct {
    			ID       uint
    			Level1   Level1
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  8. docs/distributed/README.md

    When you restart, it is immediate and non-disruptive to the applications. Each group of servers in the command-line is called a pool. There are 2 server pools in this example. New objects are placed in server pools in proportion to the amount of free space in each pool. Within each pool, the location of the erasure-set of drives is determined based on a deterministic hashing algorithm.
    
    > **NOTE:** **Each pool you add must have the same erasure coding parity configuration as the original pool,...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. internal/s3select/message.go

    	// It has a buffer size of 128K:
    	// https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/eventstreaming/MessageDecoder.java#L26
    	// but we must make sure there is always space to add 256 bytes:
    	// https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/SelectObjectContentEventStream.java#L197
    	maxRecordMessageLength = (128 << 10) - 256
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	policies := make(map[string]MappedPolicy, m.Size())
    	m.Range(func(k string, v MappedPolicy) bool {
    		policies[k] = v
    		return true
    	})
    	return policies
    }
    
    // converts a mapped policy into a slice of distinct policies
    func (mp MappedPolicy) toSlice() []string {
    	var policies []string
    	for _, policy := range strings.Split(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top