Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for TB (0.03 sec)

  1. internal/logger/target/testlogger/testlogger.go

    	return t.setTB(tb, errorMessage)
    }
    
    // SetFatalTB will set the logger to output to tb.Panic.
    // Call the returned function to disable logging.
    func (t *testLogger) SetFatalTB(tb testing.TB) func() {
    	return t.setTB(tb, fatalMessage)
    }
    
    func (t *testLogger) setTB(tb testing.TB, action int32) func() {
    	old := t.action.Swap(action)
    	t.current.Store(&tb)
    	return func() {
    		t.current.Store(nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/erasure_test.go

    // Returns an initialized setup for erasure tests.
    func newErasureTestSetup(tb testing.TB, dataBlocks int, parityBlocks int, blockSize int64) (*erasureTestSetup, error) {
    	diskPaths := make([]string, dataBlocks+parityBlocks)
    	disks := make([]StorageAPI, len(diskPaths))
    	var err error
    	for i := range diskPaths {
    		disks[i], diskPaths[i], err = newXLStorageTestSetup(tb)
    		if err != nil {
    			return nil, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. api/next/36532.txt

    pkg testing, method (*B) Context() context.Context #36532
    pkg testing, method (*F) Context() context.Context #36532
    pkg testing, method (*T) Context() context.Context #36532
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 20 14:58:54 UTC 2024
    - 239 bytes
    - Viewed (0)
  4. src/cmd/api/testdata/src/pkg/p3/p3.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p3
    
    type ThirdBase struct{}
    
    func (tb *ThirdBase) GoodPlayer() (i, j, k int)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 310 bytes
    - Viewed (0)
  5. cmd/site-replication-utils_gen.go

    					return
    				}
    				err = za0002.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "BucketStatuses", za0001)
    					return
    				}
    				z.BucketStatuses[za0001] = za0002
    			}
    		case "tb":
    			z.TotBuckets, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "TotBuckets")
    				return
    			}
    		case "cst":
    			err = z.TargetReplicationResyncStatus.DecodeMsg(dc)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  6. api/next/62516.txt

    pkg testing, method (*B) Chdir(string) #62516
    pkg testing, method (*F) Chdir(string) #62516
    pkg testing, method (*T) Chdir(string) #62516
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 16 23:48:50 UTC 2024
    - 191 bytes
    - Viewed (0)
  7. ci/official/requirements_updater/numpy1_requirements/requirements.in

    # Note that we must use nightly here as these are used in nightly jobs
    # For release jobs, we will pin these on the release branch
    keras-nightly ~= 3.0.0.dev
    tb-nightly ~= 2.18.0.a
    # Test dependencies
    grpcio >= 1.24.3, < 2.0
    portpicker == 1.6.0
    scipy == 1.11.3
    requests >= 2.31.0
    packaging==23.2
    setuptools==70.0.0
    jax==0.4.7
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Oct 11 22:42:53 UTC 2024
    - 874 bytes
    - Viewed (0)
  8. ci/official/requirements_updater/requirements.in

    # Note that we must use nightly here as these are used in nightly jobs
    # For release jobs, we will pin these on the release branch
    keras-nightly ~= 3.0.0.dev
    tb-nightly ~= 2.19.0.a
    # Test dependencies
    grpcio >= 1.24.3, < 2.0
    portpicker == 1.6.0
    scipy >= 1.13.0
    requests >= 2.31.0
    packaging==23.2
    setuptools==70.0.0
    jax==0.4.7
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 01 18:46:13 UTC 2024
    - 905 bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/index.md

    👆 🔜 👀 ⚫️❔ 🎏 "👜", ↖️ ⚪️➡️ 🔢, 💪 ⚙️ 🔗 ⏭ 📃.
    
    ///
    
    🕐❔ 🆕 📨 🛬, **FastAPI** 🔜 ✊ 💅:
    
    * 🤙 👆 🔗 ("☑") 🔢 ⏮️ ☑ 🔢.
    * 🤚 🏁 ⚪️➡️ 👆 🔢.
    * 🛠️ 👈 🏁 🔢 👆 *➡ 🛠️ 🔢*.
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/index.md

    该函数接收的参数和*路径操作函数*的参数一样。
    
    /// tip | "提示"
    
    下一章介绍,除了函数还有哪些「对象」可以用作依赖项。
    
    ///
    
    接收到新的请求时,**FastAPI** 执行如下操作:
    
    * 用正确的参数调用依赖项函数(「可依赖项」)
    * 获取函数返回的结果
    * 把函数返回的结果赋值给*路径操作函数*的参数
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    这样,只编写一次代码,**FastAPI** 就可以为多个*路径操作*共享这段代码 。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top