Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 72 for strcmp (0.06 seconds)

  1. tensorflow/c/eager/c_api_unified_experimental_graph.cc

                                     const void* const* values,
                                     const size_t* lengths,
                                     int num_values) override {
        if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) {
          op_->colocation_constraints.clear();
          for (int i = 0; i < num_values; ++i) {
            op_->colocation_constraints.emplace(static_cast<const char*>(values[i]),
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. tensorflow/c/c_api.cc

        if (!CreateInput(inputs[i], cond_graph,
                         absl::StrCat("cond_input", i).c_str(), &cond_inputs[i],
                         status)) {
          break;
        }
        if (!CreateInput(inputs[i], body_graph,
                         absl::StrCat("body_input", i).c_str(), &body_inputs[i],
                         status)) {
          break;
        }
      }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_unified_experimental_eager.cc

    #include "tensorflow/c/eager/tfe_context_internal.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/strcat.h"
    
    // =============================================================================
    // Public C API entry points
    // These are only the entry points specific to the Eager API.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. tests/test_stream_bare_type.py

        lines = [json.loads(line) for line in response.text.strip().splitlines()]
        assert lines == [{"name": "foo"}]
    
    
    def test_stream_bare_sync_iterable():
        response = client.get("/items/stream-bare-sync")
        assert response.status_code == 200
        assert response.headers["content-type"] == "application/jsonl"
        lines = [json.loads(line) for line in response.text.strip().splitlines()]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  7. tests/test_sse.py

        data_lines = [
            line for line in response.text.strip().split("\n") if line.startswith("data: ")
        ]
        assert len(data_lines) == 3
    
    
    def test_dict_items(client: TestClient):
        response = client.get("/items/stream-dict")
        assert response.status_code == 200
        data_lines = [
            line for line in response.text.strip().split("\n") if line.startswith("data: ")
        ]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  8. tensorflow/c/eager/gradients.cc

      TF_RETURN_IF_ERROR(op->Reset("ZerosLike", /*raw_device_name=*/nullptr));
      if (isa<tracing::TracingOperation>(op.get())) {
        TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingOperation>(op.get())->SetOpName(
            absl::StrCat("ZerosLike", ToId(t)).c_str()));
      }
      TF_RETURN_IF_ERROR(op->AddInput(t));
      int num_outputs = 1;
      std::vector<AbstractTensorHandle*> outputs(num_outputs);
      TF_RETURN_IF_ERROR(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 24 06:18:31 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  9. tensorflow/c/eager/c_api_test_util.cc

        int port = tensorflow::testing::PickUnusedPortOrDie();
        job_def->mutable_tasks()->insert({i, absl::StrCat("localhost:", port)});
      }
      auto* config = server_def.mutable_default_session_config();
      config->mutable_experimental()->set_collective_group_leader(
          absl::StrCat("/job:", job_name, "/replica:0/task:", 0));
      auto* rewrite_options =
          config->mutable_graph_options()->mutable_rewrite_options();
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  10. .github/release-drafter-3.x.yml

    # under the License.
    
    _extends: maven-gh-actions-shared:.github/release-drafter.yml
    tag-template: maven-$RESOLVED_VERSION
    
    # Override replacers to strip backport branch prefixes and handle JIRA links
    replacers:
      # Strip backport branch prefixes like [maven-4.0.x], [maven-3.x], etc.
      - search: '/^\[maven-[\d\.x-]+\]\s*-?\s*/g'
        replace: ''
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 13:07:10 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top