Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for 05 (0.04 sec)

  1. android/guava/src/com/google/common/base/Optional.java

       *
       * <pre>{@code
       * Optional<Integer> optionalInt = getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // error
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
       * Optional<? extends Number> first = numbers.first();
       * Number value = first.or(0.5); // error
       * }</pre>
       *
       * <p>As a workaround, it is always safe to cast an {@code Optional<? extends T>} to {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. .github/workflows/release-branch-cherrypick.yml

        - name: Create Pull Request with changes
          uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
          with:
            title: '${{ github.event.inputs.release_branch }} cherry-pick: ${{ steps.cherrypick.outputs.SHORTSHA }} "${{ steps.cherrypick.outputs.TITLE }}"'
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
        List<Element> queryList = Lists.newArrayListWithCapacity(numQueries);
    
        int numGoodQueries = (int) (numQueries * hitRate + 0.5);
    
        // add good queries
        int size = elementsInSet.size();
        if (size > 0) {
          int minCopiesOfEachGoodQuery = numGoodQueries / size;
          int extras = numGoodQueries % size;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
        List<Element> queryList = Lists.newArrayListWithCapacity(numQueries);
    
        int numGoodQueries = (int) (numQueries * hitRate + 0.5);
    
        // add good queries
        int size = elementsInSet.size();
        if (size > 0) {
          int minCopiesOfEachGoodQuery = numGoodQueries / size;
          int extras = numGoodQueries % size;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertReverseView(fromList, toList);
      }
    
      private static void assertReverseView(List<Integer> fromList, List<Integer> toList) {
        /* fromList modifications reflected in toList */
        fromList.set(0, 5);
        assertEquals(asList(4, 3, 2, 5), toList);
        fromList.add(6);
        assertEquals(asList(6, 4, 3, 2, 5), toList);
        fromList.add(2, 9);
        assertEquals(asList(6, 4, 3, 9, 2, 5), toList);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ListsTest.java

        assertReverseView(fromList, toList);
      }
    
      private static void assertReverseView(List<Integer> fromList, List<Integer> toList) {
        /* fromList modifications reflected in toList */
        fromList.set(0, 5);
        assertEquals(asList(4, 3, 2, 5), toList);
        fromList.add(6);
        assertEquals(asList(6, 4, 3, 2, 5), toList);
        fromList.add(2, 9);
        assertEquals(asList(6, 4, 3, 9, 2, 5), toList);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. .github/workflows/update-rbe.yml

            map sigbuild-r2.17-clang-python3.12 2.17-python3.12
        - name: Create Pull Request with changes
          uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
          with:
            title: Update the RBE images to the latest container versions
            committer: TensorFlow Release Automation <******@****.***>
            token: ${{ secrets.JENKINS_TOKEN }}
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/RangeTest.java

            }
          };
    
      public void testCanonical() {
        assertEquals(Range.closedOpen(1, 5), Range.closed(1, 4).canonical(integers()));
        assertEquals(Range.closedOpen(1, 5), Range.open(0, 5).canonical(integers()));
        assertEquals(Range.closedOpen(1, 5), Range.closedOpen(1, 5).canonical(integers()));
        assertEquals(Range.closedOpen(1, 5), Range.openClosed(0, 4).canonical(integers()));
    
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. README.md

    * Then click on the "Execute" button, the user interface will communicate with your API, send the parameters, get the results and show them on the screen:
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-05-swagger-04.png)
    
    ### Alternative API docs upgrade
    
    And now, go to <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are not
        list.set(0, 5);
    
        assertEquals(ImmutableList.of(3, 4), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top