- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,165 for out1 (0.02 seconds)
-
guava-tests/test/com/google/common/io/TestOutputStream.java
private final ImmutableSet<TestOption> options; private boolean closed; public TestOutputStream(OutputStream out, TestOption... options) throws IOException { this(out, Arrays.asList(options)); } public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException { super(checkNotNull(out)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); } public boolean closed() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(model, "model cannot be null"); try (Writer out = output) { new MavenXpp3Writer().write(out, model); } } @Override public void write(OutputStream output, Map<String, Object> options, Model model) throws IOException {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Arrange - generic return type respected when(tree.send(request)).thenReturn(response); // Act CommonServerMessageBlockResponse out = tree.send(request); // Assert assertSame(response, out); verify(tree).send(request); } @Test @DisplayName("send with multiple params returns the stubbed response")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
double avgReleaseTimeNs = totalReleaseTime.get() / (double) releases.get(); System.out.printf("Buffer Cache Performance: %d allocs, %d releases in %.2f ms%n", allocations.get(), releases.get(), overallTimeMs); System.out.printf(" Avg allocation time: %.2f ns%n", avgAllocTimeNs); System.out.printf(" Avg release time: %.2f ns%n", avgReleaseTimeNs);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt
fun ExecOperations.execAndGetStdout(workingDir: File, ignoreExitValue: Boolean, vararg args: String): String { val out = ByteArrayOutputStream() exec { isIgnoreExitValue = ignoreExitValue commandLine(*args) standardOutput = out this.workingDir = workingDir } return out.toString().trim() }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon May 19 11:33:57 GMT 2025 - 965 bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java
PrintStream out = System.out; for (String message = reader.readLine(); message != null; message = reader.readLine()) { if (message.startsWith(" 1> ")) { out = System.out; } else if (message.startsWith(" 2> ")) { out = System.err; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
@Override public ByteSource createSource(byte[] bytes) throws IOException { checkNotNull(bytes); File file = createFile(); OutputStream out = new FileOutputStream(file); try { out.write(bytes); } finally { out.close(); } return Files.asByteSource(file); } @Override public byte[] getExpected(byte[] bytes) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
// Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3 byte[] out = new byte[12]; SMBUtil.writeInt4(1, out, 0); SMBUtil.writeInt4(2, out, 4); SMBUtil.writeInt4(3, out, 8); byte[] body = buildIoctlResponseBody(Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, new byte[16], 0, null, out.length, out, 0x1234); byte[] packet = new byte[header.length + body.length];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/IndexedIterator.java
* System.out.println(indexed.getIndex()); * System.out.println(indexed.getElement()); * } * </pre> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * import static org.codelibs.core.io.LineIterator.*; * * BufferedReader reader = ...; * for (Indexed<String> indexed : indexed(iterable(reader))) { * System.out.println(indexed.getIndex());
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.3K bytes - Click Count (0)