Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 704 for switch_a (0.11 sec)

  1. migrator/migrator.go

    			// default value -> null
    			alterColumn = true
    		} else if !dvNotNull && currentDefaultNotNull {
    			// null -> default value
    			alterColumn = true
    		} else if currentDefaultNotNull || dvNotNull {
    			switch field.GORMDataType {
    			case schema.Time:
    				if !strings.EqualFold(strings.TrimSuffix(dv, "()"), strings.TrimSuffix(field.DefaultValue, "()")) {
    					alterColumn = true
    				}
    			case schema.Bool:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

            comparator()
                .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement());
        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
              return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left);
            case CLOSED:
              return aggr.treeAggregate(node.left);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		tags["d:p"] = fmt.Sprintf("%d:%d", er.setDriveCount-er.defaultParityCount, er.defaultParityCount)
    	}
    
    	// count the number of offline disks
    	offline := 0
    	for i := 0; i < len(errs); i++ {
    		var found bool
    		switch {
    		case errors.Is(errs[i], errDiskNotFound):
    			found = true
    		default:
    			for p := range dataErrsByPart {
    				if dataErrsByPart[p][i] == checkPartDiskNotFound {
    					found = true
    					break
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    	if r <= '\u00FF' {
    		// Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs.
    		switch r {
    		case ' ', '\t', '\n', '\v', '\f', '\r':
    			return true
    		case '\u0085', '\u00A0':
    			return true
    		}
    		return false
    	}
    	// High-valued ones.
    	if '\u2000' <= r && r <= '\u200a' {
    		return true
    	}
    	switch r {
    	case '\u1680', '\u2028', '\u2029', '\u202f', '\u205f', '\u3000':
    		return true
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	}
    
    	publicKey := func(priv interface{}) interface{} {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &k.PublicKey
    		case *ecdsa.PrivateKey:
    			return &k.PublicKey
    		default:
    			return nil
    		}
    	}
    
    	pemBlockForKey := func(priv interface{}) *pem.Block {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  6. cmd/erasure-heal_test.go

    		copy(staleDisks, disks)
    		for j := 0; j < len(staleDisks); j++ {
    			if j < test.offDisks {
    				readers[j] = nil
    			} else {
    				staleDisks[j] = nil
    			}
    		}
    		for j := 0; j < test.badDisks; j++ {
    			switch r := readers[test.offDisks+j].(type) {
    			case *streamingBitrotReader:
    				r.disk = badDisk{nil}
    			case *wholeBitrotReader:
    				r.disk = badDisk{nil}
    			}
    		}
    		for j := 0; j < test.badStaleDisks; j++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. internal/event/target/mqtt.go

    }
    
    // Validate MQTTArgs fields
    func (m MQTTArgs) Validate() error {
    	if !m.Enable {
    		return nil
    	}
    	u, err := xnet.ParseURL(m.Broker.String())
    	if err != nil {
    		return err
    	}
    	switch u.Scheme {
    	case "ws", "wss", "tcp", "ssl", "tls", "tcps":
    	default:
    		return errors.New("unknown protocol in broker address")
    	}
    	if m.QueueDir != "" {
    		if !filepath.IsAbs(m.QueueDir) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    String token = null;
                    String segmentation = null;
                    String reading = null;
                    String pos = null;
                    switch (values.length) {
                    case 4:
                        pos = values[3];
                    case 3:
                        reading = values[2];
                    case 2:
                        segmentation = values[1];
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. docs/kms/IAM.md

    > since you will not be able to decrypt the IAM/configuration data anymore.
    For distributed MinIO deployments, specify the *same* `MINIO_KMS_SECRET_KEY` for each MinIO server process.
    
    At any point in time you can switch from `MINIO_KMS_SECRET_KEY` to a full KMS
    deployment. You just need to import the generated key into KES - for example via
    the KES CLI once you have successfully setup KES:
    
    ```sh
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. cmd/tier-handlers.go

    		return
    	}
    
    	var ignoreInUse bool
    	if forceStr := r.Form.Get("force"); forceStr != "" {
    		ignoreInUse, _ = strconv.ParseBool(forceStr)
    	}
    
    	// Disallow remote tiers with internal storage class names
    	switch cfg.Name {
    	case storageclass.STANDARD, storageclass.RRS:
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top