Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for tina (0.15 sec)

  1. internal/http/check_port_linux.go

    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{
    		Control: func(network, address string, c syscall.RawConn) error {
    			c.Control(func(fdPtr uintptr) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    			os.Exit(2)
    		}
    	}()
    	return func() {
    		close(cc)
    	}
    }
    
    func assertNoActive(t *testing.T, c *Connection) {
    	t.Helper()
    	// Tiny bit racy for tests, but we try to play nice.
    	for i := 10; i >= 0; i-- {
    		runtime.Gosched()
    		stats := c.Stats()
    		if stats.IncomingStreams != 0 {
    			if i > 0 {
    				time.Sleep(100 * time.Millisecond)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/untar.go

    				rc := disconnectReader{r: bytes.NewReader(b)}
    				defer func() {
    					rc.Close()
    					<-asyncWriters
    					wg.Done()
    					//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    					poolBuf128k.Put(b)
    				}()
    				if err := putObject(&rc, fi, name); err != nil {
    					if o.ignoreErrs {
    						s3LogIf(ctx, err)
    						return
    					}
    					asyncErrMu.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/revision.go

    	Name      string          `json:"name"`
    	Address   string          `json:"address"`
    	Status    corev1.PodPhase `json:"status"`
    	Age       string          `json:"age"`
    }
    
    // IstioOperatorCRInfo represents a tiny subset of fields from
    // IstioOperator CR. This structure is used for displaying data.
    // Exposed for integration test
    type IstioOperatorCRInfo struct {
    	IOP            *iopv1alpha1.IstioOperator `json:"-"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  5. internal/http/check_port_others.go

    	"net"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    		{"ends-with-a-dash-", false},
    		{"-starts-with-a-dash", false},
    		{"THIS-BEGINS-WITH-UPPERCASe", false},
    		{"tHIS-ENDS-WITH-UPPERCASE", false},
    		{"ThisBeginsAndEndsWithUpperCasE", false},
    		{"una ñina", false},
    		{"dash-.may-not-appear-next-to-dot", false},
    		{"dash.-may-not-appear-next-to-dot", false},
    		{"dash-.-may-not-appear-next-to-dot", false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    // metaDataPoolPut will put an unused small buffer back into the pool.
    func metaDataPoolPut(buf []byte) {
    	if cap(buf) >= metaDataReadDefault && cap(buf) < metaDataReadDefault*4 {
    		//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    		metaDataPool.Put(buf)
    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    // This should only be used when data is never interesting.
    // If data is not xlv2, it is returned in full.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. cmd/xl-storage_test.go

    		{"ends-with-a-dot.", true},
    		{"ends-with-a-dash-", true},
    		{"-starts-with-a-dash", true},
    		{"THIS-BEINGS-WITH-UPPERCASe", true},
    		{"tHIS-ENDS-WITH-UPPERCASE", true},
    		{"ThisBeginsAndEndsWithUpperCase", true},
    		{"una ñina", true},
    		{"lalalallalallalalalallalallalala-theString-size-is-greater-than-64", true},
    		// cases for which test should fail.
    		// passing invalid bucket names.
    		{"", false},
    		{SlashSeparator, false},
    		{"a", false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top