Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for mock (0.16 sec)

  1. requirements_lock_3_10.txt

    dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 12 04:38:53 GMT 2024
    - 43.8K bytes
    - Viewed (0)
  2. ci/official/requirements_updater/updater.sh

        //:requirements_"$VERSION".update
      sed -i '/^#/d' requirements_lock_"$VERSION".txt
      mv requirements_lock_"$VERSION".txt ../../../requirements_lock_"$VERSION".txt
    done
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:05:45 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. .github/workflows/osv-scanner-scheduled.yml

        with:
          scan-args: |-
            --lockfile=requirements.txt:./requirements_lock_3_9.txt
            --lockfile=requirements.txt:./requirements_lock_3_10.txt
            --lockfile=requirements.txt:./requirements_lock_3_11.txt
            --lockfile=requirements.txt:./requirements_lock_3_12.txt
            --lockfile=requirements.txt:./ci/official/containers/linux_arm64/devel.requirements.txt
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 06 17:09:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

    bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) {
      if (session->graph != nullptr) {
        // Take the graph lock before the session lock to avoid deadlock. This is
        // safe since session->graph does not change.
        session->graph->mu.lock();
        mutex_lock session_lock(session->mu);
        const Graph& graph = session->graph->graph;
    
        const string& mutation_warning = session->graph->sessions[session];
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. ci/official/wheel_test/update_requirements.sh

    # Create the requirements_wheel_test.in file
    echo "tensorflow @ file://localhost/$TENSORFLOW_WHEEL_PATH" > requirements_wheel_test.in
    
    # Create the requirements_lock file
    REQUIREMENTS_LOCK_FILE="requirements_lock_${PYTHON_VERSION}.txt"
    touch "$REQUIREMENTS_LOCK_FILE"
    
    ### Update the requirements_lock file
    bazel run --experimental_convenience_symlinks=ignore --repo_env=REQUIREMENTS_FILE_NAME=requirements_wheel_test.in //:requirements_${PYTHON_VERSION}.update
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        if (max_age_ == 0) {
          return;
        }
        absl::MutexLock lock(&mu_);
        InsertLocked(key, value);
      }
    
      // Delete the entry with key `key`. Return true if the entry was found for
      // `key`, false if the entry was not found. In both cases, there is no entry
      // with key `key` existed after the call.
      bool Delete(const std::string& key) {
        absl::MutexLock lock(&mu_);
        return DeleteLocked(key);
      }
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  7. ci/official/requirements_updater/README.md

       ```
          compile_pip_requirements_3_11(
              name = "requirements_3_11",
              extra_args = ["--allow-unsafe"],
              requirements_in = "requirements.in",
              requirements_txt = "requirements_lock_3_11.txt",
          )
       ```
    
       ```
          compile_pip_requirements_3_11(
              name = "requirements_3_11_release",
              extra_args = [
                  "--allow-unsafe",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/c/env_test.cc

    namespace {
    
    struct SomeThreadData {
      ::tensorflow::mutex mu;
      bool did_work = false;
    };
    
    void SomeThreadFunc(void* data) {
      auto* real_data = static_cast<SomeThreadData*>(data);
      ::tensorflow::mutex_lock l(real_data->mu);
      real_data->did_work = true;
    }
    
    }  // namespace
    
    TEST(TestEnv, TestThreads) {
      TF_ThreadOptions options;
      TF_DefaultThreadOptions(&options);
      SomeThreadData data;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  9. WORKSPACE

    )
    """,
        ),
    }
    
    pip_parse(
        name = "pypi",
        annotations = NUMPY_ANNOTATIONS,
        python_interpreter_target = interpreter,
        requirements = "//:requirements_lock_" + TF_PYTHON_VERSION.replace(".", "_") + ".txt",
    )
    
    load("@pypi//:requirements.bzl", "install_deps")
    
    install_deps()
    
    # Initialize the TensorFlow repository and all dependencies.
    #
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  10. ci/official/requirements_updater/BUILD.bazel

        extra_args = ["--allow-unsafe"],
        requirements_in = REQUIREMENTS_FILE_NAME,
        requirements_txt = "requirements_lock_3_9.txt",
    )
    
    compile_pip_requirements_3_10(
        name = "requirements_3_10",
        extra_args = ["--allow-unsafe"],
        requirements_in = REQUIREMENTS_FILE_NAME,
        requirements_txt = "requirements_lock_3_10.txt",
    )
    
    compile_pip_requirements_3_11(
        name = "requirements_3_11",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3K bytes
    - Viewed (2)
Back to top