- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 492 for YOffset (0.07 seconds)
-
src/bytes/reader_test.go
t.Errorf("ReadRune: got %d, %d, %v; want 0, 0, io.EOF", ch, size, err) } if offset, err := (&Reader{}).Seek(11, io.SeekStart); offset != 11 || err != nil { t.Errorf("Seek: got %d, %v; want 11, nil", offset, err) } if s := (&Reader{}).Size(); s != 0 { t.Errorf("Size: got %d, want 0", s) } if (&Reader{}).UnreadByte() == nil {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Click Count (0) -
cmd/httprange.go
// Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1} // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1} type HTTPRangeSpec struct { // Does the range spec refer to a suffix of the object? IsSuffixLength bool // Start and end offset specified in range spec Start, End int64 } // GetLength - get length of rangeCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
private byte[] data; private int offset; public MockNdrBuffer(byte[] data) { super(data, 0); this.data = data; this.offset = 0; } @Override public int align(int a) { // Simulate alignment by advancing offset int remainder = offset % a; if (remainder != 0) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 60.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
} /** * Decode from byte array * * @param data source data * @param offset starting offset * @return decoded response */ public static SmbDirectNegotiateResponse decode(byte[] data, int offset) { if (data.length - offset < 32) { throw new IllegalArgumentException("Invalid SMB Direct Negotiate Response length"); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/UUID.java
* @param offset the starting position in the array * @param length the number of hex digits to convert * @return the integer value of the hex digits */ public static int hex_to_bin(final char[] arr, final int offset, final int length) { int value = 0; int ai, count; count = 0; for (ai = offset; ai < arr.length && count < length; ai++) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/webapp/css/admin/bootstrap.min.css
flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{...Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Oct 26 01:49:09 GMT 2024 - 158.5K bytes - Click Count (0) -
src/main/java/jcifs/util/Strings.java
} } /** * Decodes a string from UTF-16LE (Unicode Little Endian) bytes. * * @param src the byte array containing the encoded string * @param srcIndex the starting offset in the byte array * @param len the number of bytes to decode * @return decoded string */ public static String fromUNIBytes(final byte[] src, final int srcIndex, final int len) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
@Test @DisplayName("Should handle maximum offset") void testWriteBytesAtMaxOffset() { byte[] buffer = new byte[1000]; int offset = buffer.length - 4; int bytesWritten = echoRequest.writeBytesWireFormat(buffer, offset); assertEquals(4, bytesWritten); assertEquals(4, SMBUtil.readInt2(buffer, offset)); } } @NestedCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
internal/crypto/sse.go
} // DecryptSinglePart decrypts an io.Writer which must an object // uploaded with the single-part PUT API. The offset and length // specify the requested range. func DecryptSinglePart(w io.Writer, offset, length int64, key ObjectKey) io.WriteCloser { const PayloadSize = 1 << 16 // DARE 2.0 w = ioutil.LimitedWriter(w, offset%PayloadSize, length) decWriter, err := sio.DecryptWriter(w, sio.Config{Key: key[:]}) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.3K bytes - Click Count (0)