Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 844 for halse (0.13 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        }
        if (!(object instanceof ImmutableDoubleArray)) {
          return false;
        }
        ImmutableDoubleArray that = (ImmutableDoubleArray) object;
        if (this.length() != that.length()) {
          return false;
        }
        for (int i = 0; i < length(); i++) {
          if (!areEqual(this.get(i), that.get(i))) {
            return false;
          }
        }
        return true;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        System.clearProperty("guava.concurrent.generate_cancellation_cause");
      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
        assertNull(tryInternalFastPathGetFailure(future));
        CancellationException e = assertThrows(CancellationException.class, () -> future.get());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

      }
    
      public void testCancel() {
        SettableFuture<String> f = SettableFuture.create();
        FutureCallback<String> callback =
            new FutureCallback<String>() {
              private boolean called = false;
    
              @Override
              public void onSuccess(String result) {
                fail("Was not expecting onSuccess() to be called.");
              }
    
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public @Nullable E floor(E e) {
        return delegate.floor(checkValid(e));
      }
    
      @Override
      public SortedSet<E> headSet(E toElement) {
        return headSet(toElement, false);
      }
    
      @Override
      public NavigableSet<E> headSet(E toElement, boolean inclusive) {
        return new SafeTreeSet<>(delegate.headSet(checkValid(toElement), inclusive));
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Throwables.java

        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).tailMap("three", false);
        assertThat(map.entrySet()).containsExactly(Maps.immutableEntry("two", 2));
      }
    
      public void testSubMapExclusiveExclusive() {
        Map<String, Integer> map =
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).subMap("one", false, "two", false);
        assertThat(map.entrySet()).containsExactly(Maps.immutableEntry("three", 3));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

        return incidentEdgeOrder;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean addNode(N node) {
        checkNotNull(node, "node");
    
        if (containsNode(node)) {
          return false;
        }
    
        addNodeInternal(node);
        return true;
      }
    
      /**
       * Adds {@code node} to the graph and returns the associated {@link GraphConnections}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection()));
        expectUnchanged();
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(n, nothing) should return false or throw",
              getList().addAll(0, emptyCollection()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (1)
  10. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
    
        /** Two-arg method with no Nullable params. */
        @SuppressWarnings("GoodTime") // false positive; b/122617528
        public void normalNormal(String first, Integer second) {
          reactToNullParameters(first, second);
        }
    
        /** Two-arg method with the second param Nullable. */
        @SuppressWarnings("GoodTime") // false positive; b/122617528
        public void normalNullable(String first, @Nullable Integer second) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
Back to top