Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Erling (0.18 sec)

  1. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/bug_report.yaml

    name: Bug Report
    description: Something is not working as expected
    labels: ["type=defect"]
    body:
      - type: markdown
        attributes:
          value: >
            Thank you for filing a bug report. Please help us identify and resolve the bug by filling
            out the following fields.
    
      - type: textarea
        attributes:
          label: Description
          description: Please describe the issue you encountered.
        validations:
          required: true
    
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

    name: Feature Enhancement Request
    description: I want to make an existing feature better
    labels: ["type=enhancement"]
    body:
      - type: markdown
        attributes:
          value: >
            Filing feature requests is one of the most popular ways to contribute to Guava.
    
    
            Be aware, though: most feature requests are not accepted, even if they're suggested by
            a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from our
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EvictingQueue.java

     * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO
     * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e.,
     * cyclic buffer or ring buffer).
     *
     * <p>An evicting queue must be configured with a maximum size. Each time an element is added to a
     * full queue, the queue automatically removes its head element. This is different from conventional
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Interners.java

                return result;
              }
            }
    
            // didn't see it, trying to put it instead...
            Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
          latch.countDown();
        }
      }
    
      /**
       * Tests that a canceled future throws a cancellation exception.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

    name: Feature Addition Request
    description: I want to add a new feature
    labels: ["type=addition"]
    body:
      - type: markdown
        attributes:
          value: >
            Filing feature requests is one of the most popular ways to contribute to Guava.
    
    
            Be aware, though: most feature requests are not accepted, even if they're suggested by
            a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from our
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top