Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1621 - 1630 of 3,758 for null (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<@Nullable String> list = newArrayList("a", null, "b", null, "a", null);
        assertEquals(2, frequency(list.iterator(), "a"));
        assertEquals(1, frequency(list.iterator(), "b"));
        assertEquals(0, frequency(list.iterator(), "c"));
        assertEquals(0, frequency(list.iterator(), 4.2));
        assertEquals(3, frequency(list.iterator(), null));
      }
    
      @GwtIncompatible // slow (~4s)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  2. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

            "defaults": {
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "semi-dark-red",
                    "value": 80
                  }
                ]
              }
            },
            "overrides": []
          },
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Aug 04 01:46:49 UTC 2025
    - 101.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

        assertTrue("An Object should be equal to itself.", collection.equals(collection));
      }
    
      // Comparisons to null *are* defined.
      @SuppressWarnings("UndefinedEquals")
      public void testEquals_null() {
        // noinspection ObjectEqualsNull
        assertFalse("An object should not be equal to null.", collection.equals(null));
      }
    
      // A collection should essentially never be equal to a non-collection.
      @SuppressWarnings("UndefinedEquals")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        toPut.put(null, 1);
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, Arrays.asList(1, 2, 3)));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, 1, 2, 3));
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      val sections = sections(withoutSectionSpans)
    
      val rangesBuffer = Buffer()
      val mappingsBuffer = StringBuilder()
      val sectionIndexBuffer = Buffer()
    
      var previousMappedRanges: List<MappedRange>? = null
    
      for ((section, sectionMappedRanges) in sections) {
        // Skip sequential ranges when they are equal.
        if (sectionMappedRanges == previousMappedRanges) continue
        previousMappedRanges = sectionMappedRanges
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       *
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      @Override
      protected final char @Nullable [] escape(char c) {
        if (c < replacementsLength) {
          char[] chars = replacements[c];
          if (chars != null) {
            return chars;
          }
        }
        if (c >= safeMin && c <= safeMax) {
          return null;
        }
        return escapeUnsafe(c);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ObjectArrays.java

       * elements than the collection), the element in the array immediately following the end of the
       * collection is set to {@code null}. This is useful in determining the length of the collection
       * <i>only</i> if the caller knows that the collection does not contain any null elements.
       *
       * <p>This method returns the elements in the order they are returned by the collection's
       * iterator.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. mvnw

    if [ -n "$wrapperSha256Sum" ]; then
      wrapperSha256Result=false
      if command -v sha256sum >/dev/null; then
        if echo "$wrapperSha256Sum  $wrapperJarPath" | sha256sum -c >/dev/null 2>&1; then
          wrapperSha256Result=true
        fi
      elif command -v shasum >/dev/null; then
        if echo "$wrapperSha256Sum  $wrapperJarPath" | shasum -a 256 -c >/dev/null 2>&1; then
          wrapperSha256Result=true
        fi
      else
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                 * based on the configured remote repos.
                 */
                MavenSession session = legacySupport.getSession();
                if (session != null) {
                    MavenExecutionRequest req = session.getRequest();
                    if (req != null) {
                        request.setActiveProfileIds(req.getActiveProfiles());
                        request.setInactiveProfileIds(req.getInactiveProfiles());
                    }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CloserTest.java

      }
    
      public void testExceptionThrown_whenCreatingCloseables() throws IOException {
        Closer closer = new Closer(suppressor);
    
        TestCloseable c1 = null;
        TestCloseable c2 = null;
        TestCloseable c3 = null;
        try {
          try {
            c1 = closer.register(TestCloseable.normal());
            c2 = closer.register(TestCloseable.normal());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top