- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,209 for Bytes (0.02 sec)
-
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
} public void testString() { Random random = new Random(); for (int i = 0; i < 100; i++) { byte[] bytes = new byte[64]; random.nextBytes(bytes); String s = new String(bytes, UTF_16LE); // so all random strings are valid assertEquals( new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
rpc.sid_t st = buildSidT((byte) 1, ident, 10, 20); byte[] bytes = SID.toByteArray(st); // Act: construct from bytes and re-encode SID sid = new SID(bytes, 0); byte[] roundTrip = sid.toByteArray(); // Assert assertArrayEquals(bytes, roundTrip); assertEquals("S-1-5-10-20", sid.toString()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
* Contains flag values used in NTLM authentication attribute-value pairs. * * @author mbechler */ public class AvFlags extends AvPair { /** * Constructs an AV flags pair from raw bytes * @param raw the raw flag bytes */ public AvFlags(final byte[] raw) { super(AvPair.MsvAvFlags, raw); } /** * Constructs an AV flags pair from integer flagsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
cmd/metrics-v3-system-network.go
"Average dial time of internode TCP calls in nanoseconds") internodeSentBytesTotalMD = NewCounterMD(internodeSentBytesTotal, "Total number of bytes sent to other peer nodes") internodeRecvBytesTotalMD = NewCounterMD(internodeRecvBytesTotal, "Total number of bytes received from other peer nodes") ) // loadNetworkInternodeMetrics - reads internode network metrics. // // This is a `MetricsLoaderFn`.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 2.4K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zip import ( "bytes" "io" "os" "path/filepath" "testing" ) func FuzzReader(f *testing.F) { testdata, err := os.ReadDir("testdata") if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
src/archive/zip/reader_test.go
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 17 20:10:27 UTC 2025 - 56.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
void testInvalidMessageBytes() { // Given byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid // When/Then assertThrows(IOException.class, () -> { new Type3Message(invalidBytes); }); } @Test @DisplayName("Should handle parsing null message bytes") void testNullMessageBytes() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
// Encode input parameters for WitnessAsyncNotify // Context handle (20 bytes) if (contextHandle != null) { buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
message[8] = 0x03; // LM Response (24 bytes at offset 64) message[12] = 24; // Length message[13] = 0; message[14] = 24; // Max Length message[15] = 0; message[16] = 64; // Offset message[17] = 0; message[18] = 0; message[19] = 0; // NT Response (24 bytes at offset 88) message[20] = 24; // Length message[21] = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1)