Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 293 for Schuck (0.2 sec)

  1. internal/http/check_port_others.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"context"
    	"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) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. cmd/streaming-v4-unsigned.go

    	if err == io.EOF && size != 0 {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil && err != io.EOF {
    		cr.err = err
    		return n, cr.err
    	}
    
    	// If the chunk size is zero we return io.EOF. As specified by AWS,
    	// only the last chunk is zero-sized.
    	if len(cr.buffer) == 0 {
    		if cr.debug {
    			fmt.Println("EOF")
    		}
    		if cr.trailers != nil {
    			err = cr.readTrailers()
    			if cr.debug {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  3. cmd/admin-handlers-users_test.go

    	// 1. Check that svc account appears in listing
    	c.assertSvcAccAppearsInListing(ctx, userAdmClient, accessKey, cr.AccessKey)
    
    	// 2. Check that svc account info can be queried
    	c.assertSvcAccInfoQueryable(ctx, userAdmClient, accessKey, cr.AccessKey, false)
    
    	// 3. Check S3 access
    	c.assertSvcAccS3Access(ctx, s, cr, bucket)
    
    	// 5. Check that service account can be deleted.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  4. misc/go_android_exec/exitcode_test.go

    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    	check("exitcode=123\n")
    	wantErr = regexp.MustCompile("^bad exit code: .* value out of range")
    	check("exitcode=999999999999999999999999")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. schema/constraint_test.go

    )
    
    type UserCheck struct {
    	Name  string `gorm:"check:name_checker,name <> 'jinzhu'"`
    	Name2 string `gorm:"check:name <> 'jinzhu'"`
    	Name3 string `gorm:"check:,name <> 'jinzhu'"`
    }
    
    func TestParseCheck(t *testing.T) {
    	user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user check, got error %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. internal/config/errors.go

    		"Overlapping domain values",
    		"Please check the passed value",
    		"MINIO_DOMAIN only accepts non-overlapping domain values",
    	)
    
    	ErrInvalidDomainValue = newErrFn(
    		"Invalid domain value",
    		"Please check the passed value",
    		"Domain can only accept DNS compatible values",
    	)
    
    	ErrInvalidErasureSetSize = newErrFn(
    		"Invalid erasure set size",
    		"Please check the passed value",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users-race_test.go

    		}
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s%s", i+1, testCase.serverType, etcdStr),
    			func(t *testing.T) {
    				runAllIAMConcurrencyTests(testCase, &check{t, testCase.serverType})
    			},
    		)
    	}
    }
    
    func (s *TestSuiteIAM) TestDeleteUserRace(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), 90*time.Second)
    	defer cancel()
    
    	bucket := getRandomBucketName()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    	*b = Reader{
    		buf:          buf,
    		rd:           r,
    		lastByte:     -1,
    		lastRuneSize: -1,
    	}
    }
    
    var errNegativeRead = errors.New("bufio: reader returned negative count from Read")
    
    // fill reads a new chunk into the buffer.
    func (b *Reader) fill() {
    	// Slide existing data to beginning.
    	if b.r > 0 {
    		copy(b.buf, b.buf[b.r:b.w])
    		b.w -= b.r
    		b.r = 0
    	}
    
    	if b.w >= len(b.buf) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    						internalLogIf(ctx, err)
    					}
    				}
    				dirStack = dirStack[:len(dirStack)-1]
    			}
    
    			// All objects will be returned as directories, there has been no object check yet.
    			// Check it by attempting to read metadata.
    			_, isDirObj := dirObjects[entry]
    			if isDirObj {
    				meta.name = meta.name[:len(meta.name)-1] + globalDirSuffixWithSlash
    			}
    
    			if s.walkReadMu != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    		for _, val := range icpTags {
    			if val != "" {
    				icpTag = val
    			}
    		}
    		// when the revision is passed
    		if icpTag != "" && tag != icpTag {
    			check := "         Before upgrading, you may wish to use 'istioctl x precheck' to check for upgrade warnings.\n"
    			revisionWarning := "         Running this command will overwrite it; use revisions to upgrade alongside the existing version.\n"
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top