Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 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. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertTrue(enforceVersion("[2.0,2.1]", actualVersion));
            assertFalse(enforceVersion("[2.0,2.0.3]", actualVersion));
            assertTrue(enforceVersion("[2.0,2.0.5]", actualVersion));
            assertFalse(enforceVersion("[2.0,2.0.5)", actualVersion));
        }
    
        public boolean enforceVersion(String requiredVersionRange, ArtifactVersion actualVersion)
                throws InvalidVersionSpecificationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. docs/fr/docs/tutorial/path-params-numeric-validations.md

    Ainsi, `0.5` serait une valeur valide. Mais `0.0` ou `0` ne le serait pas.
    
    Et la même chose pour <abbr title="less than"><code>lt</code></abbr>.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:32:37 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. .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)
  10. 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)
Back to top