Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 635 for seni (0.14 sec)

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

    This includes, for example:
    
    * Email notifications sent after performing an action:
        * As connecting to an email server and sending an email tends to be "slow" (several seconds), you can return the response right away and send the email notification in the background.
    * Processing data:
    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. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit.go

    				}
    				processAuditEvent(ctx, sink, ev, omitStages)
    				return
    			}
    
    			// if no StageResponseStarted event was sent b/c neither a status code nor a body was sent, fake it here
    			// But Audit-Id http header will only be sent when http.ResponseWriter.WriteHeader is called.
    			fakedSuccessStatus := &metav1.Status{
    				Code:    http.StatusOK,
    				Status:  metav1.StatusSuccess,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. src/runtime/sigqueue_plan9.go

    	note := &q.data[q.ri]
    	item := string(note.s[:note.n])
    	q.ri++
    	if q.ri == qsize {
    		q.ri = 0
    	}
    	unlock(&q.lock)
    	return item
    }
    
    // Called from sighandler to send a signal back out of the signal handling thread.
    // Reports whether the signal was sent. If not, the caller typically crashes the program.
    func sendNote(s *byte) bool {
    	if !sig.inuse {
    		return false
    	}
    
    	// Add signal to outgoing queue.
    	if !sig.q.push(s) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. pilot/pkg/grpc/grpc.go

    		grpc.MaxConcurrentStreams(uint32(maxStreams)),
    		grpc.MaxRecvMsgSize(maxRecvMsgSize),
    		// Ensure we allow clients sufficient ability to send keep alives. If this is higher than client
    		// keep alive setting, it will prematurely get a GOAWAY sent.
    		grpc.KeepaliveEnforcementPolicy(keepalive.EnforcementPolicy{
    			MinTime: options.Time / 2,
    		}),
    		grpc.KeepaliveParams(keepalive.ServerParameters{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 04:27:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. pkg/channels/unbounded.go

    			b.backlog = b.backlog[1:]
    		default:
    		}
    	}
    	b.mu.Unlock()
    }
    
    // Get returns a read channel on which values added to the buffer, via Put(),
    // are sent on.
    //
    // Upon reading a value from this channel, users are expected to call Load() to
    // send the next buffered value onto the channel if there is any.
    func (b *Unbounded[T]) Get() <-chan T {
    	return b.c
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 31 19:53:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. src/time/sleep.go

    		panic("time: Reset called on uninitialized Timer")
    	}
    	w := when(d)
    	return resetTimer(t, w, 0)
    }
    
    // sendTime does a non-blocking send of the current time on c.
    func sendTime(c any, seq uintptr, delta int64) {
    	// delta is how long ago the channel send was supposed to happen.
    	// The current time can be arbitrarily far into the future, because the runtime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. pilot/pkg/xds/deltatest.go

    // response returned the optimal result. Checks include correctness checks (e.g. if a config changed,
    // we must include it) and possible optimizations (e.g. we sent a config, but it was not changed).
    func (s *DiscoveryServer) compareDiff(
    	con *Connection,
    	w *model.WatchedResource,
    	sotwRes model.Resources,
    	deltaRes model.Resources,
    	deleted model.DeletedResources,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/http-basic-auth.md

    * Create a "`security` scheme" using `HTTPBasic`.
    * Use that `security` with a dependency in your *path operation*.
    * It returns an object of type `HTTPBasicCredentials`:
        * It contains the `username` and `password` sent.
    
    === "Python 3.9+"
    
        ```Python hl_lines="4  8  12"
        {!> ../../../docs_src/security/tutorial006_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="2  7  11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 14:33:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/net/rpc/client.go

    type ClientCodec interface {
    	WriteRequest(*Request, any) error
    	ReadResponseHeader(*Response) error
    	ReadResponseBody(any) error
    
    	Close() error
    }
    
    func (client *Client) send(call *Call) {
    	client.reqMutex.Lock()
    	defer client.reqMutex.Unlock()
    
    	// Register this call.
    	client.mutex.Lock()
    	if client.shutdown || client.closing {
    		client.mutex.Unlock()
    		call.Error = ErrShutdown
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/net/http/httptest/recorder.go

    	// and we might block under 200 (once we have more mature 1xx support).
    	// But for now any three digits.
    	//
    	// We used to send "HTTP/1.1 000 0" on the wire in responses but there's
    	// no equivalent bogus thing we can realistically send in HTTP/2,
    	// so we'll consistently panic instead and help people find their bugs
    	// early. (We can't return an error from WriteHeader even if we wanted to.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top