Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 165 for elif (0.14 seconds)

  1. scripts/notify_translations.py

            elif pr.state == "closed" or approved_label in label_strs:
                logging.info(f"Already approved or closed PR #{pr.number}")
                if already_done_comment:
                    logging.info(
                        f"This PR #{pr.number} was already marked as done in comment: {already_done_comment.url}"
                    )
                elif already_notified_comment:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. .ci/scripts/run-gradle.sh

    rm -Rfv ~/.gradle/init.d
    mkdir -p ~/.gradle/init.d && cp -v $WORKSPACE/.ci/init.gradle ~/.gradle/init.d
    if [ "$(uname -m)" = "arm64" ] || [ "$(uname -m)" = "aarch64" ]; then
       MAX_WORKERS=16
    elif [ -f /proc/cpuinfo ]; then
       MAX_WORKERS=`grep '^cpu\scores' /proc/cpuinfo  | uniq | sed 's/\s\+//g' |  cut -d':' -f 2`
    else
       if [[ "$OSTYPE" == "darwin"* ]]; then
          MAX_WORKERS=`sysctl -n hw.physicalcpu | sed 's/\s\+//g'`
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 13 19:08:52 GMT 2021
    - 824 bytes
    - Click Count (0)
  3. docs/select/select.py

        },
        OutputSerialization={'CSV': {}},
    )
    
    for event in r['Payload']:
        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
            statsDetails = event['Stats']['Details']
            print("Stats details bytesScanned: ")
            print(statsDetails['BytesScanned'])
            print("Stats details bytesProcessed: ")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Aug 18 00:11:39 GMT 2018
    - 1K bytes
    - Click Count (1)
  4. configure.py

        user_input_origin = get_input(question)
        user_input = user_input_origin.strip().lower()
        if user_input == 'y':
          print(yes_reply)
          var = True
        elif user_input == 'n':
          print(no_reply)
          var = False
        elif not user_input:
          if enabled_by_default:
            print(yes_reply)
            var = True
          else:
            print(no_reply)
            var = False
        else:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  5. ci/official/any.sh

    export TFCI="$(echo $TFCI | sed 's/,nightly_upload/,public_cache,disk_cache/')"
    if [[ -n "${TF_ANY_EXTRA_ENV:-}" ]]; then
      export TFCI="$TFCI,$TF_ANY_EXTRA_ENV"
    fi
    if [[ -n "${TF_ANY_SCRIPT:-}" ]]; then
      "$TF_ANY_SCRIPT"
    elif [[ -n "${TF_ANY_TARGETS:-}" ]]; then
      source "${BASH_SOURCE%/*}/utilities/setup.sh"
      tfrun bazel "${TF_ANY_MODE:-test}" $TFCI_BAZEL_COMMON_ARGS $TF_ANY_TARGETS
    else
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. .teamcity/scripts/update_wrapper_and_create_pr.sh

        if [[ "$TRIGGERED_BY" == *"Release - Final"* ]]; then
            source version-info-final-release/promote-projects/gradle/build/version-info.properties
            export WRAPPER_VERSION="$promotedVersion"
        elif [[ "$TRIGGERED_BY" == *"Release - Release Candidate"* ]]; then
            source version-info-release-candidate/promote-projects/gradle/build/version-info.properties
            export WRAPPER_VERSION="$promotedVersion"
        fi
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 29 03:20:20 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. ci/official/containers/ml_build/setup.python.sh

    VERSION=$1
    REQUIREMENTS=$2
    
    # Install Python packages for this container's version
    if [[ ${VERSION} == "python3.13-nogil" || ${VERSION} == "python3.14-nogil" ]]; then
      cat >pythons.txt <<EOF
    $VERSION
    EOF
    elif [[ ${VERSION} == "python3.14" || ${VERSION} == "python3.13" || ${VERSION} == "python3.12" ]]; then
      cat >pythons.txt <<EOF
    $VERSION
    $VERSION-dev
    $VERSION-venv
    EOF
    else
      cat >pythons.txt <<EOF
    $VERSION
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 30 20:25:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. buildscripts/checkdeps.sh

    ## }
    ##
    check_minimum_version() {
    	IFS='.' read -r -a varray1 <<<"$1"
    	IFS='.' read -r -a varray2 <<<"$2"
    
    	for i in "${!varray1[@]}"; do
    		if [[ ${varray1[i]} -lt ${varray2[i]} ]]; then
    			return 0
    		elif [[ ${varray1[i]} -gt ${varray2[i]} ]]; then
    			return 1
    		fi
    	done
    
    	return 0
    }
    
    assert_is_supported_arch() {
    	case "${ARCH}" in
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:12:05 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. fastapi/utils.py

            if (
                key in main_dict
                and isinstance(main_dict[key], dict)
                and isinstance(value, dict)
            ):
                deep_dict_update(main_dict[key], value)
            elif (
                key in main_dict
                and isinstance(main_dict[key], list)
                and isinstance(update_dict[key], list)
            ):
                main_dict[key] = main_dict[key] + update_dict[key]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. tensorflow/api_template.__init__.py

    _API_MODULE = _sys.modules[__name__].bitwise
    _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__))
    _current_module = _sys.modules[__name__]
    
    if not hasattr(_current_module, "__path__"):
      __path__ = [_tf_api_dir]
    elif _tf_api_dir not in __path__:
      __path__.append(_tf_api_dir)
    
    # Hook external TensorFlow modules.
    
    # Load tensorflow-io-gcs-filesystem if enabled
    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 6.8K bytes
    - Click Count (0)
Back to Top