- Sort Score
- Result 10 results
- Languages All
Results 2921 - 2930 of 3,920 for extenders (0.07 sec)
-
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
import java.util.zip.Checksum; import junit.framework.TestCase; /** * Tests for ChecksumHashFunction. * * @author Colin Decker */ public class ChecksumHashFunctionTest extends TestCase { public void testCrc32_equalsChecksumValue() throws Exception { assertChecksum(CRC_32, ""); assertChecksum(CRC_32, "Z"); assertChecksum(CRC_32, "foobar"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 30 14:33:12 UTC 2018 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
import junit.framework.TestCase; /** * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all * returning more-or-less the same answers. */ public class QuantilesAlgorithmTest extends TestCase { private static final Random RNG = new Random(82674067L); private static final int DATASET_SIZE = 1000; private static final double ALLOWED_ERROR = 1.0e-10;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
* time, this interface will be officially discouraged. * * @author Harry Heymann * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface Supplier<T extends @Nullable Object> { /** * Retrieves an instance of the appropriate type. The returned object may or may not be a new * instance, depending on the implementation. * * @return an instance of the appropriate type
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 15 12:15:07 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
* @author Chris Povirk */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapHashCodeTester<K, V> extends AbstractMapTester<K, V> { public void testHashCode() { int expectedHashCode = 0; for (Entry<K, V> entry : getSampleEntries()) { expectedHashCode += hash(entry); } assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java
* @author Chris Povirk */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetCreationTester<E> extends AbstractSetTester<E> { @CollectionFeature.Require(value = ALLOWS_NULL_VALUES, absent = REJECTS_DUPLICATES_AT_CREATION) @CollectionSize.Require(absent = {ZERO, ONE})
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapRemoveAllTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllAbsentKey() { assertEmpty(multimap().removeAll(k3())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
import java.io.IOException; import junit.framework.TestCase; /** * @author David Beaumont */ @GwtCompatible @ElementTypesAreNonnullByDefault public class ArrayBasedCharEscaperTest extends TestCase { private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of(); private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS = ImmutableMap.of(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 07 23:02:38 UTC 2024 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteArrayDataInput.java
* * @author Kevin Bourrillion * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public interface ByteArrayDataInput extends DataInput { @Override void readFully(byte b[]); @Override void readFully(byte b[], int off, int len); // not guaranteed to skip n bytes so result should NOT be ignored
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import java.io.UnsupportedEncodingException; class NetServerEnum2 extends SmbComTransaction { static final int SV_TYPE_ALL = 0xFFFFFFFF; static final int SV_TYPE_DOMAIN_ENUM = 0x80000000; static final String[] DESCR = { "WrLehDO\u0000B16BBDz\u0000",
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import java.util.Date; import jcifs.smb1.util.Hexdump; class SmbComNTCreateAndXResponse extends AndXServerMessageBlock { static final int EXCLUSIVE_OPLOCK_GRANTED = 1; static final int BATCH_OPLOCK_GRANTED = 2; static final int LEVEL_II_OPLOCK_GRANTED = 3; byte oplockLevel; int fid,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.6K bytes - Viewed (0)