- Sort Score
- Result 10 results
- Languages All
Results 3051 - 3060 of 3,647 for findall (0.06 sec)
-
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) -
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) -
guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
import org.checkerframework.checker.nullness.qual.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier { @Nullable Object get() throws Throwable; } @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
import junit.framework.TestCase; /** * Unit test for FarmHashFingerprint64. * * @author Kyle Maddison * @author Geoff Pike */ public class FarmHashFingerprint64Test extends TestCase { private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64(); // If this test fails, all bets are off public void testReallySimpleFingerprints() { assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
* for your real time-limiter while you're debugging. * * @author Kevin Bourrillion * @author Jens Nyman * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public final class FakeTimeLimiter implements TimeLimiter { @CanIgnoreReturnValue // TODO(kak): consider removing this @Override public <T> T newProxy( T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * * @author mbechler * */ public class DcerpcBind extends DcerpcMessage { private static final String[] result_message = { "0", "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", "DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED" };
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0)