Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for testFormat (0.36 sec)

  1. src/test/java/org/codelibs/core/log/LoggerTest.java

        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.log.Logger#format(String, Object...)} .
         */
        @SuppressWarnings("static-access")
        @Test
        public void testFormat() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[AUTL0009] is illegal. because messageCode : AUTL0009."));
            Logger.format("AUTL0009", "hoge");
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. internal/etag/etag_test.go

    	{ETag: "20000f00db2d90a7b40782d4cff2b41a7799fc1e7ead25972db65150118dfbe2ba76a3c002da28f85c840cd2001a28a9", AWSETag: "ba76a3c002da28f85c840cd2001a28a9"}, // 4
    }
    
    func TestFormat(t *testing.T) {
    	for i, test := range formatTests {
    		tag, err := Parse(test.ETag)
    		if err != nil {
    			t.Fatalf("Test %d: failed to parse ETag: %v", i, err)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_distributed_test.cc

    namespace {
    
    using ::tensorflow::string;
    
    // Add the values of three variables on three different tasks.
    string AddVariablesFunction() {
      tensorflow::FunctionDef def;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          "    signature {"
          "      name: 'AddVariablesFunction'"
          "      input_arg {"
          "        name: 'var'"
          "        type: DT_RESOURCE"
          "      }"
          "      output_arg {"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.cc

    static std::vector<UniqueFuncPtr> CreateFunctionsFromTextProto(
        const char* text_proto,
        std::function<void(FunctionDef*)>* mutate_proto_func, TF_Status* status) {
      tensorflow::GraphDef gdef;
      if (!tensorflow::protobuf::TextFormat::ParseFromString(text_proto, &gdef)) {
        status->status = tensorflow::errors::Internal(
            "Invalid text proto for GraphDef: ", text_proto);
        return {};
      }
      const auto& fdef_lib = gdef.library();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_remote_test_util.cc

    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    using ::tensorflow::string;
    
    string MatMulFunction(const string& matmul_device) {
      tensorflow::FunctionDef def;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          absl::StrCat("    signature {"
                       "      name: 'MatMulFunction'"
                       "      input_arg {"
                       "        name: 'a'"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

      EXPECT_EQ(TF_GetCode(status), TF_OK);
    
      ServerDef actual;
      ASSERT_TRUE(actual.ParseFromArray(result->data, result->length));
      string actual_text_proto;
      tensorflow::protobuf::TextFormat::PrintToString(actual, &actual_text_proto);
      EXPECT_EQ(expected_text_proto, actual_text_proto);
    
      const string malformed_text_proto(R"(cluster {
      job {
        name: "worker")");
      TF_Buffer* null_result =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/collect/MultimapsTest.java

        Map<String, SortedSet<Integer>> map = Multimaps.asMap(sortedSetMultimap);
        assertSame(sortedSetMultimap.asMap(), map);
      }
    
      public void testForMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        Multimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

          "      op: '__OP_NAME__'"
          "    }"
          "    ret {"
          "      key: 'out'"
          "      value: 'error_op:out'"
          "    }";
      tensorflow::FunctionDef def;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          tensorflow::str_util::StringReplace(func_str, "__OP_NAME__", op_name,
                                              /*replace_all=*/true),
          &def));
      return def.SerializeAsString();
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        Map<String, SortedSet<Integer>> map = Multimaps.asMap(sortedSetMultimap);
        assertSame(sortedSetMultimap.asMap(), map);
      }
    
      public void testForMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        Multimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
Back to top