Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 406 for sub1 (0.05 sec)

  1. tests/query_test.go

    	}
    
    	var sub1 []User
    	// limit < batchSize
    	if result := DB.Limit(5).Where("name = ?", users[0].Name).FindInBatches(&sub1, 10, func(tx *gorm.DB, batch int) error {
    		return nil
    	}); result.Error != nil || result.RowsAffected != 5 {
    		t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    
    	var sub2 []User
    	// only offset
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/subr.go

    Cuong Manh Le <******@****.***> 1696348263 +0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  3. src/io/fs/sub.go

    )
    
    // A SubFS is a file system with a Sub method.
    type SubFS interface {
    	FS
    
    	// Sub returns an FS corresponding to the subtree rooted at dir.
    	Sub(dir string) (FS, error)
    }
    
    // Sub returns an [FS] corresponding to the subtree rooted at fsys's dir.
    //
    // If dir is ".", Sub returns fsys unchanged.
    // Otherwise, if fs implements [SubFS], Sub returns fsys.Sub(dir).
    // Otherwise, Sub returns a new [FS] implementation sub that,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 10 02:10:17 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/dec64.rules

    	(Int64Make
    		(Or32 <typ.UInt32>
    			(Or32 <typ.UInt32>
    				(Lsh32x16 <typ.UInt32> (Int64Hi x) s)
    				(Rsh32Ux16 <typ.UInt32>
    					(Int64Lo x)
    					(Sub16 <typ.UInt16> (Const16 <typ.UInt16> [32]) s)))
    			(Lsh32x16 <typ.UInt32>
    				(Int64Lo x)
    				(Sub16 <typ.UInt16> s (Const16 <typ.UInt16> [32]))))
    		(Lsh32x16 <typ.UInt32> (Int64Lo x) s))
    (Lsh64x8 x s) =>
    	(Int64Make
    		(Or32 <typ.UInt32>
    			(Or32 <typ.UInt32>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    // simplifications often used for lengths.  e.g. len(s[i:i+5])==5
    (Sub(64|32|16|8) (Add(64|32|16|8) x y) x) => y
    (Sub(64|32|16|8) (Add(64|32|16|8) x y) y) => x
    (Sub(64|32|16|8) (Sub(64|32|16|8) x y) x) => (Neg(64|32|16|8) y)
    (Sub(64|32|16|8) x (Add(64|32|16|8) x y)) => (Neg(64|32|16|8) y)
    (Add(64|32|16|8) x (Sub(64|32|16|8) y x)) => y
    (Add(64|32|16|8) x (Add(64|32|16|8) y (Sub(64|32|16|8) z x))) => (Add(64|32|16|8) y z)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    # Sub-dependencies
    
    You can create dependencies that have **sub-dependencies**.
    
    They can be as **deep** as you need them to be.
    
    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable"
    
    You could create a first dependency ("dependable") like:
    
    === "Python 3.10+"
    
        ```Python hl_lines="8-9"
        {!> ../../../docs_src/dependencies/tutorial005_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/sub-applications.md

    下图显示的是主应用 API 文档,只包括其自有的*路径操作*。
    
    <img src="/img/tutorial/sub-applications/image01.png">
    
    然后查看子应用文档 <a href="http://127.0.0.1:8000/subapi/docs" class="external-link" target="_blank">http://127.0.0.1:8000/subapi/docs。</a>
    
    下图显示的是子应用的 API 文档,也是只包括其自有的*路径操作*,所有这些路径操作都在 `/subapi` 子路径前缀下。
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    两个用户界面都可以正常运行,因为浏览器能够与每个指定的应用或子应用会话。
    
    ### 技术细节:`root_path`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/dependencies/sub-dependencies.md

    LeeeeT <******@****.***> 1680341164 +0300
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. docs/fa/docs/advanced/sub-applications.md

    <img src="/img/tutorial/sub-applications/image01.png">
    
    و سپس اسناد زیر برنامه را در آدرس <a href="http://127.0.0.1:8000/subapi/docs" class="external-link" target="_blank">http://127.0.0.1:8000/subapi/docs</a>. باز کنید.
    
    اسناد API خودکار برای زیر برنامه را خواهید دید، که فقط شامل path operations خود می شود، همه در زیر مسیر `/subapi` قرار دارند:
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/sub-applications.md

    ### Technical Details: `root_path`
    
    When you mount a sub-application as described above, FastAPI will take care of communicating the mount path for the sub-application using a mechanism from the ASGI specification called a `root_path`.
    
    That way, the sub-application will know to use that path prefix for the docs UI.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top