Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,530 for isInterface (0.14 sec)

  1. callbacks/delete.go

    	"gorm.io/gorm/utils"
    )
    
    func BeforeDelete(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && db.Statement.Schema.BeforeDelete {
    		callMethod(db, func(value interface{}, tx *gorm.DB) bool {
    			if i, ok := value.(BeforeDeleteInterface); ok {
    				db.AddError(i.BeforeDelete(tx))
    				return true
    			}
    
    			return false
    		})
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Feb 25 02:48:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

    import java.util.NavigableSet;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of the {@link SortedSetMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into sorted sets. The {@link
     * #createCollection} method must return a {@code SortedSet}.
     *
     * @author Jared Levy
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. internal/config/identity/openid/providercfg.go

    	"github.com/minio/minio/internal/config/identity/openid/provider"
    	xhttp "github.com/minio/minio/internal/http"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    type providerCfg struct {
    	// Used for user interface like console
    	DisplayName string
    
    	JWKS struct {
    		URL *xnet.URL
    	}
    	URL                *xnet.URL
    	ClaimPrefix        string
    	ClaimName          string
    	ClaimUserinfo      bool
    	RedirectURI        string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tests/scan_test.go

    	}
    
    	type ID uint64
    	var id ID
    	DB.Raw("select id from users where id = ?", user2.ID).Scan(&id)
    	if uint(id) != user2.ID {
    		t.Errorf("Failed to scan to customized data type")
    	}
    
    	var resInt interface{}
    	resInt = &User{}
    	if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Find(&resInt).Error; err != nil {
    		t.Fatalf("Failed to query with pointer of value, got error %v", err)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

        @FunctionalInterface
        public interface FilteredCall<CQ extends EsAbstractConditionQuery, CF extends EsAbstractConditionQuery> {
    
            void callback(CQ query, CF filter);
        }
    
        @FunctionalInterface
        public interface OperatorCall<CQ extends EsAbstractConditionQuery> {
    
            void callback(CQ query);
        }
    
        @FunctionalInterface
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

        @FunctionalInterface
        public interface FilteredCall<CQ extends EsAbstractConditionQuery, CF extends EsAbstractConditionQuery> {
    
            void callback(CQ query, CF filter);
        }
    
        @FunctionalInterface
        public interface OperatorCall<CQ extends EsAbstractConditionQuery> {
    
            void callback(CQ query);
        }
    
        @FunctionalInterface
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. clause/benchmarks_test.go

    	user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    
    	for i := 0; i < b.N; i++ {
    		stmt := gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    		clauses := []clause.Interface{clause.Select{}, clause.From{}, clause.Where{Exprs: []clause.Expression{clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}, clause.Or(clause.Neq{Column: "name", Value: "jinzhu"})}}}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Oct 07 12:14:14 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. api/go1.6.txt

    pkg go/constant, func ToInt(Value) Value
    pkg go/constant, type Value interface, ExactString() string
    pkg go/types, method (*Package) SetName(string)
    pkg go/types, type ImportMode int
    pkg go/types, type ImporterFrom interface { Import, ImportFrom }
    pkg go/types, type ImporterFrom interface, Import(string) (*Package, error)
    pkg go/types, type ImporterFrom interface, ImportFrom(string, string, ImportMode) (*Package, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Checksum algorithms service.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ChecksumAlgorithmService extends Service {
    
        /**
         * Returns immutable collection of all supported algorithm names.
         */
        @Nonnull
        Collection<String> getChecksumAlgorithmNames();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

     * @see VersionConstraint
     * @see org.apache.maven.api.services.VersionParser#parseVersionRange(String)
     * @see org.apache.maven.api.Session#parseVersionRange(String)
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRange {
        /**
         * Determines whether the specified version is contained within this range.
         *
         * @param version the version to test, must not be {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top