Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 704 for switch_a (0.08 sec)

  1. schema/schema_test.go

    	baseColumnName := ns.NamingStrategy.ColumnName(table, column)
    
    	if table == "" {
    		return baseColumnName
    	}
    
    	s := strings.Split(table, "_")
    
    	var prefix string
    	switch len(s) {
    	case 1:
    		prefix = s[0][:3]
    	case 2:
    		prefix = s[0][:1] + s[1][:2]
    	default:
    		prefix = s[0][:1] + s[1][:1] + s[2][:1]
    	}
    	return prefix + "_" + baseColumnName
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    		format, err = connectLoadInitFormats(verbose, firstDisk, storageDisks, endpoints, poolCount, setCount, setDriveCount, deploymentID)
    		if err == nil {
    			return storageDisks, format, nil
    		}
    
    		tries++
    		switch {
    		case errors.Is(err, errNotFirstDisk):
    			// Fresh setup, wait for first server to be up.
    			logger.Info("Waiting for the first server to format the drives (elapsed %s)\n", getElapsedTime())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. internal/event/target/kafka.go

    }
    
    // SendFromStore - reads an event from store and sends it to Kafka.
    func (target *KafkaTarget) SendFromStore(key store.Key) (err error) {
    	if err = target.init(); err != nil {
    		return err
    	}
    	switch {
    	case key.ItemCount == 1:
    		var event event.Event
    		event, err = target.store.Get(key)
    		if err != nil {
    			// The last event key in a successful batch will be sent in the channel atmost once by the replayEvents()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

        //                                                                        ============
        public static OptionalEntity<WebAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new WebAuthentication()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            }
            return queryContext;
        }
    
        protected void buildVirtualHostQuery(final QueryContext queryContext, final SearchRequestType searchRequestType) {
            switch (searchRequestType) {
            case ADMIN_SEARCH:
                // nothing to do
                break;
            default:
                final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                    }
                }
            }
        }
    
        protected Object parsePrimitive(final JsonParser jsonParser) throws IOException {
            final JsonToken token = jsonParser.getCurrentToken();
            return switch (token) {
            case VALUE_STRING -> jsonParser.getText();
            case VALUE_NUMBER_INT -> jsonParser.getLongValue();
            case VALUE_NUMBER_FLOAT -> jsonParser.getDoubleValue();
            case VALUE_TRUE -> true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. integration-tests/gradle/gradlew

    #   * the main class name
    #   * -classpath
    #   * -D...appname settings
    #   * --module-path (only if needed)
    #   * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
    
    # For Cygwin or MSYS, switch paths to Windows format before running java
    if "$cygwin" || "$msys" ; then
        APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
        CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            } else {
                tokenizer = new Tokenizer("." + expression);
            }
    
            int propertyPosition = tokenizer.getPosition();
            while (value != null && tokenizer.peekChar() != EOF) {
                switch (tokenizer.skipChar()) {
                    case INDEXED_START:
                        value = getIndexedValue(
                                expression,
                                propertyPosition,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. internal/event/config.go

    }
    
    // Pattern - returns pattern using prefix and suffix values.
    func (ruleList FilterRuleList) Pattern() string {
    	var prefix string
    	var suffix string
    
    	for _, rule := range ruleList.Rules {
    		switch rule.Name {
    		case "prefix":
    			prefix = rule.Value
    		case "suffix":
    			suffix = rule.Value
    		}
    	}
    
    	return NewPattern(prefix, suffix)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

        //                                                                        ============
    
        private static OptionalEntity<RelatedContent> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new RelatedContent()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top