Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for biglen (0.14 sec)

  1. cmd/streaming-signature-v4.go

    // lineTooLong is generated as chunk header is bigger than 4KiB.
    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    // chunk is considered too big if its bigger than > 16MiB.
    var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/conversion.go

    					hostAddresses = append(hostAddresses, &HostAddress{hostname, address})
    				} else if cidr, cidrErr := netip.ParsePrefix(address); cidrErr == nil {
    					newAddress := address
    					if cidr.Bits() == cidr.Addr().BitLen() {
    						// /32 mask. Remove the /32 and make it a normal IP address
    						newAddress = cidr.Addr().String()
    					}
    					hostAddresses = append(hostAddresses, &HostAddress{hostname, newAddress})
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/math/big/int_test.go

    func TestBitLen(t *testing.T) {
    	for i, test := range bitLenTests {
    		x, ok := new(Int).SetString(test.in, 0)
    		if !ok {
    			t.Errorf("#%d test input invalid: %s", i, test.in)
    			continue
    		}
    
    		if n := x.BitLen(); n != test.out {
    			t.Errorf("#%d got %d want %d", i, n, test.out)
    		}
    	}
    }
    
    var expTests = []struct {
    	x, y, m string
    	out     string
    }{
    	// y <= 0
    	{"0", "0", "", "1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  4. src/net/netip/netip_test.go

    	test("IPv6Unspecified", func() { sinkIP = IPv6Unspecified() })
    
    	// Addr methods
    	test("Addr.IsZero", func() { sinkBool = MustParseAddr("1.2.3.4").IsZero() })
    	test("Addr.BitLen", func() { sinkBool = MustParseAddr("1.2.3.4").BitLen() == 8 })
    	test("Addr.Zone/4", func() { sinkBool = MustParseAddr("1.2.3.4").Zone() == "" })
    	test("Addr.Zone/6", func() { sinkBool = MustParseAddr("fe80::1").Zone() == "" })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class.go

    		inlineBlock, err := humanize.ParseBytes(inlineBlockStr)
    		if err != nil {
    			return cfg, err
    		}
    		if inlineBlock > 128*humanize.KiByte {
    			configLogOnceIf(context.Background(), fmt.Errorf("inline block value bigger than recommended max of 128KiB -> %s, performance may degrade for PUT please benchmark the changes", inlineBlockStr), inlineBlockStr)
    		}
    		cfg.inlineBlock = int64(inlineBlock)
    	} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. cmd/erasure-decode.go

    	// Fill buffers
    	b := globalBytePoolCap.Load().Get()
    	shardSize := int(e.ShardSize())
    	if cap(b) < len(readers)*shardSize {
    		// We should always have enough capacity, but older objects may be bigger.
    		globalBytePoolCap.Load().Put(b)
    		b = nil
    	} else {
    		// Seed the buffers.
    		for i := range bufs {
    			bufs[i] = b[i*shardSize : (i+1)*shardSize]
    		}
    	}
    
    	return &parallelReader{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/docker.md

    COPY ./requirements.txt /app/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
    
    COPY ./app /app
    ```
    
    ### Bigger Applications
    
    If you followed the section about creating [Bigger Applications with Multiple Files](../tutorial/bigger-applications.md){.internal-link target=_blank}, your `Dockerfile` might instead look like:
    
    ```Dockerfile hl_lines="7"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses_test.go

    		args       []string
    		success    bool
    	}{
    		// Invalid input.
    		{"", []string{}, false},
    		// Range cannot be negative.
    		{":9000", []string{"/export1{-1...1}"}, false},
    		// Range cannot start bigger than end.
    		{":9000", []string{"/export1{64...1}"}, false},
    		// Range can only be numeric.
    		{":9000", []string{"/export1{a...z}"}, false},
    		// Duplicate disks not allowed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho_combine_dwarf.go

    )
    
    type loadCmd struct {
    	Cmd macho.LoadCmd
    	Len uint32
    }
    
    type dyldInfoCmd struct {
    	Cmd                      macho.LoadCmd
    	Len                      uint32
    	RebaseOff, RebaseLen     uint32
    	BindOff, BindLen         uint32
    	WeakBindOff, WeakBindLen uint32
    	LazyBindOff, LazyBindLen uint32
    	ExportOff, ExportLen     uint32
    }
    
    type linkEditDataCmd struct {
    	Cmd              macho.LoadCmd
    	Len              uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/encoding/json/encode_test.go

    		}
    		for _, re := range bad {
    			if re.MatchString(out) {
    				t.Errorf("Marshal(%T(%g)) = %q; must not match /%s/", vf, vf, out, re)
    				nfail++
    				return
    			}
    		}
    	}
    
    	var (
    		bigger  = math.Inf(+1)
    		smaller = math.Inf(-1)
    	)
    
    	var digits = "1.2345678901234567890123"
    	for i := len(digits); i >= 2; i-- {
    		if testing.Short() && i < len(digits)-4 {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top