Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for 4095 (0.15 sec)

  1. src/bytes/compare_test.go

    func TestCompareBytes(t *testing.T) {
    	lengths := make([]int, 0) // lengths to test in ascending order
    	for i := 0; i <= 128; i++ {
    		lengths = append(lengths, i)
    	}
    	lengths = append(lengths, 256, 512, 1024, 1333, 4095, 4096, 4097)
    
    	if !testing.Short() {
    		lengths = append(lengths, 65535, 65536, 65537, 99999)
    	}
    
    	n := lengths[len(lengths)-1]
    	a := make([]byte, n+1)
    	b := make([]byte, n+1)
    	for _, len := range lengths {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. cmd/server-rlimit.go

    	if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil {
    		return err
    	}
    
    	if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName {
    		logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"",
    			maxLimit)
    	}
    
    	if err = sys.SetMaxOpenFileLimit(maxLimit, maxLimit); err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    	// The actual maximum token size may be smaller as the buffer
    	// may need to include, for instance, a newline.
    	MaxScanTokenSize = 64 * 1024
    
    	startBufSize = 4096 // Size of initial allocation for buffer.
    )
    
    // NewScanner returns a new [Scanner] to read from r.
    // The split function defaults to [ScanLines].
    func NewScanner(r io.Reader) *Scanner {
    	return &Scanner{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    		for _, window := range windows {
    			if window > len(b[i:]) {
    				window = len(b[i:])
    			}
    			testCountWindow(i, window)
    			for j := 0; j < window; j++ {
    				b[i+j] = byte(0)
    			}
    		}
    	}
    	for i := 4096 - (maxWnd + 1); i < len(b); i++ {
    		for _, window := range windows {
    			if window > len(b[i:]) {
    				window = len(b[i:])
    			}
    			testCountWindow(i, window)
    			for j := 0; j < window; j++ {
    				b[i+j] = byte(0)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. cmd/sts-datatypes.go

    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    	// strongly recommend that you make no assumptions about the maximum size. As
    	// of this writing, the typical size is less than 4096 bytes, but that can vary.
    	// Also, future updates to AWS might require larger sizes.
    	Credentials auth.Credentials `xml:",omitempty"`
    
    	// A percentage value that indicates the size of the policy in packed form.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  6. internal/rest/client.go

    		url:                      u,
    		newAuthToken:             newAuthToken,
    		connected:                connected,
    		lastConn:                 time.Now().UnixNano(),
    		MaxErrResponseSize:       4096,
    		HealthCheckReconnectUnit: 200 * time.Millisecond,
    		HealthCheckTimeout:       time.Second,
    	}
    	if err != nil {
    		clnt.lastErr = err
    		clnt.lastErrTime = time.Now()
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  7. istioctl/pkg/metrics/metrics_test.go

    				&prometheus_model.Sample{Value: 4.95},
    			},
    		},
    	}
    	workload := "details"
    
    	sm, err := metrics(mockProm, workload, time.Minute)
    	if err != nil {
    		t.Fatalf("Unwanted exception %v", err)
    	}
    
    	var out bytes.Buffer
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. internal/s3select/select_test.go

        <RequestProgress>
            <Enabled>FALSE</Enabled>
        </RequestProgress>
    </SelectObjectContentRequest>`),
    			withJSON: `
    {
      "name": "small_pdf1.pdf",
      "lume_id": "9507193e-572d-4f95-bcf1-e9226d96be65",
      "elements": [
        {
          "element_type": "__elem__image",
          "element_id": "859d09c4-7cf1-4a37-9674-3a7de8b56abc",
          "attributes": {
            "__attr__image_dpi": 300,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/operand_test.go

    	{"$0-16", "$-16"},
    	{"$0x000FFFFFFFFFFFFF", "$4503599627370495"},
    	{"$0x01", "$1"},
    	{"$0x02", "$2"},
    	{"$0x04", "$4"},
    	{"$0x3FE", "$1022"},
    	{"$0x7fffffe00000", "$140737486258176"},
    	{"$0xfffffffffffff001", "$-4095"},
    	{"$1", "$1"},
    	{"$1.0", "$(1.0)"},
    	{"$10", "$10"},
    	{"$1000", "$1000"},
    	{"$1000000", "$1000000"},
    	{"$1000000000", "$1000000000"},
    	{"$__tsan_func_enter(SB)", "$__tsan_func_enter(SB)"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  10. cmd/veeam-sos-api.go

    //     processing possible from the customer side).
    //     Optional value, default 1024, allowed values 256,512,1024,4096,8192, value defined in KB size.
    //
    // - The object should be present in all buckets accessed by Veeam products that want to leverage the SOSAPI functionality.
    //
    // - The current protocol version is 1.0.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
Back to top