- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 859 for 1bytes (0.03 sec)
-
guava/src/com/google/common/hash/LittleEndianByteArray.java
* has to explicitly reverse the order of the bytes as it packs them into the result which makes * it slower than the native version. * * @param input the input bytes * @param offset the offset into the array at which to start reading * @param length the number of bytes from the input to read * @return a long of a concatenated 8 bytes */ static long load64Safely(byte[] input, int offset, int length) { long result = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
this.openTimeout = 0xFFFFFFFF; } /** * Gets the maximum count of bytes to read. * * @return the maxCount */ public final int getMaxCount() { return this.maxCount; } /** * Sets the maximum count of bytes to read. * * @param maxCount * the maxCount to set */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBaseOptions(t *testing.T) { v := BaseOptions{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 73.9K bytes - Viewed (0) -
cmd/bucket-stats_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBucketReplicationStat(t *testing.T) { v := BucketReplicationStat{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Aug 30 08:00:59 UTC 2023 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
class HMACT64Test { private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes private static final byte[] SHORT_TEST_KEY = "short".getBytes(); private static final byte[] TEST_DATA = "testdata".getBytes(); private static final byte[] EMPTY_DATA = new byte[0]; static { // Initialize long key with predictable data
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/internal/smb2/lock/Smb2LockTest.java
// Verify offset (8 bytes) assertEquals(offset, SMBUtil.readInt8(buffer, 0)); // Verify length (8 bytes) assertEquals(length, SMBUtil.readInt8(buffer, 8)); // Verify flags (4 bytes) assertEquals(flags, SMBUtil.readInt4(buffer, 16)); // Verify reserved field is zeros (4 bytes)
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/smb1/smb1/SmbComNtTransactionResponseTest.java
assertEquals(1, response.setupCount); } // Helper method to write a 4-byte integer to a byte array. private void writeInt4(int val, byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dst[dstIndex + 1] = (byte) (val >> 8); dst[dstIndex + 2] = (byte) (val >> 16); dst[dstIndex + 3] = (byte) (val >> 24); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalChecksumInfo(t *testing.T) { v := ChecksumInfo{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
} @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes) { return putBytes(bytes, 0, bytes.length); } @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes, int off, int len) { Preconditions.checkPositionIndexes(off, off + len, bytes.length); for (int i = 0; i < len; i++) { putByte(bytes[off + i]); } return this; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
void setBytes(byte[] bytes) { this.bytes = bytes; this.byteCount = bytes.length; } @Override int writeParameterWordsWireFormat(byte[] dst, int dstIndex) { System.arraycopy(paramWords, 0, dst, dstIndex, paramWords.length); return paramWords.length; } @Override int writeBytesWireFormat(byte[] dst, int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)