- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 770 for decodes (0.16 seconds)
-
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
when(mockDeferredBuffer.dec_ndr_string()).thenReturn("DecodedShare", "Decoded Remark"); shareInfo1.decode(mockNdrBuffer); assertEquals("DecodedShare", shareInfo1.netname); assertEquals(2, shareInfo1.type); assertEquals("Decoded Remark", shareInfo1.remark); verify(mockNdrBuffer).align(4); verify(mockNdrBuffer, times(3)).dec_ndr_long();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
} @ParameterizedTest(name = "decode({1}) -> {2}") @MethodSource("decodeProvider") void testDecode(String encoded, byte[] expected) { // Act byte[] actual = Base64.decode(encoded); // Assert assertArrayEquals(expected, actual, "Base64.decode should return original bytes"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
when(messageBlock.decode(buffer, decodeIndex)).thenReturn(decodeLength); // When int encoded = messageBlock.encode(buffer, encodeIndex); int decoded = messageBlock.decode(buffer, decodeIndex); // Then assertEquals(encodeLength, encoded); assertEquals(decodeLength, decoded); verify(messageBlock).encode(buffer, encodeIndex);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
byte[] buffer = new byte[bufferSize]; FileFsSizeInformation info = new FileFsSizeInformation(); int decoded = info.decode(buffer, 0, Math.min(bufferSize, 24)); assertEquals(24, decoded); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0); assertNotNull(decoded); assertEquals(original.getAddress(), decoded.getAddress()); assertEquals(original.getLinkSpeed(), decoded.getLinkSpeed()); assertEquals(original.getInterfaceIndex(), decoded.getInterfaceIndex()); assertEquals(original.getCapability(), decoded.getCapability()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
return result.readUtf8() } /** * Converts a single label from Punycode to Unicode. * * @return true if the range of [string] from [pos] to [limit] was valid and decoded successfully. * Otherwise, the decode failed. */ private fun decodeLabel( string: String, pos: Int, limit: Int, result: Buffer, ): Boolean {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
* Extracts and parses parameters from the request query string. * Applies the specified character encoding to decode parameter values. * * @param request the HTTP request containing the query string * @param enc the character encoding to use for decoding * @return a map of parameter names to their decoded values * @throws IOException if an error occurs during parameter parsing */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 9.5K bytes - Click Count (0) -
internal/s3select/jstream/README.md
Using the below example document: <img width="85%" src="https://bradley.codes/static/img/jstream-levels.gif" alt="jstream"/> we can choose to extract and act only the objects within the top-level array: ```go f, _ := os.Open("input.json") decoder := jstream.NewDecoder(f, 1) // extract JSON values at a depth level of 1 for mv := range decoder.Stream() { fmt.Printf("%v\n ", mv.Value) } ``` output: ```
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Sep 23 19:35:41 GMT 2024 - 3.2K bytes - Click Count (0) -
internal/store/queuestore.go
raw, err := store.GetRaw(key) if err != nil { return nil, err } decoder := jsoniter.ConfigCompatibleWithStandardLibrary.NewDecoder(bytes.NewReader(raw)) for decoder.More() { var item I if err := decoder.Decode(&item); err != nil { return nil, err } items = append(items, item) } return items, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
Smb2IoctlResponse resp = new Smb2IoctlResponse(config); int read = resp.decode(packet, 0); assertTrue(read >= packet.length, "Decoded length should cover entire packet"); assertNotNull(resp.getErrorData(), "Error data should be decoded"); assertEquals(3, resp.getErrorData().length); assertEquals(2, resp.getErrorContextCount());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0)