- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 788 for _clone (0.07 sec)
-
tests/hooks_test.go
gorm.Model Name string Code string Price int64 Owner string } func (s Product2) BeforeCreate(tx *gorm.DB) (err error) { if !strings.HasSuffix(s.Name, "_clone") { newProduft := s newProduft.Price *= 2 newProduft.Name += "_clone" err = tx.Create(&newProduft).Error } if s.Name == "Invalid" { return errors.New("invalid") } return nil }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
@Override public NtlmPasswordAuthenticator clone () { NtlmPasswordAuthenticator cloned = new NtlmPasswordAuthenticator(); cloneInternal(cloned, this); return cloned; } protected static void cloneInternal ( NtlmPasswordAuthenticator cloned, NtlmPasswordAuthenticator toClone ) { cloned.domain = toClone.domain; cloned.username = toClone.username;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 18.8K bytes - Viewed (0) -
internal/http/close.go
"io" xioutil "github.com/minio/minio/internal/ioutil" ) // DrainBody close non nil response with any response Body. // convenient wrapper to drain any remaining data on response body. // // Subsequently this allows golang http RoundTripper // to reuse the same connection for future requests. func DrainBody(respBody io.ReadCloser) { // Callers should close resp.Body when done reading from it.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/s3select/simdj/record.go
// Reset the record. func (r *Record) Reset() { r.object = simdjson.Object{} } // Clone the record and if possible use the destination provided. func (r *Record) Clone(dst sql.Record) sql.Record { other, ok := dst.(*Record) if !ok { other = &Record{} } other.object = r.object return other } // CloneTo clones the record to a json Record. // Values are only unmashaled on object level.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.4K bytes - Viewed (0) -
README.md
- [OGNL](https://github.com/codelibs/fess-script-ognl) ## Development Information ### Get Source Code 1. Clone Fess's repository: ``` $ cd ~/workspace $ git clone https://github.com/codelibs/fess.git ``` 2. Import the cloned repository as a [Maven](https://maven.apache.org/) project on [Eclipse](https://www.eclipse.org/eclipseide/) or another IDE.
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 07:19:47 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
} // Enabled returns if LDAP is enabled. func (l *Config) Enabled() bool { return l.LDAP.Enabled } // Clone returns a cloned copy of LDAP config. func (l *Config) Clone() Config { if l == nil { return Config{} } cfg := Config{ LDAP: l.LDAP.Clone(), stsExpiryDuration: l.stsExpiryDuration, } return cfg } // LDAP keys and envs. const (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 07 12:59:47 UTC 2024 - 8.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
@Override public MavenSession clone() { try { MavenSession clone = (MavenSession) super.clone(); // the default must become the current project of the thread that clones this MavenProject current = getCurrentProject(); // we replace the thread local of the clone to prevent write through and enforce the new default value
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java
/** * Clones this resolver for usage in a forked resolution process. In general, implementors need not provide a deep * clone. The only requirement is that invocations of {@link #addRepository(Repository)} on the clone do not affect * the state of the original resolver and vice versa. * * @return The cloned resolver, never {@code null}. */ ModelResolver newCopy();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
protected byte[] getNTHash () { return this.ntHash; } @Override public NtlmPasswordAuthenticator clone () { NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone()); cloneInternal(cloned, this); return cloned; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 2.5K 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)