- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 449 for decodeId (0.03 sec)
-
src/bufio/scan.go
} // Fast path 2: Correct UTF-8 decode without error. _, width := utf8.DecodeRune(data) if width > 1 { // It's a valid encoding. Width cannot be one for a correctly encoded // non-ASCII rune. return width, data[0:width], nil } // We know it's an error: we have width==1 and implicitly r==utf8.RuneError. // Is the error because there wasn't a full rune to be decoded?
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java
public void setInterfaces(List<NetworkInterfaceInfo> interfaces) { this.interfaces = interfaces; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(byte[] buffer, int bufferIndex, int len) { int start = bufferIndex; int end = start + len; interfaces.clear();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
_src = _src.deferred; root_directory.decode(_src); } if (_object_namep != 0) { if (object_name == null) { /* YOYOYO */ object_name = new rpc.unicode_string(); } _src = _src.deferred; object_name.decode(_src); } if (_security_quality_of_servicep != 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 42.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
SMBUtil.writeInt2(20, buffer, 42); // byteCount int length = testBlock.decode(buffer, 0); assertTrue(length > 0); assertEquals(4, testBlock.wordCount); assertNull(testBlock.getAndx()); } @Test @DisplayName("Test decode with retain payload") void testDecodeWithRetainPayload() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
// Call the decode method ndrLong.decode(mockNdrBuffer); // Verify that dec_ndr_long was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_long(); // Verify that the value field was updated correctly assertEquals(decodedValue, ndrLong.value, "Decode should correctly assign the value returned by dec_ndr_long.");
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/org/codelibs/fess/opensearch/user/exentity/User.java
return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } @Override public String[] getGroupNames() { return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n])); } private String decode(final String value) { return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
int bytesEncoded = originalInfo.encode(buffer, 0); // When - Decode FileBasicInfo decodedInfo = new FileBasicInfo(); int bytesDecoded = decodedInfo.decode(buffer, 0, bytesEncoded); // Then assertEquals(40, bytesEncoded); assertEquals(36, bytesDecoded); // decode returns 36, encode returns 40
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package. * * The tests use small stub subclasses to drive encode/decode paths and * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling. */ class AndXServerMessageBlockTest { /** * Test stub for AndXServerMessageBlock to control read/write logic. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
/** * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and * some symbolic names meaningful to humans. */ private static int decode(String userFriendly) { try { return Integer.decode(userFriendly); } catch (NumberFormatException ignored) { if (userFriendly.matches("(?i)(?:American|English|ASCII)")) { // 1-byte UTF-8 sequences - "American" ASCII text
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/SMBProtocolDecodingException.java
*/ package jcifs.internal; import jcifs.CIFSException; /** * Exception thrown when errors occur during SMB protocol message decoding. * Indicates that an SMB message could not be properly parsed or decoded due to * malformed data, protocol violations, or unsupported message formats. * * @author mbechler */ public class SMBProtocolDecodingException extends CIFSException { /** * */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0)