Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 6,658 for makeWE (0.1 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go

    		return fmt.Errorf("cannot prepend columns, unmatched value functions")
    	}
    	if len(columns) == 0 {
    		return nil
    	}
    
    	// Compute the new rows
    	newRows := make([][]interface{}, len(table.Rows))
    	for i := range table.Rows {
    		newCells := make([]interface{}, 0, len(columns)+len(table.Rows[i].Cells))
    
    		if pos == end {
    			// If we're appending, start with the existing cells,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 16.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/source.go

    //
    // - e points to the byte immediately following the last byte that
    //   was read into the buffer.
    //
    // The buffer content is terminated at buf[e] with the sentinel
    // character utf8.RuneSelf. This makes it possible to test for
    // the common case of ASCII characters with a single 'if' (see
    // nextch method).
    //
    //                +------ content in use -------+
    //                v                             v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 19:25:46 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server_test.go

    type WaitGroup struct {
    	count int32
    	done  chan struct{}
    }
    
    func NewWaitGroup() *WaitGroup {
    	return &WaitGroup{
    		done: make(chan struct{}),
    	}
    }
    
    func NewWaitForNCalls(t *testing.T, n int32) (*WaitGroup, func()) {
    	wg := &WaitGroup{
    		done: make(chan struct{}),
    	}
    
    	wg.Add(n)
    	return wg, func() {
    		select {
    		case <-wg.C():
    			return
    		case <-time.After(time.Second):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authorization/authorizer/interfaces.go

    	// and false for non-resource endpoints like /api, /healthz
    	IsResourceRequest() bool
    
    	// GetPath returns the path of the request
    	GetPath() string
    }
    
    // Authorizer makes an authorization decision based on information gained by making
    // zero or more calls to methods of the Attributes interface.  It returns nil when an action is
    // authorized, otherwise it returns an error.
    type Authorizer interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 14:36:14 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. internal/http/dial_linux.go

    			// since Linux 4.11.
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_FASTOPEN_CONNECT, 1)
    
    			// Enable TCP quick ACK, John Nagle says
    			// "Set TCP_QUICKACK. If you find a case where that makes things worse, let me know."
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1)
    
    			/// Enable keep-alive
    			{
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_KEEPALIVE, 1)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (3)
  6. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/services/NativeServicesTest.groovy

        def setup() {
            services = NativeServices.getInstance()
        }
    
        def "makes a ProcessEnvironment available"() {
            expect:
            services.get(ProcessEnvironment) != null
        }
    
        def "makes an OperatingSystem available"() {
            expect:
            services.get(OperatingSystem) != null
        }
    
        def "makes a FileSystem available"() {
            expect:
            services.get(FileSystem) != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 01:29:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. pkg/log/config.go

    // scenarios can use the more expensive convenience methods such as Debugf and Warnw.
    //
    // The package provides direct integration with the Cobra command-line processor which makes it
    // easy to build programs that use a consistent interface for logging. Here's an example
    // of a simple Cobra-based program using this log package:
    //
    //			func main() {
    //				// get the default logging options
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/runtime/stack_test.go

    func BenchmarkStackCopyWithStkobj(b *testing.B) {
    	c := make(chan bool)
    	for i := 0; i < b.N; i++ {
    		go func() {
    			var s stkobjT
    			Sum(100000, &s)
    			c <- true
    		}()
    		<-c
    	}
    }
    
    func BenchmarkIssue18138(b *testing.B) {
    	// Channel with N "can run a goroutine" tokens
    	const N = 10
    	c := make(chan []byte, N)
    	for i := 0; i < N; i++ {
    		c <- make([]byte, 1)
    	}
    
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  9. src/runtime/mgcpacer_test.go

    				n := len(c)
    				if n > 4 {
    					// After the 4th GC, the heap will stop growing.
    					// First, let's make sure we're finishing near the goal, with some extra
    					// room because we're probably going to be triggering early.
    					assertInRange(t, "goal ratio", c[n-1].goalRatio(), 0.925, 1.025)
    					// Next, let's make sure there's some minimum distance between the goal
    					// and the trigger. It should be proportional to the runway (hence the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/index.md

    ## OpenAPI
    
    OpenAPI (previously known as Swagger) is the open specification for building APIs (now part of the Linux Foundation).
    
    **FastAPI** is based on **OpenAPI**.
    
    That's what makes it possible to have multiple automatic interactive documentation interfaces, code generation, etc.
    
    OpenAPI has a way to define multiple security "schemes".
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 24 14:47:15 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top