Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3351 - 3360 of 6,150 for string (0.07 sec)

  1. utils/utils_windows_test.go

    package utils
    
    import (
    	"testing"
    )
    
    func TestSourceDir(t *testing.T) {
    	cases := []struct {
    		file string
    		want string
    	}{
    		{
    			file: `C:/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go`,
    			want: `C:/Users/name/go/pkg/mod/gorm.io/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm/utils/utils.go`,
    			want: `C:/go/work/proj/gorm/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm_alias/utils/utils.go`,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Nov 21 02:48:13 UTC 2022
    - 715 bytes
    - Viewed (0)
  2. schema/callbacks_test.go

    	if err != nil {
    		t.Fatalf("failed to parse user with callback, got error %v", err)
    	}
    
    	for _, str := range []string{"BeforeSave", "AfterCreate"} {
    		if !reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) {
    			t.Errorf("%v should be true", str)
    		}
    	}
    
    	for _, str := range []string{"BeforeCreate", "BeforeUpdate", "AfterUpdate", "AfterSave", "BeforeDelete", "AfterDelete", "AfterFind"} {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 939 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py

                                        "properties": {
                                            "name": {"type": "string"},
                                            "price": {"type": "number"},
                                            "description": {"type": "string"},
                                        },
                                    }
                                }
                            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/LanguageElement.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model;
    
    import java.util.List;
    
    public interface LanguageElement {
        String getRawCommentText();
    
        List<String> getAnnotationTypeNames();
    
        boolean isDeprecated();
    
        boolean isIncubating();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 855 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                queryBuf.append(lowerTerm != null ? "*".equals(Term.toString(lowerTerm)) ? "\\*" : Term.toString(lowerTerm) : "*");
                queryBuf.append(" TO ");
                final BytesRef upperTerm = termRangeQuery.getUpperTerm();
                queryBuf.append(upperTerm != null ? "*".equals(Term.toString(upperTerm)) ? "\\*" : Term.toString(upperTerm) : "*");
                queryBuf.append(termRangeQuery.includesUpper() ? ']' : '}');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

        suite.addTest(
            QueueTestSuiteBuilder.using(
                    new TestStringQueueGenerator() {
    
                      @Override
                      protected Queue<String> create(String[] elements) {
                        return new StandardImplForwardingQueue<>(Lists.newLinkedList(asList(elements)));
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

            return missingArtifacts;
        }
    
        private static String constructMessage(List<Artifact> artifacts) {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append("Missing:").append(LS);
            buffer.append("----------").append(LS);
    
            int counter = 0;
    
            for (Artifact artifact : artifacts) {
                String message = (++counter) + ") " + artifact.getId();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

         * @return The component.
         * @param <T> The component type.
         * @throws LookupException if no such component or there is some provisioning related issue.
         */
        @Nonnull
        <T> T lookup(Class<T> type, String name);
    
        /**
         * Performs a lookup for optional typed component.
         *
         * @param type The component type.
         * @return Optional carrying component or empty optional if no such component.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exbhv/CrawlingInfoParamBhv.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class CrawlingInfoParamBhv extends BsCrawlingInfoParamBhv {
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exbhv/DataConfigBhv.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class DataConfigBhv extends BsDataConfigBhv {
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top