Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1281 - 1290 of 1,804 for request_ (0.26 sec)

  1. internal/once/singleton.go

    // IsSet will return whether the singleton has been set.
    func (s *Singleton[T]) IsSet() bool {
    	select {
    	case <-s.set:
    		return true
    	default:
    		return false
    	}
    }
    
    // Set the value and unblock all Get requests.
    // This may only be called once, a second call will panic.
    func (s *Singleton[T]) Set(v *T) {
    	s.v = v
    	close(s.set)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_remote_test_util.h

    #ifndef TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_
    #define TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_
    
    // Run a function containing a MatMul op and check its output.
    // If heavy_load_on_streaming_rpc is true, send some rpc requests before the one
    // which creates a remote input, to simulate a scenario that the remote input
    // is not ready when we start running an op or a function.
    void TestRemoteExecuteSilentCopies(bool async, bool remote, bool func,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. internal/s3select/jstream/scanner.go

    		copy(s.buf[1:], s.nbuf[:])     // copy contents of pre-filled next buffer
    		s.ipos = 1                     // move to beginning of internal buffer
    
    		// request next fill to be prepared
    		if s.end == maxInt {
    			s.fillReq <- struct{}{}
    		}
    	}
    
    	s.pos++
    	return s.buf[s.ipos]
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. cni/pkg/plugin/cnieventclient.go

    	if err != nil {
    		return err
    	}
    	response, err := cniClient.client.Post(cniClient.url, "application/json", bytes.NewBuffer(eventData))
    	if err != nil {
    		return fmt.Errorf("failed to send event request: %v", err)
    	}
    	defer response.Body.Close()
    
    	if response.StatusCode != http.StatusOK {
    		body, err := io.ReadAll(io.LimitReader(response.Body, 1024*1024))
    		if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. cni/pkg/install/install.go

    	installReady.Record(0)
    	isReady.Store(false)
    }
    
    // installationThrottle is a small wrapper around a rate limitter. It aims to avoid excessive writes to CNI configuration,
    // and detect if there is a loop of requests, typically caused by another component constantly reverting our work.
    // Where possible, the remediate steps are logged.
    type installationThrottle struct {
    	limiter *rate.Limiter
    	hits    int
    	in      *Installer
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector(model);
    
            ModelBuildingRequest request = requestConfigurer.apply(new DefaultModelBuildingRequest());
    
            validator.validateFileModel(model, request, problems);
    
            validator.validateRawModel(model, request, problems);
    
            return problems;
        }
    
        private void assertContains(String msg, String substring) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. helm-releases/minio-4.0.15.tgz

    true runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 fsGroupChangePolicy: "OnRootMismatch" # Additational pod annotations podAnnotations: {} # Additional pod labels podLabels: {} ## Configure resource requests and limits ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ ## resources: requests: memory: 16Gi ## List of policies to be created after minio install ## ## In addition to default policies [readonly|readwrite|writeonly|consoleAdmin|diagnostics] ## you can define additional policies...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 21 11:07:01 UTC 2022
    - 20K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    // Currently these keys are:
    //   - X-Amz-Server-Side-Encryption-Customer-Key
    //   - X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key
    func (api objectAPIHandlers) NewMultipartUploadHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "NewMultipartUpload")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  9. docs/ja/docs/alternatives.md

    ///
    
    ### <a href="http://docs.python-requests.org" class="external-link" target="_blank">Requests</a>
    
    **FastAPI**は実際には**Requests**の代替ではありません。それらのスコープは大きく異なります。
    
    実際にはFastAPIアプリケーションの*内部*でRequestsを使用するのが一般的です。
    
    しかし、FastAPIはRequestsからかなりのインスピレーションを得ています。
    
    **Requests**は (クライアントとして) APIと*通信*するためのライブラリであり、**FastAPI**は (サーバーとして) APIを*構築*するためのライブラリです。
    
    これらは多かれ少なかれ両端にあり、お互いを補完し合っています。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  10. docs/en/docs/external-links.md

    If you have an article, project, tool, or anything related to **FastAPI** that is not yet listed here, create a <a href="https://github.com/fastapi/fastapi/edit/master/docs/en/data/external_links.yml" class="external-link" target="_blank">Pull Request adding it</a>.
    
    ///
    
    {% for section_name, section_content in external_links.items() %}
    
    ## {{ section_name }}
    
    {% for lang_name, lang_content in section_content.items() %}
    
    ### {{ lang_name }}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top