Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for devknoll (0.22 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    }
    
    func podAndNetns() (*v1.Pod, *fakeNs) {
    	devNull, err := os.Open(os.DevNull)
    	if err != nil {
    		panic(err)
    	}
    	// we can't close this now, because we need to pass it from the ztunnel server to the client
    	// it would leak, but this is a test, so we don't care
    	//	defer devNull.Close()
    
    	id := ztunnelTestCounter.Add(1)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    		}
    	}
    }
    
    // DevNull - everything goes to io.Discard
    func (s *peerRESTServer) DevNull(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("invalid request"))
    		return
    	}
    
    	globalNetPerfRX.Connect()
    	defer globalNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    	ctx := newContext(r, w, "DevNull")
    	for {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    	if err != nil || resp == nil {
    		return DailyAllTierStats{}, err
    	}
    	return *resp, nil
    }
    
    // DevNull - Used by netperf to pump data to peer
    func (client *peerRESTClient) DevNull(ctx context.Context, r io.Reader) error {
    	respBody, err := client.callWithContext(ctx, peerRESTMethodDevNull, nil, r, -1)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. configure.py

      """Get the python site package paths."""
      python_paths = []
      if environ_cp.get('PYTHONPATH'):
        python_paths = environ_cp.get('PYTHONPATH').split(':')
      try:
        stderr = open(os.devnull, 'wb')
        library_paths = run_shell([
            python_bin_path, '-c',
            'import site; print("\\n".join(site.getsitepackages()))'
        ],
                                  stderr=stderr).split('\n')
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. cmd/admin-handlers-site-replication.go

    		return
    	}
    	writeSuccessResponseJSON(w, body)
    }
    
    // SiteReplicationDevNull - everything goes to io.Discard
    // [POST] /minio/admin/v3/site-replication/devnull
    func (a adminAPIHandlers) SiteReplicationDevNull(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	globalSiteNetPerfRX.Connect()
    	defer globalSiteNetPerfRX.Disconnect()
    
    	connectTime := time.Now()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    		return
    	}
    	enc := json.NewEncoder(w)
    	if err := enc.Encode(results); err != nil {
    		return
    	}
    }
    
    // ClientDevNullExtraTime - return extratime for last devnull
    // [POST] /minio/admin/v3/speedtest/client/devnull/extratime
    func (a adminAPIHandlers) ClientDevNullExtraTime(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  7. doc/go1.17_spec.html

    		The "return" statement returns the values of these variables.
    <pre>
    func complexF3() (re float64, im float64) {
    	re = 7.0
    	im = 4.0
    	return
    }
    
    func (devnull) Write(p []byte) (n int, _ error) {
    	n = len(p)
    	return
    }
    </pre>
    	</li>
    </ol>
    
    <p>
    Regardless of how they are declared, all the result values are initialized to
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. doc/go_spec.html

    		The "return" statement returns the values of these variables.
    <pre>
    func complexF3() (re float64, im float64) {
    	re = 7.0
    	im = 4.0
    	return
    }
    
    func (devnull) Write(p []byte) (n int, _ error) {
    	n = len(p)
    	return
    }
    </pre>
    	</li>
    </ol>
    
    <p>
    Regardless of how they are declared, all the result values are initialized to
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top