- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,437 for WRITE (1.44 sec)
-
docs/distributed/DESIGN.md
sip := siphash.New(id[:]) sip.Write([]byte(key)) return int(sip.Sum64() % uint64(cardinality)) } ``` Input for the key is the object name specified in `PutObject()`, returns a unique index. This index is one of the erasure sets where the object will reside. This function is a consistent hash for a given object name i.e for a given object name the index returned is always the same.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 8K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
throw new ArrayIndexOutOfBoundsException("Buffer overflow"); } // Simulate encoding: write header (8 bytes) Arrays.fill(dst, dstIndex, dstIndex + 8, (byte) 0xFF); int offset = dstIndex + 8; // Write name if present if (name != null && name.length > 0) { System.arraycopy(name, 0, dst, offset, name.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
byte[] buffer = new byte[1024]; int written = request.writeBytesWireFormat(buffer, 0); // Should write exactly 56 bytes (structure size without data) assertEquals(56, written); // Check structure size (first 2 bytes should be 57) assertEquals(57, (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] hdr = new byte[64]; // SMB2 header is 64 bytes System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64); // Write Status (little-endian) at offset 8 in the SMB2 header SMBUtil.writeInt4(status, hdr, 8); // Write Command = SMB2_IOCTL (0x000B) at offset 12 SMBUtil.writeInt2(0x000B, hdr, 12); // Mark as server response to be realistic (optional)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
// Note: Due to bug in line 96 (commented out bufferIndex = bufferOffset), // the decode starts at bufferIndex=8 instead of dataOffset=80 // So we need to write data at bufferIndex=8 // Write first FileBothDirectoryInfo at bufferIndex=8 SMBUtil.writeInt4(104, buffer, 8); // NextEntryOffset to second entry SMBUtil.writeInt4(0, buffer, 12); // FileIndex
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
misc/go_android_exec/main.go
return &exitCodeFilter{w: w, exitRe: exitRe}, exitStr } func (f *exitCodeFilter) Write(data []byte) (int, error) { n := len(data) f.buf.Write(data) // Flush to w until a potential match of exitRe b := f.buf.Bytes() match := f.exitRe.FindIndex(b) if match == nil { // Flush all of the buffer. _, err := f.w.Write(b) f.buf.Reset() if err != nil { return n, err } } else {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* file attributes such as ACLs but it does copy regular attributes as * well as create and last write times. This method is almost twice as * efficient as manually copying as it employs an additional write * thread to read and write data concurrently. * <br> * It is not possible (nor meaningful) to copy entire workgroups or * servers. * * @param dest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.rdma; import jcifs.internal.util.SMBUtil; /** * SMB2 RDMA Transform structure for READ/WRITE channel info. * * As per MS-SMB2 2.2.13.1.1 and 2.2.21.1.1 */ public class Smb2RdmaTransform {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvSingleHost.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.ntlmssp.av; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/Address.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; import java.net.InetAddress; import java.net.UnknownHostException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0)