Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3251 - 3260 of 4,145 for extend (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

    /**
     * Unit test for {@link LinkedHashMultiset}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class LinkedHashMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

          }
    
          assertThat(graph.nodes()).hasSize(NUM_NODES);
          assertThat(graph.edges()).hasSize(NUM_EDGES);
          AbstractGraphTest.validateGraph(graph);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

    /**
     * Unit test for {@link Files#createTempDir}.
     *
     * @author Chris Nokleberg
     */
    
    @SuppressWarnings("deprecation") // tests of a deprecated method
    public class FilesCreateTempDirTest extends TestCase {
      public void testCreateTempDir() throws IOException {
        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheStatsTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link CacheStats}.
     *
     * @author Charles Fry
     */
    public class CacheStatsTest extends TestCase {
    
      public void testEmpty() {
        CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0);
        assertEquals(0, stats.requestCount());
        assertEquals(0, stats.hitCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    
    /**
     * 
     * @author mbechler
     *
     */
    public class Trans2FindFirst2 extends SmbComTransaction {
    
        // flags
    
        static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01;
        static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;
        static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    class Trans2GetDfsReferralResponse extends SmbComTransactionResponse {
    
        class Referral {
            private int version;
            private int size;
            private int serverType;
            private int flags;
            private int proximity;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

    import org.codelibs.core.exception.InterruptedRuntimeException;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.request.Response;
    
    public class Deferred<RESPONSE extends Response> {
        private RESPONSE response = null;
    
        private Throwable error = null;
    
        private final Promise promise = new Promise();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class CrawlerClientFactoryTest extends PlainTestCase {
        public CrawlerClientFactory clientFactory;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Service used to interact with the end user.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Prompter extends Service {
        /**
         * Prompts the user for a string.
         *
         * @param message the message to display to the user
         * @return the string entered by the user
         * @throws PrompterException if an exception occurs
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top