- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,281 for clone (0.17 sec)
-
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
void testUnspecifiedFileIdImmutability() { byte[] originalFileId = Smb2Constants.UNSPECIFIED_FILEID; byte[] copyFileId = Smb2Constants.UNSPECIFIED_FILEID.clone(); // Modify the copy copyFileId[0] = 0x00; // Verify original is unchanged assertEquals((byte) 0xFF, originalFileId[0], "Original FileId should remain unchanged");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
cmd/metacache-entries.go
func (m metaCacheEntries) isSorted() bool { return sort.SliceIsSorted(m, m.less) } // shallowClone will create a shallow clone of the array objects, // but object metadata will not be cloned. func (m metaCacheEntries) shallowClone() metaCacheEntries { dst := make(metaCacheEntries, len(m)) copy(dst, m) return dst } type metadataResolutionParams struct {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
load(); } return properties; } @Override public void clear() { getProperties().clear(); } @Override public Object clone() { final DynamicProperties dynamicProperties = new DynamicProperties(propertiesFile.getAbsolutePath()); dynamicProperties.checkInterval = checkInterval; return dynamicProperties; }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
byte[] originalBuffer = new byte[100]; for (int i = 0; i < originalBuffer.length; i++) { originalBuffer[i] = (byte) i; } byte[] bufferCopy = originalBuffer.clone(); // When smbComTreeDisconnect.writeParameterWordsWireFormat(originalBuffer, 50); smbComTreeDisconnect.writeBytesWireFormat(originalBuffer, 50);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
void testWriteDoesNotModifyBuffer() { byte[] buffer = new byte[64]; Arrays.fill(buffer, (byte) 0xAA); byte[] originalBuffer = buffer.clone(); notification.writeBytesWireFormat(buffer, 0); assertArrayEquals(originalBuffer, buffer); } } @Nested @DisplayName("ToString Tests")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
this.onRequestStart = socketEffect } /** * Process the response without even attempting to reading the request body. For HTTP/2 this * will close the response stream after the response body or trailers. For HTTP/1 this will * close the socket after the response body or trailers. */ public fun doNotReadRequestBody(): Builder = apply { doNotReadRequestBody = trueRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 17.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
MavenProject forkedProject = projectIndex.getProjects().get(projectId); forkedProjects.add(forkedProject); MavenProject executedProject = forkedProject.clone(); forkedProject.setExecutionProject(executedProject); List<MojoExecution> mojoExecutions = fork.getValue(); if (mojoExecutions.isEmpty()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 12 14:55:55 UTC 2025 - 21K bytes - Viewed (0) -
api/go1.18.txt
pkg runtime/debug, type BuildSetting struct pkg runtime/debug, type BuildSetting struct, Key string pkg runtime/debug, type BuildSetting struct, Value string pkg strings, func Clone(string) string pkg strings, func Cut(string, string) (string, string, bool) pkg strings, func Title //deprecated pkg sync, method (*Mutex) TryLock() bool pkg sync, method (*RWMutex) TryLock() bool
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
public static void load(final InputStream in) throws IOException { if (in != null) { prp.load(in); } try { prp.putAll((java.util.Map) System.getProperties().clone()); } catch (final SecurityException se) { if (LogStream.level > 1) { log.println("SecurityException: jcifs.smb1 will ignore System properties"); } } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
when(creds.clone()).thenReturn(creds); assertEquals(0, transport.getNumSessions()); // Act: create new session (happy path) SmbSessionImpl s1 = transport.getSmbSession(ctx); assertNotNull(s1); assertEquals(1, transport.getNumSessions()); s1.close(); // Act: request again with same context -> reuse existing
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)