- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 938 for encoding (0.04 sec)
-
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
*/ package jcifs.smb1.dcerpc.ndr; import java.io.UnsupportedEncodingException; import java.util.HashMap; import jcifs.smb1.util.Encdec; /** * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages. * This class provides methods for reading and writing primitive types and strings * in NDR format for DCE/RPC communication. */ public class NdrBuffer { int referent; HashMap referents;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
} /** * Encodes a wide string pointer in NDR format. * * @param buf the NDR buffer * @param str the string to encode (can be null) * @throws NdrException if encoding fails */ private void encodeWideStringPointer(NdrBuffer buf, String str) throws NdrException { if (str == null || str.isEmpty()) { buf.enc_ndr_long(0); // NULL pointer } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
assertEquals(expected, result); } @Test void testReadString_Oem() { response.useUnicode = false; String expected = "test"; // Simulate OEM encoding with a null terminator byte[] src = (expected + "\0").getBytes(StandardCharsets.UTF_8); String result = response.readString(src, 0, src.length); // The method should remove the null terminator
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
compat/maven-compat/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Jun 29 22:37:39 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/sts/tls.md
```curl curl -X POST --key private.key --cert public.crt "https://minio:9000?Action=AssumeRoleWithCertificate&Version=2011-06-15&DurationSeconds=3600" ``` ```xml <?xml version="1.0" encoding="UTF-8"?> <AssumeRoleWithCertificateResponse xmlns="https://sts.amazonaws.com/doc/2011-06-15/"> <AssumeRoleWithCertificateResult> <Credentials> <AccessKeyId>YC12ZBHUVW588BQAE5BM</AccessKeyId>
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6K bytes - Viewed (1) -
tests/embedded_struct_test.go
package tests_test import ( "database/sql/driver" "encoding/json" "errors" "reflect" "testing" "time" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestEmbeddedStruct(t *testing.T) { type ReadOnly struct { ReadOnly *bool } type BasePost struct { Id int64 Title string URL string ReadOnly } type Author struct { ID string Name string
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "encoding/json" "fmt" "net/http" "slices" "strings" "sync" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/mcontext" "github.com/minio/mux" "github.com/minio/pkg/v3/env"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
context.setMaxCacheAge(60000L); context.setNotificationEnabled(true); context.setNotificationFilter(0x1F); // Test encoding and decoding roundtrip byte[] buffer = new byte[context.size()]; int encoded = context.encode(buffer, 0); assertEquals(context.size(), encoded);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
} @Override public void setRequestCharacterEncoding(String encoding) { } @Override public String getResponseCharacterEncoding() { return "UTF-8"; } @Override public void setResponseCharacterEncoding(String encoding) { } } // Mock ProcessHelper implementation
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
val derReader = DerReader(buffer) assertFailsWith<ProtocolException> { derReader.read("test") {} }.also { expected -> assertThat(expected.message).isEqualTo("invalid encoding for length") } } @Test fun `decode length not encoded in shortest form possible`() { val buffer = Buffer() .writeByte(0b00000010) .writeByte(0b10000001)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0)