- Sort Score
- Result 10 results
- Languages All
Results 2921 - 2930 of 3,503 for 1final (0.08 sec)
-
src/test/java/jcifs/tests/Strings.java
*/ package jcifs.tests; /** * @author mbechler * */ public class Strings { /** * from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/quickbrown.txt */ static final String[] UNICODE_STRINGS = new String[] { "da - jordbær fløde på", // x "de - Zwölf Boxkämpfer", // x "el - Γαζέες καὶ μυρτιὲς", // x "es - pingüino kilómetros frío, añoraba", // x
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
import java.util.concurrent.Future; import java.util.concurrent.TimeoutException; /** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible(emulated = true) final class TestPlatform { static void verifyGetOnPendingFuture(Future<?> future) { checkNotNull(future); try { pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS); fail();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
private static final class PickyIterable<E> implements Iterable<E> { final List<E> elements; int modCount = 0; PickyIterable(E... elements) { this.elements = new ArrayList<E>(asList(elements)); } @Override public Iterator<E> iterator() { return new PickyIterator(); } final class PickyIterator implements Iterator<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
public enum Value { INSTANCE; } public enum ListSizeDistribution { UNIFORM_0_TO_2(0, 2), UNIFORM_0_TO_9(0, 9), ALWAYS_0(0, 0), ALWAYS_10(10, 10); final int min; final int max; private ListSizeDistribution(int min, int max) { this.min = min; this.max = max; } public int chooseSize(Random random) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* period or an interrupt while waiting for the expected event will result in a {@link * RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * <pre>{@code * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java
// Hash functions found in //javatests for comparing against current implementation of CityHash. // These can probably be removed sooner or later. ; private final HashFunction hashFunction; private HashFunctionEnum(HashFunction hashFunction) { this.hashFunction = hashFunction; } HashFunction getHashFunction() { return hashFunction; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 1.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java
/** Never actually created; instead delegates to JdkBackedImmutableMultiset. */ @ElementTypesAreNonnullByDefault class RegularImmutableMultiset<E> extends ImmutableMultiset<E> { static final ImmutableMultiset<Object> EMPTY = JdkBackedImmutableMultiset.create(ImmutableList.of()); RegularImmutableMultiset() {} static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
public void testFinalizeDeletesFile() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); final File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 08 21:20:23 UTC 2023 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java
* * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public class UnmodifiableIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { final String[] array = {"a", "b", "c"}; Iterator<String> iterator = new UnmodifiableIterator<String>() { int i; @Override public boolean hasNext() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/CIFSUnsupportedCryptoException.java
* * @author mbechler * */ public class CIFSUnsupportedCryptoException extends RuntimeCIFSException { /** * */ private static final long serialVersionUID = -6350312430383107348L; /** * */ public CIFSUnsupportedCryptoException () {} /** * @param message * @param cause */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0)