Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,392 for case1 (0.1 sec)

  1. integration-tests/gradle/gradlew

        [ -h "$app_path" ]
    do
        ls=$( ls -ld "$app_path" )
        link=${ls#*' -> '}
        case $link in             #(
          /*)   app_path=$link ;; #(
          *)    app_path=$APP_HOME$link ;;
        esac
    done
    
    # This is normally unused
    # shellcheck disable=SC2034
    APP_BASE_NAME=${0##*/}
    # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Cut.java

          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous);
          }
          throw new AssertionError();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. internal/store/batch.go

    	defer b.Unlock()
    
    	return len(b.items)
    }
    
    func (b *Batch[_]) isFull() bool {
    	return len(b.items) >= int(b.limit)
    }
    
    func (b *Batch[I]) commit() error {
    	switch len(b.items) {
    	case 0:
    		return nil
    	case 1:
    		_, err := b.store.Put(b.items[0])
    		return err
    	default:
    	}
    	if _, err := b.store.PutMultiple(b.items); err != nil {
    		return err
    	}
    	b.items = make([]I, 0, b.limit)
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. cmd/iam-etcd-store.go

    	var basePrefix string
    	switch userType {
    	case svcUser:
    		basePrefix = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePrefix = iamConfigSTSPrefix
    	default:
    		basePrefix = iamConfigUsersPrefix
    	}
    
    	cctx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    
    	// Retrieve all keys and values to avoid too many calls to etcd in case of
    	// a large number of users
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. cmd/object-api-options.go

    		argumentName = strings.ToLower(xhttp.AmzObjectAttributes)
    		valid = false
    		return
    	}
    
    	for tag := range opts.ObjectAttributes {
    		switch tag {
    		case xhttp.ETag:
    		case xhttp.Checksum:
    		case xhttp.StorageClass:
    		case xhttp.ObjectSize:
    		case xhttp.ObjectParts:
    		default:
    			apiErr = errorCodes.ToAPIErr(ErrInvalidAttributeName)
    			argumentName = strings.ToLower(xhttp.AmzObjectAttributes)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/NegTokenInit.java

                            setMechanisms(mechs);
                            break;
                        case 1:
                            ASN1BitString ctxFlags = DERBitString.getInstance(tagged, true);
                            setContextFlags(ctxFlags.getBytes()[ 0 ] & 0xff);
                            break;
                        case 2:
                            ASN1OctetString mechanismToken = ASN1OctetString.getInstance(tagged, true);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils.go

    	return rt != NoResync
    }
    
    func (rt ResyncStatusType) String() string {
    	switch rt {
    	case ResyncStarted:
    		return "Ongoing"
    	case ResyncCompleted:
    		return "Completed"
    	case ResyncFailed:
    		return "Failed"
    	case ResyncPending:
    		return "Pending"
    	case ResyncCanceled:
    		return "Canceled"
    	default:
    		return ""
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

            Operation op = operations[random.nextInt(operations.length)];
            switch (op) {
              case ADD:
                {
                  int delta = random.nextInt(10);
                  multiset.add(key, delta);
                  deltas[keyIndex] += delta;
                  break;
                }
              case SET_COUNT:
                {
                  int newValue = random.nextInt(3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. tests/tests_test.go

    }
    
    func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) {
    	dbDSN := os.Getenv("GORM_DSN")
    	switch os.Getenv("GORM_DIALECT") {
    	case "mysql":
    		log.Println("testing mysql...")
    		if dbDSN == "" {
    			dbDSN = mysqlDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	case "postgres":
    		log.Println("testing postgres...")
    		if dbDSN == "" {
    			dbDSN = postgresDSN
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. cmd/sftp-server.go

    			}
    			publicIP = host
    		case "ssh-private-key":
    			sshPrivateKey = tokens[1]
    		case "pub-key-algos":
    			allowPubKeys = filterAlgos(arg, strings.Split(tokens[1], ","), supportedPubKeyAuthAlgos)
    		case "kex-algos":
    			allowKexAlgos = filterAlgos(arg, strings.Split(tokens[1], ","), supportedKexAlgos)
    		case "cipher-algos":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top