- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 463 for GetBytes (0.28 sec)
-
platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/IntegrationTestSamplesExecutor.java
ExecutionFailure result = executer.runWithFailure(); outputStream.write((result.getOutput() + result.getError()).getBytes()); } else { ExecutionResult result = executer.run(); outputStream.write(result.getOutput().getBytes()); if (shouldCheckLoadingFromConfigurationCache()) { rerunReusingStoredConfigurationCacheEntry(args, flags);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded); } private static void testEncodesWithOffset( BaseEncoding encoding, String decoded, int offset, int len, String encoded) { assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 24.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/FilterChainTest.java
FilterChain filterChainWithCharset = new FilterChain(charset); filterChainWithCharset.expand(WrapUtil.toMap("prop", 1), escapeBackslashProperty()); byte[] source = "éàüî $prop".getBytes(charset); InputStream transformedInputStream = filterChainWithCharset.transform(new ByteArrayInputStream(source)); String actualResult = new String(ByteStreams.toByteArray(transformedInputStream), charset);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 20 13:25:37 UTC 2021 - 6.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/streams/ExecOutputHandleRunnerTest.groovy
def action = Mock(TextStream) def lineSeparator = SystemProperties.instance.lineSeparator def output = new LineBufferingOutputStream(action, lineSeparator) def input = new ByteArrayInputStream(text.getBytes("utf-8")) def runner = new ExecOutputHandleRunner("test", input, output, bufferLength, new CountDownLatch(1)) when: runner.run() then: 1 * action.text(text1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 08 14:24:34 UTC 2021 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.3K bytes - Viewed (0) -
tests/fuzz/inject_fuzzer.go
if err != nil { return 0 } meshYaml, err := f.GetString() if err != nil { return 0 } mc, err := mesh.ApplyMeshConfigDefaults(meshYaml) if err != nil { return 0 } inData, err := f.GetBytes() if err != nil { return 0 } in := bytes.NewReader(inData) var got bytes.Buffer warn := func(s string) {} revision, err := f.GetString() if err != nil { return 0 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 20 06:17:08 UTC 2022 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvTargetName.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestCharSource.java
private final TestByteSource byteSource; public TestCharSource(String content, TestOption... options) { this.byteSource = new TestByteSource(content.getBytes(UTF_8), options); } @Override public boolean wasStreamOpened() { return byteSource.wasStreamOpened(); } @Override public boolean wasStreamClosed() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Nov 09 21:39:24 UTC 2012 - 1.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java
this.statusCode = statusCode; } @Override public void writeTo(int requestId, HttpExchange exchange) throws IOException { byte[] bytes = content.getBytes(Charsets.UTF_8); exchange.sendResponseHeaders(statusCode, bytes.length); exchange.getResponseBody().write(bytes); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
} }; File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); SingletonLaContainerFactory.getContainer().register(systemProps, "systemProperties");
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K bytes - Viewed (0)