- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 268 for cloneOf (0.05 seconds)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
return restrictions; } /** * @deprecated VersionRange is immutable, cloning is not useful and even more an issue against the cache * @return a clone */ @Deprecated public VersionRange cloneOf() { List<Restriction> copiedRestrictions = null; if (restrictions != null) { copiedRestrictions = new ArrayList<>();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 19K bytes - Click Count (0) -
internal/s3select/simdj/record.go
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. func (r *Record) CloneTo(dst *json.Record) (sql.Record, error) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
orig.refresh(); // Clone should retain its cached Subject assertSame(copySubj, copy.getSubject(), "Clone should retain its cached Subject"); } else { // If JAAS is not configured and getSubject() returns null, verify cloning still works assertNull(first, "First call to getSubject() returned null - JAAS not configured");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (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();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
SecurityBlob copy = assertDoesNotThrow(() -> (SecurityBlob) original.clone(), "clone() should not throw"); // Assert assertNotSame(original, copy, "clone should return a different instance"); assertTrue(original.equals(copy), "Cloned instance should be equal by content"); // Mutate original backing array; clone should remain based on previous snapshot data[0] = 99;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
@Override protected byte[] getNTHash() { return this.ntHash; } @Override public NtlmPasswordAuthenticator clone() { final NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone()); cloneInternal(cloned, this); return cloned; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 2.6K bytes - Click Count (0) -
api/go1.25.txt
pkg hash, type Cloner interface { BlockSize, Clone, Reset, Size, Sum, Write } #69521 pkg hash, type Cloner interface, BlockSize() int #69521 pkg hash, type Cloner interface, Clone() (Cloner, error) #69521 pkg hash, type Cloner interface, Reset() #69521 pkg hash, type Cloner interface, Size() int #69521 pkg hash, type Cloner interface, Sum([]uint8) []uint8 #69521 pkg hash, type Cloner interface, Write([]uint8) (int, error) #69521Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Jun 02 16:09:57 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
assertArrayEquals(originalPassword, clonedPassword, "Cloned password content should match"); // Wipe original - should not affect clone authenticator.secureWipePassword(); char[] originalAfterWipe = (char[]) passwordField.get(authenticator); char[] clonedAfterWipe = (char[]) passwordField.get(cloned);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator cloned = auth.clone(); assertNotSame(auth, cloned); assertEquals(subj, cloned.getSubject()); assertEquals("alice", cloned.getUser()); assertEquals("EXAMPLE.COM", cloned.getRealm()); assertEquals("cifs", cloned.getService()); assertEquals(123, cloned.getUserLifeTime()); assertEquals(456, cloned.getLifeTime());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// Cast and check we can call clone() from CredentialsInternal contract CredentialsInternal ci = (CredentialsInternal) impl; CredentialsInternal cloned = ci.clone(); assertNotNull(cloned, "clone() should return a non-null CredentialsInternal"); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0)