- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 177 for ByteArrayInputStream (0.35 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarFileTree.java
import org.gradle.internal.file.Chmod; import org.gradle.internal.hash.FileHasher; import org.gradle.internal.hash.HashCode; import org.gradle.util.internal.GFileUtils; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Objects; import java.util.concurrent.atomic.AtomicBoolean; import static java.lang.String.format;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/service/LoadTargetTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/FilteringClassLoaderSpecSerializerTest.groovy
when: serializer.write(encoder, spec) encoder.flush() and: def decoder = new KryoBackedDecoder(new ByteArrayInputStream(outputStream.toByteArray())) def decodedSpec = serializer.read(decoder) then: decodedSpec == spec }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/HierarchicalClassLoaderStructureSerializerTest.groovy
when: serializer.write(encoder, classLoaderStructure) encoder.flush() and: def decoder = new KryoBackedDecoder(new ByteArrayInputStream(outputStream.toByteArray())) def decodedClassloaderStructure = serializer.read(decoder) then: decodedClassloaderStructure == classLoaderStructure }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/testFixtures/groovy/org/gradle/internal/serialize/SerializerSpec.groovy
return fromBytes(bytes, serializer) } <T> T fromBytes(byte[] bytes, Serializer<T> serializer) { return serializer.read(getDecoder().newInstance(new ByteArrayInputStream(bytes))) } <T> byte[] toBytes(T value, Serializer<T> serializer) { def bytes = new ByteArrayOutputStream() def encoder = getEncoder().newInstance(bytes)
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-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/HierarchicalNameSerializerTest.groovy
names.each { serializer.write(encoder, it) } } def bytes = out.toByteArray() def decoder = new KryoBackedDecoder(new ByteArrayInputStream(bytes)) def result = [] names.each { result << deserializer.read(decoder) } then: result == names
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import static org.codelibs.core.stream.StreamUtil.split; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net.Proxy; import java.nio.file.Files; import java.nio.file.Path;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
assertArgumentNotNull("contents", contents); if (encoding == null) { return new ByteArrayInputStream(contents.getBytes()); } try { return new ByteArrayInputStream(contents.getBytes(encoding)); } catch (final UnsupportedEncodingException ex) { throw new IORuntimeException(ex); } } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.pac.kerberos; import java.io.ByteArrayInputStream; import java.io.IOException; import javax.security.auth.kerberos.KerberosKey; import org.bouncycastle.asn1.*; import jcifs.pac.ASN1Util; import jcifs.pac.PACDecodingException;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasherTest.groovy
} static InputStream inputStream(String content) { return inputStream(content.bytes) } static InputStream inputStream(byte[] bytes) { return new ByteArrayInputStream(bytes) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 3K bytes - Viewed (0)