Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 955 for hege (0.13 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertNull(map.get(unmappedKey));
      }
    
      public void testGetNull() {
        Map<K, V> map = makeEitherMap();
        if (allowsNullKeys) {
          if (allowsNullValues) {
            // TODO: decide what to test here.
          } else {
            assertEquals(map.containsKey(null), map.get(null) != null);
          }
        } else {
          try {
            V unused = map.get(null);
          } catch (NullPointerException optional) {
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * that use {@code comparator} to determine the least and greatest elements.
       */
      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
       * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those also
       * expose a public Builder constructor that accepts "? super." So maybe we should do *that*
       * instead.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

        int size = stream.readInt();
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    
      // TODO(cpovirk): Should we have a serialVersionUID here?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  4. MIGRATION.md

    **Format**: NDJSON (Newline-Delimited JSON)
    
    **Example**:
    ```bash
    # Create NDJSON file
    cat > documents.ndjson << 'EOF'
    {"url":"http://example.com/page1","title":"Page 1","content":"Content here..."}
    {"url":"http://example.com/page2","title":"Page 2","content":"More content..."}
    EOF
    
    # Import via API
    curl -X PUT "http://localhost:8080/api/admin/documents/bulk" \
      -H "Content-Type: application/x-ndjson" \
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/TreeRangeSet.java

            if (rangeBelowLb.upperBound.compareTo(ubToAdd) >= 0) {
              // { < > }
              ubToAdd = rangeBelowLb.upperBound;
              /*
               * TODO(cpovirk): can we just "return;" here? Or, can we remove this if() entirely? If
               * not, add tests to demonstrate the problem with each approach
               */
            }
            lbToAdd = rangeBelowLb.lowerBound;
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

    @NullUnmarked
    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * shared state without additional synchronization necessary for visibility to later executions of
     * the life cycle methods.
     *
     * <h3>Usage Example</h3>
     *
     * <p>Here is a sketch of a service which crawls a website and uses the scheduling capabilities to
     * rate limit itself.
     *
     * {@snippet :
     * class CrawlingService extends AbstractScheduledService {
     *   private Set<Uri> visited;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/GraphsTest.java

      private static final String E34 = "3-4";
      private static final String E44 = "4-4";
      private static final int NODE_COUNT = 20;
      private static final int EDGE_COUNT = 20;
      // TODO(user): Consider adding both error messages from here and {@link AbstractNetworkTest}
      // in one class (may be a utility class for error messages).
      private static final String ERROR_PARALLEL_EDGE = "connected by a different edge";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:06 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *     ImmutableSortedMultiset#copyOf(Comparable[])}.</b>
       */
      @DoNotCall("Elements must be Comparable. (Or, pass a Comparator to orderedBy or copyOf.)")
      @Deprecated
      // The usage of "Z" here works around bugs in Javadoc (JDK-8318093) and JDiff.
      public static <Z> ImmutableSortedMultiset<Z> copyOf(Z[] elements) {
        throw new UnsupportedOperationException();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  10. fastapi/dependencies/utils.py

        elif field_info is None and depends is None:
            default_value = value if value is not inspect.Signature.empty else RequiredParam
            if is_path_param:
                # We might check here that `default_value is RequiredParam`, but the fact is that the same
                # parameter might sometimes be a path parameter and sometimes not. See
                # `tests/test_infer_param_optionality.py` for an example.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
Back to Top