Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,488 for remote (0.06 sec)

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

      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testEquals_differentElements() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.remove(e0());
        other.add(e3());
        assertFalse("multiset equals a multiset with different elements", getMultiset().equals(other));
      }
    
      @CollectionSize.Require(ZERO)
      public void testHashCode_size0() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

     *
     * @author David Richter
     */
    public class IteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      // use concrete classes to remove any possible polymorphic overhead?
      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        } catch (IOException e) {
          return new MockResponse()
              .setResponseCode(400)
              .setBody("code exchange failed: " + e.getMessage());
        }
    
        synchronized (this) {
          listeners.remove(state);
        }
    
        // Success!
        return new MockResponse()
            .setResponseCode(302)
            .addHeader("Location", "https://twitter.com/CuteEmergency/status/789457462864863232");
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                        for (int i = 0; i < 100; i++) {
                          set.add("extra" + i);
                        }
                        for (int i = 0; i < 100; i++) {
                          set.remove("extra" + i);
                        }
                        set.trimToSize();
                        return set;
                      }
                    })
                .named("CompactHashSet#TrimToSize")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testEquals_differentElements() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.remove(e0());
        other.add(e3());
        assertFalse("multiset equals a multiset with different elements", getMultiset().equals(other));
      }
    
      @CollectionSize.Require(ZERO)
      public void testHashCode_size0() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

            sitemapsLocal.set(sitemaps);
        }
    
        public String[] removeSitemaps() {
            final String[] sitemaps = sitemapsLocal.get();
            if (sitemaps != null) {
                sitemapsLocal.remove();
            }
            return sitemaps;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 4));
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 1));
        assertThat(multimap.keySet()).contains("cow");
        multimap.put("bar", 9);
        assertThat(multimap.keySet()).containsExactly("cow", "bar").inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

         * instance construction.
         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
        // TODO This is too early for build extensions, so maybe just remove it?
        public void afterSessionStart(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after all projects were built.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

        assertThat(mapCache.put(fooReference1, "bar")).isNull();
        assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached
        assertThat(mapCache.remove(fooReference2)).isEqualTo("bar");
        assertThat(mapCache.get(fooReference1)).isNull();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/UndirectedGraphConnections.java

      public void removePredecessor(N node) {
        @SuppressWarnings("unused")
        V unused = removeSuccessor(node);
      }
    
      @Override
      @CheckForNull
      public V removeSuccessor(N node) {
        return adjacentNodeValues.remove(node);
      }
    
      @Override
      public void addPredecessor(N node, V value) {
        @SuppressWarnings("unused")
        V unused = addSuccessor(node, value);
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top