- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 324 for clone (0.64 sec)
-
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
assertTrue(source.wasStreamOpened()); assertFalse(source.wasStreamClosed()); ByteArrayOutputStream out = new ByteArrayOutputStream(); ByteStreams.copy(in, out); in.close(); out.close(); assertTrue(source.wasStreamClosed()); assertArrayEquals(bytes, out.toByteArray()); } public void testSize() throws IOException { assertEquals(bytes.length, source.size());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
ResourceFilter ff ) throws CIFSException { // clone the locator so that the address index is not modified SmbResourceLocatorImpl locator = parent.fileLocator.clone(); CIFSContext tc = parent.getContext(); URL u = locator.getURL(); FileEntry[] entries;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0) -
maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
return v4Api; } /** * Creates a shallow copy of this mojo descriptor. */ @Override public MojoDescriptor clone() { try { return (MojoDescriptor) super.clone(); } catch (CloneNotSupportedException e) { throw new UnsupportedOperationException(e); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 21.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* * @since 15.0 (since 12.0 in HashCodes) */ public static HashCode fromBytes(byte[] bytes) { checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte."); return fromBytesNoCopy(bytes.clone()); } /** * Creates a {@code HashCode} from a byte array. The array is <i>not</i> copied defensively, so it * must be handed-off so as to preserve the immutability contract of {@code HashCode}. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 12.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
@GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
api/go1.21.txt
pkg log/slog, method (*Record) AddAttrs(...Attr) #56345 pkg log/slog, method (*Record) Add(...interface{}) #56345 pkg log/slog, method (Record) Attrs(func(Attr) bool) #59060 pkg log/slog, method (Record) Clone() Record #56345 pkg log/slog, method (Record) NumAttrs() int #56345 pkg log/slog, method (*TextHandler) Enabled(context.Context, Level) bool #56345 pkg log/slog, method (*TextHandler) Handle(context.Context, Record) error #56345
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
this.ctx = ctx; this.url = u; } /** * {@inheritDoc} * * @see java.lang.Object#clone() */ @Override protected SmbResourceLocatorImpl clone () { SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url); loc.canon = this.canon; loc.share = this.share;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
if (remoteRepository == null) { return versioning; } Versioning filteredVersions = versioning.clone(); for (String version : versioning.getVersions()) { if (!remoteRepository .getPolicy(DefaultModelVersionParser.checkSnapshot(version)) .isEnabled()) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 10.1K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git_test.go
testenv.SkipFlaky(t, 59940) } localGitURLOnce.Do(func() { // Clone gitrepo1 into a local directory. // If we use a file:// URL to access the local directory, // then git starts up all the usual protocol machinery, // which will let us test remote git archive invocations. _, localGitURLErr = Run(context.Background(), "", "git", "clone", "--mirror", gitrepo1, localGitRepo) if localGitURLErr != nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 19:46:23 UTC 2023 - 18.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
decrypt = output; return decrypt; } private static byte[] getHmac ( byte[] data, byte[] key ) throws GeneralSecurityException { Key macKey = new SecretKeySpec(key.clone(), KerberosConstants.HMAC_ALGORITHM); Mac mac = Mac.getInstance(KerberosConstants.HMAC_ALGORITHM); mac.init(macKey); return mac.doFinal(data); } public String getUserRealm () {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0)