- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 200 for out (0.12 sec)
-
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
ByteArrayDataOutput out = ByteStreams.newDataOutput(4); out.writeInt(0x12345678); out.writeInt(0x76543210); assertThat(out.toByteArray()).isEqualTo(bytes); } public void testNewDataOutput_writeLong() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.writeLong(0x1234567876543210L); assertThat(out.toByteArray()).isEqualTo(bytes); } public void testNewDataOutput_writeByteArray() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
assertTrue(source.wasStreamOpened()); assertFalse(source.wasStreamClosed()); ByteArrayOutputStream out = new ByteArrayOutputStream(); ByteStreams.copy(in, out); in.close(); out.close(); assertTrue(source.wasStreamClosed()); assertArrayEquals(bytes, out.toByteArray()); } public void testSize() throws IOException { assertEquals(bytes.length, source.size());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
} for (CharSink out : BROKEN_SINKS) { runFailureTest(newNormalCharSource(), out); assertTrue(logHandler.getStoredLogRecords().isEmpty()); runFailureTest(BROKEN_CLOSE_SOURCE, out); assertEquals(1, getAndResetRecords(logHandler)); } for (CharSource in : BROKEN_SOURCES) { for (CharSink out : BROKEN_SINKS) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
} public void testCopyToOutputStream() throws IOException { File i18nFile = getTestFile("i18n.txt"); ByteArrayOutputStream out = new ByteArrayOutputStream(); Files.copy(i18nFile, out); assertEquals(I18N, out.toString("UTF-8")); } public void testCopyToAppendable() throws IOException { File i18nFile = getTestFile("i18n.txt"); StringBuilder sb = new StringBuilder();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
List<E> extremeValues = new ArrayList<>(); // nulls are usually out of bounds for a subset, so ban them altogether for (Object o : elements) { if (o == null) { throw new NullPointerException(); } } // prepare extreme values to be filtered out of view E firstExclusive = delegate.belowSamplesGreater();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 18.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
assertTrue(scheduler.containsKey("running")); isRunning = (Boolean) scheduler.get("running"); } if (300 <= count) { logger.info("Time out: Failed to start crawler)"); fail(); // Time Out } logger.info("Crawler is running"); count = 0; isRunning = true; while (count < 300 && isRunning) { // Wait until the crawler terminates
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
i++; } } clearSeenExceptions(); handleAllCompleted(); /* * Null out fields, including some used in handleAllCompleted() above (like * `CollectionFuture.values`). This might be a no-op: If this future completed during * handleAllCompleted(), they will already have been nulled out. But in the case of * whenAll*().call*(), this future may be pending until the callback runs -- or even longer in
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 15.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
* to process and store tracking information ONLY into local repository, not to any other place. This method * filters out currently built artifacts, as events are fired for them as well, but their resolved artifact * file would point to checked out source-tree, not the local repository. * <p> * Visible for testing. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Apr 12 11:08:37 GMT 2023 - 9.8K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
forEachJavaProcess(psOutput, commandLineArgsPattern, (pid, line) -> { System.out.println("Killing Gradle process with PID " + pid + ": " + line); pkill(pid); }); } else { forEachLeakingJavaProcess(rootProjectDir, (pid, line) -> { System.out.println("A process wasn't shutdown properly in a previous Gradle run. Killing process with PID " + pid + ": " + line);
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 26 09:46:00 GMT 2024 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
byte[] out = this.transportContext.getBufferCache().getBuffer(); try { NdrBuffer buf = encodeMessage(msg, out); int off = sendFragments(msg, out, buf); // last fragment gets written (possibly) using transact/call semantics int have = doSendReceiveFragment(out, off, msg.length, inB); if ( have != 0 ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jun 30 10:11:57 GMT 2019 - 12.9K bytes - Viewed (0)