- Sort Score
- Result 10 results
- Languages All
Results 1501 - 1510 of 2,036 for wong (0.01 sec)
-
android/guava/src/com/google/common/io/ByteSink.java
* input}. * * @return the number of bytes written * @throws IOException if an I/O occurs while reading from {@code input} or writing to this sink */ @CanIgnoreReturnValue public long writeFrom(InputStream input) throws IOException { checkNotNull(input); try (OutputStream out = openStream()) { return ByteStreams.copy(input, out); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
* input}. * * @return the number of bytes written * @throws IOException if an I/O occurs while reading from {@code input} or writing to this sink */ @CanIgnoreReturnValue public long writeFrom(InputStream input) throws IOException { checkNotNull(input); try (OutputStream out = openStream()) { return ByteStreams.copy(input, out); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
// Length is 10 bytes, so expected string length is 5 characters PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100); String testString = "too-long"; // Length is 8 // Expect a PACDecodingException to be thrown PACDecodingException exception = assertThrows(PACDecodingException.class, () -> { pacString.check(testString);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
for (Entry<Range<K>, V> entry : mapOfRanges.entrySet()) { builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } @J2ktIncompatible private static final long serialVersionUID = 0; } Object writeReplace() { return new SerializedForm<>(asMapOfRanges()); } @J2ktIncompatible // java.io.ObjectInputStream
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
assertEquals("ABC-456", ((TestAnalyzeToken) tokens.get(1)).getReading()); } @Test public void testAnalyzeWithLongText() { // Test analyze with long text StringBuilder sb = new StringBuilder(); for (int i = 0; i < 100; i++) { sb.append("word").append(i).append(" "); } String text = sb.toString();
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
stream.sink.flush() responseSent.countDown() } } fun exhaustResponse() = apply { actions += { stream -> stream.sink.close() } } fun sleep( duration: Long, unit: TimeUnit, ) = apply { actions += { Thread.sleep(unit.toMillis(duration)) } } override fun handle(socket: Socket) { val task = serviceSocketTask(socket.asBufferedSocket())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) { Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone()); assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes); for (int i : indexes) { assertWithMessage("Mismatch between %s and %s at %s", algorithm, REFERENCE_ALGORITHM, i) .that(quantiles.get(i))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ImmediateFuture.java
// TODO(lukes): Consider throwing InterruptedException when appropriate. @Override @ParametricNullness public V get() { return value; } @Override @ParametricNullness public V get(long timeout, TimeUnit unit) throws ExecutionException { checkNotNull(unit); return get(); } @Override public boolean isCancelled() { return false; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java
/** * Exception thrown when a {@link Constructor} cannot be found. * * @author higa */ public class ConstructorNotFoundRuntimeException extends ClRuntimeException { private static final long serialVersionUID = 8584662068396978822L; /** * The target class. */ private final Class<?> targetClass; /** * The method arguments. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java
static final int BATCH_OPLOCK_GRANTED = 2; static final int LEVEL_II_OPLOCK_GRANTED = 3; byte oplockLevel; int fid, createAction, extFileAttributes, fileType, deviceState; long creationTime, lastAccessTime, lastWriteTime, changeTime, allocationSize, endOfFile; boolean directory; boolean isExtended; SmbComNTCreateAndXResponse() { } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0)