- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,908 for vscode (0.05 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertFalse(nic.isRdmaCapable()); assertEquals(address, nic.getAddress()); // Test scoring int score = nic.getScore(); assertEquals(11000, score); // 10000 (link speed) + 1000 (RSS bonus) // Test encoding/decoding byte[] encoded = nic.encode(); assertNotNull(encoded); assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
cmd/storage-rest-common_gen_test.go
v := nsScannerOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodensScannerOptions Msgsize() is inaccurate") } vn := nsScannerOptions{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 4.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal.der import okio.Buffer import okio.ByteString /** * Encode and decode a model object like a [Long] or [Certificate] as DER bytes. */ internal interface DerAdapter<T> { /** Returns true if this adapter can read [header] in a choice. */ fun matches(header: DerHeader): Boolean /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
return src[si] & 0xFF | (src[si + 1] & 0xFF) << 8 | (src[si + 2] & 0xFF) << 16 | (src[si + 3] & 0xFF) << 24; } /* Encode and decode 64 bit integers */ /** * Encodes a 64-bit unsigned integer in big-endian byte order. * * @param l the long value to encode * @param dst the destination byte array * @param di the starting index in the destination array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
decodingInputs[i] = encoding.encoding.encode(encodingInputs[i]); } } @Benchmark public int encode(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { tmp += System.identityHashCode(encoding.encoding.encode(encodingInputs[i & INPUTS_MASK])); } return tmp; } @Benchmark public int decode(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
/** * Encode the input parameters for this DCERPC message. * @param buf the buffer to encode into * @throws NdrException if encoding fails */ public abstract void encode_in(NdrBuffer buf) throws NdrException; /** * Decode the output parameters from this DCERPC message. * @param buf the buffer to decode from * @throws NdrException if decoding fails
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
int decodedValue = 200; when(mockNdrBuffer.dec_ndr_small()).thenReturn(decodedValue); // Create an NdrSmall object (initial value doesn't matter for decode) NdrSmall ndrSmall = new NdrSmall(0); // Call the decode method ndrSmall.decode(mockNdrBuffer); // Verify that dec_ndr_small was called verify(mockNdrBuffer, times(1)).dec_ndr_small();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
/** The low field of the clock sequence */ public byte clock_seq_low; /** The spatially unique node identifier */ public byte[] node; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(this.time_low); _dst.enc_ndr_short(this.time_mid); _dst.enc_ndr_short(this.time_hi_and_version);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
/** * Encode the input parameters for this DCERPC message. * @param buf the buffer to encode into * @throws NdrException if encoding fails */ public abstract void encode_in(NdrBuffer buf) throws NdrException; /** * Decode the output parameters from this DCERPC message. * @param buf the buffer to decode from * @throws NdrException if decoding fails
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
.thenReturn(0); // cancel count message.decode(mockBuffer); assertEquals(DcerpcConstants.RPC_PT_RESPONSE, message.ptype); assertEquals(100, message.alloc_hint); } @Test @DisplayName("decode should handle FAULT ptype correctly") void testDecodeFaultPtype() throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0)