- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,230 for clone (0.05 sec)
-
gorm.go
if sqldb, ok := connPool.(*sql.DB); ok && sqldb != nil { return sqldb, nil } return nil, ErrInvalidDB } func (db *DB) getInstance() *DB { if db.clone > 0 { tx := &DB{Config: db.Config, Error: db.Error} if db.clone == 1 { // clone with new statement tx.Statement = &Statement{ DB: tx, ConnPool: db.Statement.ConnPool, Context: db.Statement.Context,
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Oct 09 11:29:48 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
* * <p>This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 04 01:39:13 UTC 2022 - 1.3K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
List<ComponentDescriptor<?>> clones = null; if (mojos != null) { clones = new ArrayList<>(mojos.size()); for (MojoDescriptor mojo : mojos) { MojoDescriptor clone = mojo.clone(); clone.setPluginDescriptor(pluginDescriptor); clones.add(clone); } } return clones; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p4/golden.txt
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jan 26 19:39:32 UTC 2024 - 329 bytes - Viewed (0) -
statement_test.go
s := new(Statement) for w := 0; w < whereCount; w++ { s = s.clone() s.AddClause(clause.Where{ Exprs: s.BuildCondition(fmt.Sprintf("where%d", w)), }) } s1 := s.clone() s1.AddClause(clause.Where{ Exprs: s.BuildCondition("FINAL1"), }) s2 := s.clone() s2.AddClause(clause.Where{ Exprs: s.BuildCondition("FINAL2"), })
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Dec 23 13:19:41 UTC 2023 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SecurityBlob.java
return 0; return this.b.length; } /* * (non-Javadoc) * * @see java.lang.Object#clone() */ @Override protected Object clone () throws CloneNotSupportedException { return new SecurityBlob(this.b.clone()); } /* * (non-Javadoc) * * @see java.lang.Object#equals(java.lang.Object) */ @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
internal/config/errors-utils.go
// Err implements error so we can use it anywhere type Err struct { msg string detail string action string hint string } // Clone returns a new Err struct with the same information func (u Err) Clone() Err { return Err{ msg: u.msg, detail: u.detail, action: u.action, hint: u.hint, } } // Error returns the error message func (u Err) Error() string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/admin-handlers-idp-config.go
return } var cfgList []madmin.IDPListItem var err error switch idpCfgType { case madmin.OpenidIDPCfg: cfg := globalServerConfig.Clone() cfgList, err = globalIAMSys.OpenIDConfig.GetConfigList(cfg) case madmin.LDAPIDPCfg: cfg := globalServerConfig.Clone() cfgList, err = globalIAMSys.LDAPConfig.GetConfigList(cfg) default: writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/data-usage-cache.go
return hashPath(d.Info.Name) } // clone returns a copy of the cache with no references to the existing. func (d *dataUsageCache) clone() dataUsageCache { clone := dataUsageCache{ Info: d.Info, Cache: make(map[string]dataUsageEntry, len(d.Cache)), } for k, v := range d.Cache { clone.Cache[k] = v.clone() } return clone } // merge root of other into d.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 34.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java
public interface ModelInterpolator { /** * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use * the returned model and must not rely on the input model being updated. * * @param model The model to interpolate, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0)