- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for setEncoder (0.26 sec)
-
src/encoding/asn1/marshal.go
func (m multiEncoder) Encode(dst []byte) { var off int for _, e := range m { e.Encode(dst[off:]) off += e.Len() } } type setEncoder []encoder func (s setEncoder) Len() int { var size int for _, e := range s { size += e.Len() } return size } func (s setEncoder) Encode(dst []byte) { // Per X690 Section 11.6: The encodings of the component values of a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/testFixtures/groovy/org/gradle/internal/serialize/SerializerSpec.groovy
import org.gradle.internal.serialize.kryo.KryoBackedEncoder import spock.lang.Specification abstract class SerializerSpec extends Specification { Class<? extends AbstractEncoder> getEncoder() { KryoBackedEncoder } Class<? extends AbstractDecoder> getDecoder() { KryoBackedDecoder } <T> T serialize(T value, Serializer<T> serializer) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializerTest.groovy
def stringInterner = new StringInterner() def serializer = new FileSystemSnapshotSerializer(stringInterner) @Override Class<? extends AbstractEncoder> getEncoder() { return super.getEncoder() } def "reads and writes empty snapshots"() { when: def out = serialize(EMPTY, serializer) then: out == EMPTY }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java
final Type1Message type1Message = new Type1Message(cifsContext, TYPE_1_FLAGS, domain, workstation); return Base64.getEncoder().encodeToString(type1Message.toByteArray()); } @Override public String generateType3Msg(final String username, final String password, final String domain, final String workstation,
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.1K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-multiplatform-js-jvm-example/src/jvmMain/kotlin/samples/Base64.kt
actual object Base64Factory { actual fun createEncoder(): Base64Encoder = JvmBase64Encoder } object JvmBase64Encoder : Base64Encoder { override fun encode(src: ByteArray): ByteArray { return Base64.getEncoder().encode(src) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 07:33:24 UTC 2024 - 907 bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/NamespaceId.java
try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos)) { dos.writeUTF(namespace); dos.writeUTF(name); return Base64.getEncoder().encodeToString(baos.toByteArray()); } catch (IOException e) { throw new RuntimeException("Failed encoding namespace ID '" + name + "'"); } } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CurlHelper.java
if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) { final String value = username + ":" + password; final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8)); request.header("Authorization", basicAuth); } if (sslSocketFactory != null) { request.sslSocketFactory(sslSocketFactory);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectionReasonSerializerTest.groovy
private serializer = new ComponentSelectionReasonSerializer(DependencyManagementTestUtil.componentSelectionDescriptorFactory()) @Override Class<? extends AbstractEncoder> getEncoder() { StringDeduplicatingKryoBackedEncoder } @Override Class<? extends AbstractDecoder> getDecoder() { StringDeduplicatingKryoBackedDecoder } def "serializes"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
protected final String arraySettingsIndexName; protected final String settingsId; protected final SuggestSettings settings; private static final Base64.Encoder encoder = Base64.getEncoder(); protected ArraySettings(final SuggestSettings settings, final Client client, final String settingsIndexName, final String settingsId) { this.settings = settings; this.client = client;
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
public final class SuggestUtil { private static final int MAX_QUERY_TERM_NUM = 5; private static final int MAX_QUERY_TERM_LENGTH = 48; private static final Base64.Encoder encoder = Base64.getEncoder(); private static final int ID_MAX_LENGTH = 445; private SuggestUtil() { } public static String createSuggestTextId(final String text) {
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 11.7K bytes - Viewed (0)