- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,766 for newE (0.04 sec)
-
internal/grid/types.go
ePool sync.Pool // Elements } // NewArrayOf returns a new ArrayOf. // You must provide a function that returns a new instance of T. func NewArrayOf[T RoundTripper](newFn func() T) *ArrayOf[T] { return &ArrayOf[T]{ ePool: sync.Pool{New: func() any { return newFn() }}, } } // New returns a new empty Array. func (p *ArrayOf[T]) New() *Array[T] { return &Array[T]{ p: p, } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
buildscripts/rewrite-old-new.sh
Harshavardhana <******@****.***> 1716837466 -0700
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 3.4K bytes - Viewed (0) -
tests/named_argument_test.go
if err := DB.Exec("UPDATE named_users SET name1 = @name, name2 = @name2, name3 = @name", sql.Named("name", "jinzhu-new"), sql.Named("name2", "jinzhu-new2")).Error; err != nil { t.Errorf("failed to update with named arg") } namedUser.Name1 = "jinzhu-new" namedUser.Name2 = "jinzhu-new2" namedUser.Name3 = "jinzhu-new" var result5 NamedUser
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Tue Dec 21 11:50:00 UTC 2021 - 2.7K bytes - Viewed (0) -
tests/hooks_test.go
DB.Model(&product).Updates(map[string]interface{}{"Name": "Product New"}) if product.Name != "Product New" || product.Price != 160 || product.Code != "L1212" { t.Errorf("invalid data after update, got %+v", product) } // Code changed, but not selected, price should not change DB.Model(&product).Select("Name", "Price").Updates(map[string]interface{}{"Name": "Product New2", "code": "L1213"})
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
tests/update_belongs_to_test.go
t.Fatalf("errors happened when update: %v", err) } var user4 User DB.Preload("Company").Preload("Manager").Find(&user4, "id = ?", user.ID) CheckUser(t, user4, user) user.Company.Name += "new2" user.Manager.Name += "new2" if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Select("`Company`").Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user5 User
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 1.6K bytes - Viewed (0) -
tests/embedded_struct_test.go
} } // save embedded struct DB.Save(&HNPost{BasePost: BasePost{Title: "news"}}) DB.Save(&HNPost{BasePost: BasePost{Title: "hn_news"}}) var news HNPost if err := DB.First(&news, "title = ?", "hn_news").Error; err != nil { t.Errorf("no error should happen when query with embedded struct, but got %v", err) } else if news.Title != "hn_news" { t.Errorf("embedded struct's value should be scanned correctly") }
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/en/docs/help-fastapi.md
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 23:30:12 UTC 2024 - 13.7K bytes - Viewed (0) -
.github/actions/notify-translations/app/main.py
# Messages to create or check new_translation_message = f"Good news everyone! 😉 There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}. 🎉 This requires 2 approvals from native speakers to be merged. 🤓" done_translation_message = f"~There's a new translation PR to be reviewed: #{pr.number} by @{pr.user.login}~ Good job! This is done. 🍰☕"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessHtmlPath.java
/** The path of the HTML: /error/notFound.jsp */ HtmlNext path_Error_NotFoundJsp = new HtmlNext("/error/notFound.jsp"); /** The path of the HTML: /error/redirect.jsp */ HtmlNext path_Error_RedirectJsp = new HtmlNext("/error/redirect.jsp"); /** The path of the HTML: /error/system.jsp */ HtmlNext path_Error_SystemJsp = new HtmlNext("/error/system.jsp");
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 26.4K bytes - Viewed (0) -
errors.go
// ErrUnsupportedDriver unsupported driver ErrUnsupportedDriver = errors.New("unsupported driver") // ErrRegistered registered ErrRegistered = errors.New("registered") // ErrInvalidField invalid field ErrInvalidField = errors.New("invalid field") // ErrEmptySlice empty slice found ErrEmptySlice = errors.New("empty slice found") // ErrDryRunModeUnsupported dry run mode unsupported
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Fri Apr 26 02:53:17 UTC 2024 - 2.5K bytes - Viewed (0)