Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3071 - 3080 of 3,920 for extenders (0.06 sec)

  1. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

    import com.google.common.collect.ImmutableSet;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link SipHashFunction}.
     *
     * @author Kurt Alfred Kluever
     */
    public class SipHashFunctionTest extends TestCase {
    
      // From https://131002.net/siphash/siphash24.c
      // k = 00 01 02 ...
      private static final long K0 = 0x0706050403020100L;
      private static final long K1 = 0x0f0e0d0c0b0a0908L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionAddTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAdd_supportedNotPresent() {
        assertTrue("add(notPresent) should return true", collection.add(e3()));
        expectAdded(e3());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListAddAllAtIndexTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_supportedAllPresent() {
        assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link UnicodeEscaper}.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class UnicodeEscaperTest extends TestCase {
    
      private static final String SMALLEST_SURROGATE =
          "" + Character.MIN_HIGH_SURROGATE + Character.MIN_LOW_SURROGATE;
      private static final String LARGEST_SURROGATE =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

    /**
     * Tests for {@link ImmutableMultimap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableMultimapTest extends TestCase {
    
      @SuppressWarnings("JUnitIncompatibleType")
      public void testBuilder_withImmutableEntry() {
        ImmutableMultimap<String, Integer> multimap =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NodeStatusResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.netbios;
    
    
    import jcifs.Configuration;
    import jcifs.util.Strings;
    
    
    class NodeStatusResponse extends NameServicePacket {
    
        private NbtAddress queryAddress;
    
        private int numberOfNames;
        private byte[] macAddress;
        private byte[] stats;
    
        NbtAddress[] addressArray;
    
    
        /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbException.java

     * a newer varient such as Windows NT and above. If you should encounter
     * such a case, please report it to jcifs at samba dot org and we will
     * change the mapping.
     */
    
    public class SmbException extends IOException implements NtStatus, DosError, WinError {
    
        static String getMessageByCode( int errcode ) {
            /* Note there's a signedness error here because 0xC0000000 based values are
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

     *
     * @param <O> the type of {@link Options} used for this request, extending the base {@link Options} interface
     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public interface InvokerRequest<O extends Options> {
        /**
         * The parser request this instance was created from.
         */
        @Nonnull
        ParserRequest parserRequest();
    
        /**
         * Shorthand for {@link Logger} to use.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 08:06:47 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test for {@link FutureCallback}.
     *
     * @author Anthony Zana
     */
    @GwtCompatible
    public class FutureCallbackTest extends TestCase {
      public void testSameThreadSuccess() {
        SettableFuture<String> f = SettableFuture.create();
        MockCallback callback = new MockCallback("foo");
        addCallback(f, callback, directExecutor());
        f.set("foo");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

    /**
     * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, {@link
     * Object#hashCode} and {@link Object#toString}. For example:
     *
     * <pre>
     * class Unsupported extends AbstractInvocationHandler {
     *   protected Object handleInvocation(Object proxy, Method method, Object[] args) {
     *     throw new UnsupportedOperationException();
     *   }
     * }
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
Back to top