Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 366 for Background (0.2 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    Nevertheless, as this would mean waiting for the response to travel through the network while unnecessarily holding a resource in a dependency with yield (for example a database connection), this was changed in FastAPI 0.106.0.
    
    !!! tip
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. misc/chrome/gophertool/manifest.json

    {
      "name": "Hacking Gopher",
      "version": "1.0",
      "manifest_version": 2,
      "description": "Go Hacking utility",
      "background": {
        "page": "background.html"
      },
      "browser_action": {
        "default_icon": "gopher.png",
        "default_popup": "popup.html"
      },
      "omnibox": { "keyword": "golang" },
      "icons": {
        "16": "gopher.png"
      },
      "permissions": [
         "tabs"
      ]
    Json
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 05 20:52:13 GMT 2012
    - 378 bytes
    - Viewed (0)
  3. cmd/lock-rest-server.go

    	success, err := l.ll.Lock(context.Background(), *args)
    	if err == nil && !success {
    		return l.makeResp(resp, errLockConflict)
    	}
    	return l.makeResp(resp, err)
    }
    
    // UnlockHandler - releases the acquired lock.
    func (l *lockRESTServer) UnlockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCUnlock.NewResponse()
    	_, err := l.ll.Unlock(context.Background(), *args)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  4. src/main/webapp/js/advance.js

            "box-shadow":
              "0 1px 1px 0px rgba(0, 0, 0, 0.1), 0 3px 2px 0px rgba(82, 168, 236, 0.2)",
            "background-color": "#fff",
            "z-index": "10000"
          },
          listSelectedCssInfo: {
            "background-color": "rgba(82, 168, 236, 0.1)"
          },
          listDeselectedCssInfo: {
            "background-color": "#ffffff"
          },
          minterm: 1,
          adjustWidthVal: 11,
          searchForm: $("#searchForm")
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Mar 30 05:45:24 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  5. cmd/signals.go

    				shutdownLogIf(context.Background(), err)
    			}
    		}
    
    		if objAPI := newObjectLayerFn(); objAPI != nil {
    			shutdownLogIf(context.Background(), objAPI.Shutdown(context.Background()))
    		}
    
    		if srv := newConsoleServerFn(); srv != nil {
    			shutdownLogIf(context.Background(), srv.Shutdown())
    		}
    
    		if globalEventNotifier != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. internal/crypto/key.go

    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    
    	const Context = "object-encryption-key generation"
    	mac := hmac.New(sha256.New, extKey)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs_src/background_tasks/tutorial002_an_py310.py

            log.write(message)
    
    
    def get_query(background_tasks: BackgroundTasks, q: str | None = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(
        email: str, background_tasks: BackgroundTasks, q: Annotated[str, Depends(get_query)]
    ):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 683 bytes
    - Viewed (1)
  8. src/main/webapp/js/index.js

            "box-shadow":
              "0 1px 1px 0px rgba(0, 0, 0, 0.1), 0 3px 2px 0px rgba(82, 168, 236, 0.2)",
            "background-color": "#fff",
            "z-index": "10000"
          },
          listSelectedCssInfo: {
            "background-color": "rgba(82, 168, 236, 0.1)"
          },
          listDeselectedCssInfo: {
            "background-color": "#ffffff"
          },
          minterm: 1,
          adjustWidthVal: 11,
          searchForm: $("#searchForm")
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Mar 30 05:45:24 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. cmd/benchmark-utils_test.go

    func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) {
    	var err error
    	// obtains random bucket name.
    	bucket := getRandomBucketName()
    	// create bucket.
    	err = obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// get text data generated for number of bytes equal to object size.
    	textData := generateBytesData(objSize)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  10. cmd/object-api-putobject_test.go

    	bucket := "minio-bucket"
    	object := "minio-object"
    
    	// Create bucket.
    	err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Creating a dummy bucket for tests.
    	err = obj.MakeBucket(context.Background(), "unused-bucket", MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top