Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 856 for Given (0.26 sec)

  1. guava/src/com/google/common/collect/Comparators.java

       * @since 30.0
       */
      public static <T extends Comparable<? super T>> T min(T a, T b) {
        return (a.compareTo(b) <= 0) ? a : b;
      }
    
      /**
       * Returns the minimum of the two values, according to the given comparator. If the values compare
       * as equal, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * Returns an immutable set instance containing the given enum elements. Internally, the returned
       * set will be backed by an {@link EnumSet}.
       *
       * <p>The iteration order of the returned set follows the enum's iteration order, not the order in
       * which the elements appear in the given collection.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

        class BindOperationTests {
    
            @Test
            @DisplayName("Should execute bind operation successfully")
            void testBindSuccess() throws DcerpcException, IOException {
                // Given: Spy to intercept sendrecv calls
                TestDcerpcHandle spyHandle = spy(new TestDcerpcHandle(mockContext, mockBinding));
                doNothing().when(spyHandle).sendrecv(any(DcerpcMessage.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeFieldsAndCallSuper() {
            // Given
            int access = 0x01; // Example access value
    
            // When
            MsrpcSamrOpenDomain msrpcSamrOpenDomain = new MsrpcSamrOpenDomain(mockHandle, access, mockSid, mockDomainHandle);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        }
        while (reversedList != null) {
          executeListener(reversedList.runnable, reversedList.executor);
          reversedList = reversedList.next;
        }
      }
    
      /**
       * Submits the given runnable to the given {@link Executor} catching and logging all {@linkplain
       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

        // e.g. using Thread#activeCount()
        return max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

       * Callable}.
       *
       * @param callable the callable task
       * @since 10.0
       */
      public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) {
        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      /** Returns an iterable whose iterator returns the given elements in order. */
      public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) {
        // Make sure to get an unmodifiable iterator
        return new MinimalIterable<>(asList(elements).iterator());
      }
    
      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

     */
    @Experimental
    public interface DependencyResolver extends Service {
    
        /**
         * Collects the transitive dependencies of some artifacts and builds a dependency graph for the given path scope.
         * Note that this operation is only concerned about determining the coordinates of the transitive dependencies and
         * does not actually resolve the artifact files.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top