Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for coreit (0.17 sec)

  1. CONTRIBUTING.md

      4. Please squash all commits for a change into a single commit (this can be
         done using `git rebase -i`). Do your best to have a
         [well-formed commit message][] for the change.
    
    [Java style guide]: https://google.github.io/styleguide/javaguide.html
    [well-formed commit message]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
    
    #### Merging pull requests ####
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        List<String> expectedEvents = Lists.newArrayList();
        expectedEvents.add(EVENT);
        expectedEvents.add(EVENT);
    
        assertEquals("Two correct events should be delivered.", expectedEvents, catcher1.getEvents());
    
        assertEquals(
            "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents());
    
        bus.unregister(catcher1);
        bus.post(EVENT);
    
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        List<String> expectedEvents = Lists.newArrayList();
        expectedEvents.add(EVENT);
        expectedEvents.add(EVENT);
    
        assertEquals("Two correct events should be delivered.", expectedEvents, catcher1.getEvents());
    
        assertEquals(
            "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents());
    
        bus.unregister(catcher1);
        bus.post(EVENT);
    
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.stable()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
      public void hasEdgeConnecting_directed_correct() {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(1, 2))).isTrue();
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        // First ensure that our classloaders are initializing the correct helper versions
        checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper");
        checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
    
        // Run the corresponding FuturesTest test method in a new classloader that disallows
        // certain core jdk classes.
        ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertEquals("Correct string should be delivered.", EVENT, holder.get());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/SmallCharMatcher.java

       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
        while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumBiMap.java

       * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance.
       *
       * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller
       * calls `create(Foo.class)`, rather than `create(map)`. That's fine; we just shouldn't rely on
       * it.
       */
      transient Class<K> keyTypeOrObjectUnderJ2cl;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

      /*
       * One of the key challenges of this class is to prevent lost signals, while trying hard to
       * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter
       * with a satisfied guard (if one exists) whenever any thread occupying the monitor exits the
       * monitor, either by unlocking all of its held locks, or by starting to wait for a guard. This
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected abstract I newTargetIterator();
    
      /**
       * Override this to verify anything after running a list of Stimuli.
       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top