Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for new_name (0.05 sec)

  1. fastapi/_compat/v2.py

                value = schema["$ref"]
                if isinstance(value, str):
                    ref_name = schema["$ref"].split("/")[-1]
                    if ref_name in old_name_to_new_name_map:
                        new_name = old_name_to_new_name_map[ref_name]
                        new_schema["$ref"] = REF_TEMPLATE.format(model=new_name)
                continue
            if isinstance(value, dict):
                new_schema[key] = _replace_refs(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        String oldName = Thread.currentThread().getName();
        Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. migrator/migrator.go

    func (m Migrator) RenameColumn(value interface{}, oldName, newName string) error {
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		if stmt.Schema != nil {
    			if field := stmt.Schema.LookUpField(oldName); field != nil {
    				oldName = field.DBName
    			}
    
    			if field := stmt.Schema.LookUpField(newName); field != nil {
    				newName = field.DBName
    			}
    		}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:31:09 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  4. tests/generics_test.go

    		t.Fatalf("prepare user failed: %v", err)
    	}
    
    	// update with Set after chain
    	newName := "GenericsSetUpdate_After"
    	newAge := uint(31)
    	rows, err := gorm.G[User](DB).
    		Where("id = ?", u.ID).
    		Set(
    			clause.Assignment{Column: clause.Column{Name: "name"}, Value: newName},
    			clause.Assignment{Column: clause.Column{Name: "age"}, Value: newAge},
    		).
    		Update(ctx)
    	if err != nil {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

      // executing the following code.
      for (int i = first_new_node_id; i < parent->graph.num_node_ids(); ++i) {
        Node* new_node = parent->graph.FindNodeId(i);
        if (new_node == nullptr) continue;
        parent->name_map[new_node->name()] = new_node;
      }
    
      // Populate 'outputs'.
      DCHECK_LE(loop_outputs.size(), num_loop_vars);
      for (int i = 0; i < loop_outputs.size(); ++i) {
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 102.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.cc

      using tensorflow::shape_inference::ShapeHandle;
    
      const int num_inputs = input_shapes->num_items;
      NodeDef node_def;
      tensorflow::ImmediateExecutionOperation* op = tensorflow::unwrap(tfe_op);
      node_def.set_name(op->Name());
      node_def.set_op(op->Name());
      for (int i = 0; i < num_inputs; ++i) {
        node_def.add_input("dummy_input");
      }
      OperationFromInterface(op)->Attrs().FillAttrValueMap(node_def.mutable_attr());
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

                            + "    <loc>http://www.example.com/news/article.html</loc>\n" + "    <news:news>\n" + "      <news:publication>\n"
                            + "        <news:name>Example Times</news:name>\n" + "        <news:language>en</news:language>\n"
                            + "      </news:publication>\n" + "      <news:publication_date>2025-01-01</news:publication_date>\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            private static final String NEWS_NEWS_ELEMENT = "news:news";
    
            private static final String NEWS_PUBLICATION_ELEMENT = "news:publication";
    
            private static final String NEWS_NAME_ELEMENT = "news:name";
    
            private static final String NEWS_LANGUAGE_ELEMENT = "news:language";
    
            private static final String NEWS_PUBLICATION_DATE_ELEMENT = "news:publication_date";
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  9. fastapi/routing.py

    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.routing import (
        BaseRoute,
        Match,
        compile_path,
        get_name,
    )
    from starlette.routing import Mount as Mount  # noqa
    from starlette.types import AppType, ASGIApp, Lifespan, Receive, Scope, Send
    from starlette.websockets import WebSocket
    from typing_extensions import deprecated
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      if (TF_TensorDefaultAlignment() > 0) {
        EXPECT_FALSE(TF_TensorIsAligned(a));
      }
      TF_DeleteTensor(a);
    }
    
    TEST(CAPI, MessageBufferConversion) {
      NodeDef node_in, node_out;
      node_in.set_name("Test name");
      node_in.set_op("Test op");
    
      TF_Buffer* buffer = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(node_in, buffer));
      TF_CHECK_OK(BufferToMessage(buffer, &node_out));
      TF_DeleteBuffer(buffer);
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 97K bytes
    - Viewed (0)
Back to top