- Sort Score
- Result 10 results
- Languages All
Results 2921 - 2930 of 3,501 for final (0.02 sec)
-
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) -
src/main/java/jcifs/RuntimeCIFSException.java
* * These should only occur under very rare circumstances. * * @author mbechler * */ public class RuntimeCIFSException extends RuntimeException { /** * */ private static final long serialVersionUID = -2611196678846438579L; /** * */ public RuntimeCIFSException () { super(); } /** * @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) -
src/main/java/jcifs/ntlmssp/av/AvTargetName.java
import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; /** * @author mbechler * */ public class AvTargetName extends AvPair { /** * */ private static final Charset UTF16LE = StandardCharsets.UTF_16LE; /** * @param raw */ public AvTargetName ( byte[] raw ) { super(AvPair.MsvAvTargetName, raw); } /** *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* @since 14.0 */ public static ByteSink asByteSink(File file, FileWriteMode... modes) { return new FileByteSink(file, modes); } private static final class FileByteSink extends ByteSink { private final File file; private final ImmutableSet<FileWriteMode> modes; private FileByteSink(File file, FileWriteMode... modes) { this.file = checkNotNull(file);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
*/ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> { private static final ImmutableList<Method> testMethods = getTestMethods(CharSourceTester.class); static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) { TestSuite suite = new TestSuite(name);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0)