- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for Ftruncate (0.13 sec)
-
cmd/object-api-datatypes.go
type ListObjectVersionsInfo struct { // Indicates whether the returned list objects response is truncated. A // value of true indicates that the list was truncated. The list can be truncated // if the number of objects exceeds the limit allowed or specified // by max keys. IsTruncated bool // When response is truncated (the IsTruncated element value in the response is true),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
MessageDigest md5 = MessageDigest.getInstance("MD5"); byte[] ipad = new byte[64]; byte[] opad = new byte[64]; // HMACT64 specific: truncate key to 64 bytes if needed int keyLen = Math.min(key.length, 64); for (int i = 0; i < keyLen; i++) { ipad[i] = (byte) (key[i] ^ 0x36); opad[i] = (byte) (key[i] ^ 0x5c); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
// Calculate expected HMACT64 result manually MessageDigest md5 = MessageDigest.getInstance("MD5"); byte[] ipad = new byte[64]; byte[] opad = new byte[64]; // HMACT64 specific: truncate key to 64 bytes if needed int keyLen = Math.min(key.length, 64); for (int i = 0; i < keyLen; i++) { ipad[i] = (byte) (key[i] ^ 0x36); opad[i] = (byte) (key[i] ^ 0x5c); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) { // truncate the file if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) { // create it if necessary openFunction = OPEN_FN_TRUNC | OPEN_FN_CREATE; } else { openFunction = OPEN_FN_TRUNC; } } else // don't truncate the file if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
if ((flags & SmbFile.O_TRUNC) == SmbFile.O_TRUNC) { // truncate the file if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) { // create it if necessary createDisposition = FILE_OVERWRITE_IF; } else { createDisposition = FILE_OVERWRITE; } } else // don't truncate the file if ((flags & SmbFile.O_CREAT) == SmbFile.O_CREAT) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
// Verify customData part (should be truncated) byte[] expectedCustomData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; byte[] actualCustomData = new byte[8]; System.arraycopy(value, 8, actualCustomData, 0, 8); assertArrayEquals(expectedCustomData, actualCustomData); // Verify machineId part (should be truncated) byte[] expectedMachineId = new byte[32];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
t.Errorf("Test %d: %s: Expected NextMarker to contain a string since listing is truncated, but instead found it to be empty", i+1, instanceType) } if !testCase.resultL.IsTruncated && resultL.NextMarker != "" { if !resultL.IsTruncated || len(resultL.Objects) == 0 { t.Errorf("Test %d: %s: Expected NextMarker to be empty since listing is not truncated, but instead found `%v`", i+1, instanceType, resultL.NextMarker) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 76.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
/** * Get the current file length * * @return file length * @throws SmbException if an I/O error occurs */ long length() throws SmbException; /** * Expand/truncate file length * * @param newLength * new file length * @throws SmbException if an I/O error occurs */ void setLength(long newLength) throws SmbException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0)