- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 703 for encodeTo (0.08 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* query the fragment is not sent to the webserver: it's private to the client. * * ## Encoding * * Each component must be encoded before it is embedded in the complete URL. As we saw above, the * string `cute #puppies` is encoded as `cute%20%23puppies` when used as a query parameter value. * * ### Percent encoding *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 63.5K bytes - Click Count (0) -
cmd/erasure_test.go
t.Fatalf("Test %d: failed to create erasure: %v", i, err) } encoded, err := erasure.EncodeData(t.Context(), buffer) if err != nil { t.Fatalf("Test %d: failed to encode data: %v", i, err) } for j := range encoded[:test.missingData] { encoded[j] = nil } for j := test.dataBlocks; j < test.dataBlocks+test.missingParity; j++ { encoded[j] = nil } if test.reconstructParity {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
FileRenameInformation2 info = new FileRenameInformation2(unicodeFileName, false); byte[] buffer = new byte[200]; int bytesWritten = info.encode(buffer, 0); // Verify the encoded data int nameLength = SMBUtil.readInt4(buffer, 16); byte[] nameBytes = new byte[nameLength]; System.arraycopy(buffer, 20, nameBytes, 0, nameLength);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
original.setCapability(Smb2ChannelCapabilities.NETWORK_INTERFACE_CAP_RSS); byte[] encoded = original.encode(); assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length); NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0); assertNotNull(decoded); assertEquals(original.getAddress(), decoded.getAddress());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/api-datatypes.go
} // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal type DeleteMarkerMTime struct { time.Time } // MarshalXML encodes expiration date if it is non-zero and encodes // empty string otherwise func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if t.IsZero() { return nil } return e.EncodeElement(t.Format(time.RFC3339), startElement) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
// Now test encode byte[] destinationBuffer = new byte[30]; // Extra space int dstIndex = 3; // Start at offset 3 int bytesEncoded = fileStandardInfo.encode(destinationBuffer, dstIndex); // Verify assertEquals(22, bytesEncoded); // Verify encoded dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
// But only test the non-deferred parts to avoid field mocking issues // When: Trying to encode (may throw exception due to deferred buffer) // Then: Should at least call the basic encoding methods before hitting deferred assertThrows(Exception.class, () -> { unicodeString.encode(mockNdrBuffer); }, "Should encounter issue with deferred buffer access");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
domainInfo.sid.sub_authority_count = 2; domainInfo.sid.sub_authority = new int[] { 21, 12345 }; // Encode to buffer byte[] buffer = new byte[1024]; NdrBuffer encodeBuffer = new NdrBuffer(buffer, 0); domainInfo.encode(encodeBuffer); // Decode from buffer NdrBuffer decodeBuffer = new NdrBuffer(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
docs/fr/docs/tutorial/request-forms.md
**FastAPI** s'assure de lire ces données au bon endroit au lieu de JSON. /// note | Détails techniques Les données issues des formulaires sont normalement encodées avec le « type de média » `application/x-www-form-urlencoded`. Mais lorsque le formulaire inclut des fichiers, il est encodé en `multipart/form-data`. Vous lirez la gestion des fichiers dans le chapitre suivant.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertEquals(fid & 0xFFFF, actualFid); } @Test @DisplayName("Test writeDataWireFormat") void testWriteDataWireFormat() { // Setup mock to return encoded size when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(40); trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); byte[] buffer = new byte[512];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0)