Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for afterward (0.26 sec)

  1. docs/en/docs/tutorial/background-tasks.md

    **FastAPI** knows what to do in each case and how to reuse the same object, so that all the background tasks are merged together and are run in the background afterwards:
    
    === "Python 3.10+"
    
        ```Python hl_lines="13  15  22  25"
        {!> ../../../docs_src/background_tasks/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="13  15  22  25"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/kubelet/network/dns/dns_windows.go

    			}
    		}
    	}
    
    	return allSuffixes, nil
    }
    
    func getNetworkParams() (*FixedInfo, error) {
    	// We don't know how big we should make the byte buffer, but the call will tell us by
    	// setting the size afterwards.
    	var size int = 1
    	buffer := make([]byte, 1)
    	ret, _, err := procGetNetworkParams.Call(
    		uintptr(unsafe.Pointer(&buffer[0])),
    		uintptr(unsafe.Pointer(&size)),
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 22:21:57 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/nosql-databases-couchbase.md

    ```
    
    ## Define a constant to use as a "document type"
    
    We will use it later as a fixed field `type` in our documents.
    
    This is not required by Couchbase, but is a good practice that will help you afterwards.
    
    ```Python hl_lines="9"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ## Add a function to get a `Bucket`
    
    In **Couchbase**, a bucket is a set of documents, that can be of different types.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestWorker.java

            try {
                action.run();
            } finally {
                // Reset the thread name if the action changes it (e.g. if a test sets the thread name without resetting it afterwards)
                Thread.currentThread().setName(WORK_THREAD_NAME);
            }
        }
    
        private void startReceivingTests(WorkerProcessContext workerProcessContext, ServiceRegistry testServices) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/build_test.go

    // directory.
    // See https://golang.org/issue/18878.
    func TestRespectSetgidDir(t *testing.T) {
    	// Check that `cp` is called instead of `mv` by looking at the output
    	// of `(*Shell).ShowCmd` afterwards as a sanity check.
    	cfg.BuildX = true
    	var cmdBuf strings.Builder
    	sh := NewShell("", func(a ...any) (int, error) {
    		return cmdBuf.WriteString(fmt.Sprint(a...))
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

            bytes_transferred = block_fetcher_(key.first, key.second, block_size_,
                                               block->data.data(), status);
            block->mu.Lock();  // Reacquire the lock immediately afterwards
            if (TF_GetCode(status) == TF_OK) {
              block->data.resize(bytes_transferred, 0);
              // Shrink the data capacity to the actual size used.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 16 01:39:09 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    		// Since there are at most 5 priorities can be assigned using locality failover(0-4),
    		// we multiply the priority by 5 for maintaining the priorities already assigned.
    		// Afterwards the final priorities can be calculted from 0 (highest) to N (lowest) without skipping.
    		priorityInt := int(loadAssignment.Endpoints[i].Priority*5) + priority
    		loadAssignment.Endpoints[i].Priority = uint32(priorityInt)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. ci/official/README.md

    #   "build_file" item that indicates the script used.
    ci/official/wheel.sh
    
    # Advanced: Select specific build/test targets with "any.sh".
    # TF_ANY_TARGETS=":your/target" TF_ANY_MODE="test" ci/official/any.sh
    
    # Afterwards: Examine the results, which will include: The bazel cache,
    # generated artifacts like .whl files, and "script.log", from the script.
    # Note that files created under Docker will be owned by "root".
    ls build_output
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/events.md

    This can be very useful for setting up **resources** that you need to use for the whole app, and that are **shared** among requests, and/or that you need to **clean up** afterwards. For example, a database connection pool, or loading a shared machine learning model.
    
    ## Use Case
    
    Let's start with an example **use case** and then see how to solve it with this.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/testdata/Isaac.Newton-Opticks.txt

    which were most refrangible, did first of all by a total Reflexion
    become more copious in that Light than the rest, and that afterwards the
    rest also, by a total Reflexion, became as copious as these. To try
    this, I made the reflected Light pass through another Prism, and being
    refracted by it to fall afterwards upon a Sheet of white Paper placed
    at some distance behind it, and there by that Refraction to paint the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
Back to top