Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 96 for strcmp (0.08 seconds)

  1. tensorflow/c/eager/gradient_checker_test.cc

        // low tolerances
        enable_tensor_float_32_execution(false);
      }
    
      AbstractContextPtr ctx_;
    
     public:
      bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; }
      bool UseFunction() const { return std::get<2>(GetParam()); }
    };
    
    TEST_P(GradientCheckerTest, TestMatMul) {
      float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f};
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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. 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)
  6. 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)
  7. tensorflow/c/eager/immediate_execution_tensor_handle.cc

        // The default NumPy-style output can be distractingly long in error
        // messages.
        value_string = absl::StrCat(value_string.substr(0, 100), " [...]");
      }
      absl::Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
        device_name = "<error fetching device name>";
      }
      return absl::StrCat("TensorHandle(", value_string, ", shape=", shape_string,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:24:07 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. internal/s3select/unused-errors.go

    		message:    "Time stamp format pattern contains a valid format symbol that cannot be applied to time stamp parsing in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errEvaluatorTimestampFormatPatternDuplicateFields(err error) *s3Error {
    	return &s3Error{
    		code:       "EvaluatorTimestampFormatPatternDuplicateFields",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
Back to Top