Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for argparse (0.52 sec)

  1. ci/official/utilities/extract_resultstore_links.py

    
    class InvokeStatus:
      tests_failed = 'tests_failed'
      build_failed = 'build_failed'
      passed = 'passed'
    
    
    def parse_args() -> argparse.Namespace:
      """Parses the commandline args."""
      parser = argparse.ArgumentParser(
          description='Extracts ResultStore links from a build log.\n'
                      'These can be then printed out, and/or output into a '
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. bin/diff_yaml.py

    # limitations under the License.
    #
    # Compare 2 multi document kubernetes yaml files
    # It ensures that order does not matter
    #
    from __future__ import print_function
    import argparse
    import datadiff
    import sys
    import yaml  # pyyaml
    
    # returns fully qualified resource name of the k8s resource
    
    
    def by_resource_name(res):
        if res is None:
            return ""
    
    Python
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  3. kotlin-js-store/yarn.lock

      dependencies:
        normalize-path "^3.0.0"
        picomatch "^2.0.4"
    
    argparse@^2.0.1:
      version "2.0.1"
      resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
      integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  4. configure.py

    # limitations under the License.
    # ==============================================================================
    """configure script to get build parameters from user."""
    
    import argparse
    import errno
    import glob
    import json
    import os
    import platform
    import re
    import subprocess
    import sys
    
    # pylint: disable=g-import-not-at-top
    try:
      from shutil import which
    except ImportError:
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

          return null;
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(String input) {
        assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input));
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(float expected, String input) {
        assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        tryParseAndAssertEquals(LEAST, Integer.toString(LEAST));
        assertThat(Ints.tryParse("")).isNull();
        assertThat(Ints.tryParse("-")).isNull();
        assertThat(Ints.tryParse("+1")).isNull();
        assertThat(Ints.tryParse("9999999999999999")).isNull();
        assertWithMessage("Max integer + 1")
            .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1)))
            .isNull();
        assertWithMessage("Max integer * 10")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/os/61893.md

    On Windows, the mode bits reported by [Lstat] and [Stat] for
    reparse points changed. Mount points no longer have [ModeSymlink] set,
    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 386 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

        tryParseAndAssertEquals(MIN_VALUE, Long.toString(MIN_VALUE));
        assertThat(Longs.tryParse("")).isNull();
        assertThat(Longs.tryParse("-")).isNull();
        assertThat(Longs.tryParse("+1")).isNull();
        assertThat(Longs.tryParse("999999999999999999999999")).isNull();
        assertWithMessage("Max long + 1")
            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()))
            .isNull();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        tryParseAndAssertEquals(MIN_VALUE, Long.toString(MIN_VALUE));
        assertThat(Longs.tryParse("")).isNull();
        assertThat(Longs.tryParse("-")).isNull();
        assertThat(Longs.tryParse("+1")).isNull();
        assertThat(Longs.tryParse("999999999999999999999999")).isNull();
        assertWithMessage("Max long + 1")
            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()))
            .isNull();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/IntsTest.java

        tryParseAndAssertEquals(LEAST, Integer.toString(LEAST));
        assertThat(Ints.tryParse("")).isNull();
        assertThat(Ints.tryParse("-")).isNull();
        assertThat(Ints.tryParse("+1")).isNull();
        assertThat(Ints.tryParse("9999999999999999")).isNull();
        assertWithMessage("Max integer + 1")
            .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1)))
            .isNull();
        assertWithMessage("Max integer * 10")
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
Back to top