- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,225 for isInterface (0.07 seconds)
-
clause/delete_test.go
"testing" "gorm.io/gorm/clause" ) func TestDelete(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Delete{}, clause.From{}}, "DELETE FROM `users`", nil, }, { []clause.Interface{clause.Delete{Modifier: "LOW_PRIORITY"}, clause.From{}}, "DELETE LOW_PRIORITY FROM `users`", nil, }, }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jun 02 01:18:01 GMT 2020 - 608 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
} catch (NoSuchMethodException e) { throw new AssertionError(e); } } /** * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface. */ static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2.8K bytes - Click Count (0) -
src/bytes/reader.go
func (r *Reader) Size() int64 { return int64(len(r.s)) } // Read implements the [io.Reader] interface. func (r *Reader) Read(b []byte) (n int, err error) { if r.i >= int64(len(r.s)) { return 0, io.EOF } r.prevRune = -1 n = copy(b, r.s[r.i:]) r.i += int64(n) return } // ReadAt implements the [io.ReaderAt] interface. func (r *Reader) ReadAt(b []byte, off int64) (n int, err error) {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jul 16 18:17:37 GMT 2024 - 3.9K bytes - Click Count (0) -
tests/scanner_valuer_test.go
} if !reflect.DeepEqual([]interface{}{"jinzhu", "POINT(100 100)"}, stmt.Vars) { t.Errorf("generated vars is not equal, got %v", stmt.Vars) } stmt = dryRunDB.Model(UserWithPoint{}).Create(map[string]interface{}{ "Name": "jinzhu", "Point": clause.Expr{SQL: "ST_PointFromText(?)", Vars: []interface{}{"POINT(100 100)"}}, }).Statement
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
schema/naming.go
import ( "crypto/sha1" "encoding/hex" "regexp" "strings" "unicode/utf8" "github.com/jinzhu/inflection" "golang.org/x/text/cases" "golang.org/x/text/language" ) // Namer namer interface type Namer interface { TableName(table string) string SchemaName(table string) string ColumnName(table, column string) string JoinTableName(joinTable string) string RelationshipFKName(Relationship) string
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 12 03:46:59 GMT 2024 - 5.3K bytes - Click Count (0) -
clause/update_test.go
func TestUpdate(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Update{}}, "UPDATE `users`", nil, }, { []clause.Interface{clause.Update{Modifier: "LOW_PRIORITY"}}, "UPDATE LOW_PRIORITY `users`", nil, }, { []clause.Interface{clause.Update{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}},
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jun 02 01:18:01 GMT 2020 - 722 bytes - Click Count (0) -
gorm.go
} // Expr returns clause.Expr, which can be used to pass SQL expression as params func Expr(expr string, args ...interface{}) clause.Expr { return clause.Expr{SQL: expr, Vars: args} } // SetupJoinTable setup join table schema func (db *DB) SetupJoinTable(model interface{}, field string, joinTable interface{}) error { var ( tx = db.getInstance() stmt = tx.Statement
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Aug 26 06:24:29 GMT 2025 - 12.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
static class NewSuper {} static class NewBase extends NewSuper {} @Incubating static class NewIncubatingBase extends NewSuper {} @Incubating interface IncubatingInterface {} interface InternalInterface {} interface StablePublicInterface {} CtClass oldBase CtClass newBase CtClass newSuper CtClass newIncubatingBase CtClass internalInterfaceCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 4K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedSetMultimap.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
tests/named_argument_test.go
t.Errorf("failed to update with named arg") } AssertEqual(t, result5, namedUser) var result6 NamedUser if err := DB.Raw(`SELECT * FROM named_users WHERE (name1 = @name
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Dec 21 11:50:00 GMT 2021 - 2.7K bytes - Click Count (0)