Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2651 - 2660 of 4,435 for TRUE (0.02 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

        }
    
        private static boolean isAny(String str) {
            return "*".equals(str);
        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

            }
    
            boolean passed = false;
            for (String phase : lifecycle.getPhases()) {
                boolean include = true;
                if (phase.equals(lifecyclePhase)) {
                    passed = true;
                } else if (passed) {
                    if (phase.startsWith(org.apache.maven.api.Lifecycle.AFTER)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  3. tests/soft_delete_test.go

    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    	if !regexp.MustCompile(`UPDATE .users. SET .deleted_at.=.* WHERE .users.\..id. = .* AND .users.\..deleted_at. IS NULL`).MatchString(sql) {
    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = DB.Session(&gorm.Session{DryRun: true}).Table("user u").Select("name").Find(&User{}).Statement.SQL.String()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestQueryBuilder.java

            return functionScoreQueryBuilder;
        }
    
        /**
         * Checks if the query is a single word query.
         * @param query The query string.
         * @return True if it is a single word query, false otherwise.
         */
        boolean isSingleWordQuery(final String query) {
            final String fullWidthSpace = "\u3000";
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Synchronized.java

          return subMap(fromKey, true, toKey, false);
        }
    
        @Override
        public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
          synchronized (mutex) {
            return navigableMap(delegate().tailMap(fromKey, inclusive), mutex);
          }
        }
    
        @Override
        public SortedMap<K, V> tailMap(K fromKey) {
          return tailMap(fromKey, true);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProvider.java

    import org.lastaflute.core.json.JsonResourceProvider;
    
    public class FessJsonResourceProvider implements JsonResourceProvider {
        @Override
        public boolean isNullsSuppressed() {
            return true;
        }
    
        @Override
        public boolean isPrettyPrintSuppressed() {
            return false;
        }
    
        @Override
        public JsonMappingOption provideMappingOption() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

         * This method validates the access token and checks if the associated permissions
         * allow admin access according to the Fess configuration.
         *
         * @return true if admin access is allowed, false otherwise
         */
        @Override
        protected boolean isAccessAllowed() {
            try {
                return accessTokenService.getPermissions(request)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ByFunctionOrdering.java

        return ordering.compare(function.apply(left), function.apply(right));
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ByFunctionOrdering) {
          ByFunctionOrdering<?, ?> that = (ByFunctionOrdering<?, ?>) object;
          return this.function.equals(that.function) && this.ordering.equals(that.ordering);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/FunctionalEquivalence.java

      }
    
      @Override
      protected int doHash(F a) {
        return resultEquivalence.hash(function.apply(a));
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj == this) {
          return true;
        }
        if (obj instanceof FunctionalEquivalence) {
          FunctionalEquivalence<?, ?> that = (FunctionalEquivalence<?, ?>) obj;
          return function.equals(that.function) && resultEquivalence.equals(that.resultEquivalence);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[1:11] hl[7:11] *}
    
    `Hero` 类与 Pydantic 模型非常相似(实际上,从底层来看,它确实就是一个 Pydantic 模型)。
    
    有一些区别:
    
    * `table=True` 会告诉 SQLModel 这是一个*表模型*,它应该表示 SQL 数据库中的一个**表**,而不仅仅是一个*数据模型*(就像其他常规的 Pydantic 类一样)。
    
    * `Field(primary_key=True)` 会告诉 SQLModel `id` 是 SQL 数据库中的**主键**(你可以在 SQLModel 文档中了解更多关于 SQL 主键的信息)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
Back to Top