Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 664 for Present (0.09 sec)

  1. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        wrappedSet.add(2);
        wrappedSet.add(3);
    
        copyOfWrappedSet = ImmutableSet.copyOf(wrappedSet);
        setToTest =
            InvalidatableSet.of(wrappedSet, () -> wrappedSet.contains(1), () -> 1 + "is not present");
      }
    
      @Test
      @SuppressWarnings("TruthSelfEquals")
      public void testEquals() {
        // sanity check on construction of copyOfWrappedSet
        assertThat(wrappedSet).isEqualTo(copyOfWrappedSet);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

    import com.google.caliper.Benchmark;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResource.java

         * @throws IOException if an I/O error occurs
         */
        SID getOwnerGroup() throws IOException;
    
        /**
         * Return the owner group SID for this file or directory
         *
         * @param resolve
         *            whether to resolve the group name
         * @return the owner group SID, <code>null</code> if not present
         * @throws IOException if an I/O error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

     *    one prefix (`www.publicobject.com`, `api.publicobject.com`). Be careful with this approach as
     *    no pinning will be enforced if additional prefixes are present, or if no prefixes are present.
     *
     * Note that any other form is unsupported. You may not use asterisks in any position other than
     * the leftmost label.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

    import okhttp3.internal.platform.Platform
    import okhttp3.internal.readFieldOrNull
    
    /**
     * Base Android reflection based SocketAdapter for the built in Android SSLSocket.
     *
     * It's assumed to always be present with known class names on Android devices, so we build
     * optimistically via [buildIfSupported].  But it also doesn't assume a compile time API.
     */
    class StandardAndroidSocketAdapter(
      sslSocketClass: Class<in SSLSocket>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/Network.java

       * @since 27.1
       */
      Set<E> edgesConnecting(EndpointPair<N> endpoints);
    
      /**
       * Returns the single edge that directly connects {@code nodeU} to {@code nodeV}, if one is
       * present, or {@code Optional.empty()} if no such edge exists.
       *
       * <p>In an undirected network, this is equal to {@code edgeConnecting(nodeV, nodeU)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/bug_report.yaml

        attributes:
          value: >
            Thank you for filing a bug report. Please help us identify and resolve the bug by filling
            out the following fields. Before we begin, please make sure that the bug is still present in
            the [latest](https://github.com/google/guava/releases/latest) version of Guava available.
            If it's already fixed in the latest version of Guava, then please just update your Guava
            version instead.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 16 20:08:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

    public class SetAddTester<E> extends AbstractSetTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertFalse("add(present) should return false", getSet().add(e0()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Chars.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code char} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top