- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,373 for contigo (0.09 sec)
-
tests/distinct_test.go
"testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestDistinct(t *testing.T) { users := []User{ *GetUser("distinct", Config{}), *GetUser("distinct", Config{}), *GetUser("distinct", Config{}), *GetUser("distinct-2", Config{}), *GetUser("distinct-3", Config{}), } users[0].Age = 20 if err := DB.Create(&users).Error; err != nil { t.Fatalf("errors happened when create users: %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 2.5K bytes - Viewed (0) -
ci/official/envs/rbe
# ^^^^ # This env is only valid when RBE is available on the selected platform, since # it enables a derived --config setting. If RBE is not available (i.e. there # is no --config setting), bazel would fail and quit. This script does a quick # check This script checks for such errors early if ! grep "rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX" .bazelrc; then cat <<EOF
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Aug 09 16:05:18 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/update_test.go
"gorm.io/gorm/clause" "gorm.io/gorm/utils" . "gorm.io/gorm/utils/tests" ) func TestUpdate(t *testing.T) { var ( users = []*User{ GetUser("update-1", Config{}), GetUser("update-2", Config{}), GetUser("update-3", Config{}), } user = users[1] lastUpdatedAt time.Time ) checkUpdatedAtChanged := func(name string, n time.Time) { if n.UnixNano() == lastUpdatedAt.UnixNano() {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
private String shortName; private String filename; private final Configuration config; private final boolean unicode; /** * @param config * @param unicode * */ public FileBothDirectoryInfo ( Configuration config, boolean unicode ) { this.config = config; this.unicode = unicode; } @Override public String getName () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.6K bytes - Viewed (0) -
callbacks/create.go
called = true db.AddError(i.BeforeCreate(tx)) } } return called }) } } // Create create hook func Create(config *Config) func(db *gorm.DB) { supportReturning := utils.Contains(config.CreateClauses, "RETURNING") return func(db *gorm.DB) { if db.Error != nil { return } if db.Statement.Schema != nil { if !db.Statement.Unscoped {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" "sigs.k8s.io/yaml" "istio.io/istio/istioctl/pkg/util/clusters" "istio.io/istio/istioctl/pkg/util/proto" ) // EndpointFilter is used to pass filter information into route based config writer print functions type EndpointFilter struct { Address string Port uint32 Cluster string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 5.8K bytes - Viewed (0) -
tests/prepared_stmt_test.go
name := "prepared_stmt_concurrent_reset" user := *GetUser(name, Config{}) createTx := DB.Session(&gorm.Session{}).Create(&user) if createTx.Error != nil { t.Fatalf("failed to prepare record due to %s, test cannot be continue", createTx.Error) } // create a new connection to keep away from other tests tx, err := OpenTestConnection(&gorm.Config{PrepareStmt: true}) if err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 8.5K bytes - Viewed (0) -
internal/config/constants.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package config // Config value separator const ( ValueSeparator = "," ) // Top level common ENVs const ( EnvAccessKey = "MINIO_ACCESS_KEY" EnvSecretKey = "MINIO_SECRET_KEY" EnvRootUser = "MINIO_ROOT_USER"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 21 01:18:54 UTC 2024 - 3.4K bytes - Viewed (1) -
tests/count_test.go
t.Errorf("Count with group should be 2, but got count: %v", count2) } } func TestCount(t *testing.T) { var ( user1 = *GetUser("count-1", Config{}) user2 = *GetUser("count-2", Config{}) user3 = *GetUser("count-3", Config{}) users []User count, count1, count2 int64 ) DB.Save(&user1).Save(&user2).Save(&user3)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsFailureUrlBhv.java
*/ package org.codelibs.fess.es.config.bsbhv; import java.util.List; import java.util.Map; import org.codelibs.fess.es.config.allcommon.EsAbstractBehavior; import org.codelibs.fess.es.config.allcommon.EsAbstractEntity.RequestOptionCall; import org.codelibs.fess.es.config.bsentity.dbmeta.FailureUrlDbm; import org.codelibs.fess.es.config.cbean.FailureUrlCB; import org.codelibs.fess.es.config.exentity.FailureUrl;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0)