- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 428 for dst1 (1.54 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(range, "lengthInBytes", 654321L); byte[] dst = new byte[20]; int writtenSize = range.encode(dst, 0); assertEquals(10, writtenSize, "Range size when not large should be 10"); // create a new empty range and decode LockingAndXRange decoded = new LockingAndXRange(false); int decodedSize = decoded.decode(dst, 0, dst.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
if f.IsDir() { if f.Name() == "testdata" { if err := cp(dst, filepath.Join(src, f.Name())); err != nil { return err } } continue } if err := cp(dst, filepath.Join(src, f.Name())); err != nil { return err } } return nil } func cp(dst, src string) error { out, err := exec.Command("cp", "-a", src, dst).CombinedOutput() if err != nil { os.Stderr.Write(out) }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 00:34:45 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
byte[] src = new byte[100]; byte[] dst = new byte[100]; assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100)); assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 50, dst, 50, 50)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(null, 0, dst, 0, 10));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
assertTrue(result.contains("dataSize=4")); } @Test void testWriteParameterWordsWireFormat() { byte[] dst = new byte[1024]; int result = response.writeParameterWordsWireFormat(dst, 0); // The method should write parameter words assertTrue(result >= 0, "writeParameterWordsWireFormat should return non-negative value"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
byte[] dst = new byte[1024]; int result = setupAndX.writeParameterWordsWireFormat(dst, 0); // Verify that data was written (should write 22 bytes based on implementation) assertEquals(22, result, "writeParameterWordsWireFormat should write 22 bytes"); } @Test void testWriteBytesWireFormat() { byte[] dst = new byte[1024];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
return nil, err } dst = append(dst, xlHeader[:]...) dst = append(dst, xlVersionCurrent[:]...) // Add "bin 32" type header to always have enough space. // We will fill out the correct size when we know it. dst = append(dst, 0xc6, 0, 0, 0, 0) dataOffset := len(dst) dst = msgp.AppendUint(dst, xlHeaderVersion) dst = msgp.AppendUint(dst, xlMetaVersion) dst = msgp.AppendInt(dst, len(x.versions))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
internal/ioutil/append-file_windows.go
package ioutil import ( "io" "os" "github.com/minio/minio/internal/lock" ) // AppendFile - appends the file "src" to the file "dst" func AppendFile(dst string, src string, osync bool) error { appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666) if err != nil { return err } defer appendFile.Close() srcFile, err := lock.Open(src, os.O_RDONLY, 0o666)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
} @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
* This method should do nothing and return 0. */ @Test void testWriteParameterWordsWireFormat() { byte[] dst = new byte[10]; int dstIndex = 0; // The method should return 0 as it writes no parameter words int result = smbComNegotiate.writeParameterWordsWireFormat(dst, dstIndex); assertEquals(0, result, "writeParameterWordsWireFormat should return 0."); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
} return pad + parameterCount + pad1 + dataCount; } abstract int writeSetupWireFormat(byte[] dst, int dstIndex); abstract int writeParametersWireFormat(byte[] dst, int dstIndex); abstract int writeDataWireFormat(byte[] dst, int dstIndex); abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0)