Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 178 for biglen (0.12 sec)

  1. docs/ru/docs/tutorial/testing.md

    Кроме того, Ваше приложение **FastAPI** может состоять из нескольких файлов, модулей и т.п.
    
    ### Файл приложения **FastAPI**
    
    Допустим, структура файлов Вашего приложения похожа на ту, что описана на странице [Более крупные приложения](bigger-applications.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. pkg/registry/core/service/ipallocator/cidrallocator.go

    }
    
    func (c *MetaAllocator) getAllocator(ip net.IP) (*Allocator, error) {
    	c.muTree.Lock()
    	defer c.muTree.Unlock()
    
    	address := ipToAddr(ip)
    	prefix := netip.PrefixFrom(address, address.BitLen())
    	// Use the largest subnet to allocate addresses because
    	// all the other subnets will be contained.
    	_, allocator, ok := c.tree.ShortestPrefixMatch(prefix)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. cmd/object-api-errors.go

    func (e PartTooSmall) Error() string {
    	return fmt.Sprintf("Part size for %d should be at least 5MB", e.PartNumber)
    }
    
    // PartTooBig returned if size of part is bigger than the allowed limit.
    type PartTooBig struct{}
    
    func (e PartTooBig) Error() string {
    	return "Part size bigger than the allowed limit"
    }
    
    // InvalidETag error returned when the etag has changed on disk
    type InvalidETag struct{}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc

    //
    // Note that in case of many reported paths this can be inefficient since we
    // perform one BFS per path. However, the vast majority of paths should not be
    // reported so this should be fine (otherwise we have bigger problems). Also,
    // the expected path length is very small (typically < 5) which means that BFS
    // searches should terminate quickly (this makes BFS preferable to DFS).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/check.go

    		}
    
    		for _, v := range b.Values {
    			// Check to make sure argument count makes sense (argLen of -1 indicates
    			// variable length args)
    			nArgs := opcodeTable[v.Op].argLen
    			if nArgs != -1 && int32(len(v.Args)) != nArgs {
    				f.Fatalf("value %s has %d args, expected %d", v.LongString(),
    					len(v.Args), nArgs)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/math/big/float.go

    // If z's precision is 0, it is changed to the larger of x.BitLen()
    // or 64 (and rounding will have no effect).
    func (z *Float) SetInt(x *Int) *Float {
    	// TODO(gri) can be more efficient if z.prec > 0
    	// but small compared to the size of x, or if there
    	// are many trailing 0's.
    	bits := uint32(x.BitLen())
    	if z.prec == 0 {
    		z.prec = umax32(bits, 64)
    	}
    	z.acc = Exact
    	z.neg = x.neg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  7. src/math/big/natconv_test.go

    }
    
    func itoa(x nat, base int) []byte {
    	// special cases
    	switch {
    	case base < 2:
    		panic("illegal base")
    	case len(x) == 0:
    		return []byte("0")
    	}
    
    	// allocate buffer for conversion
    	i := x.bitLen()/log2(Word(base)) + 1 // +1: round up
    	s := make([]byte, i)
    
    	// don't destroy x
    	q := nat(nil).set(x)
    
    	// convert
    	for len(q) > 0 {
    		i--
    		var r Word
    		q, r = q.divW(q, Word(base))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 16.8K bytes
    - Viewed (0)
  8. samples/extauthz/cmd/extauthz/main.go

    	signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
    	<-sigs
    }
    
    func returnIfNotTooLong(body string) string {
    	// Maximum size of a header accepted by Envoy is 60KiB, so when the request body is bigger than 60KB,
    	// we don't return it in a response header to avoid rejecting it by Envoy and returning 431 to the client
    	if len(body) > 60000 {
    		return "<too-long>"
    	}
    	return body
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. cmd/utils_test.go

    func TestMaxPartID(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		partN int
    	}{
    		// Test - 1 part number within max part number.
    		{
    			false,
    			globalMaxPartID - 1,
    		},
    		// Test - 2 part number bigger than max part number.
    		{
    			true,
    			globalMaxPartID + 1,
    		},
    	}
    
    	for i, s := range sizes {
    		isMax := isMaxPartID(s.partN)
    		if isMax != s.isMax {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/net/mail/message_test.go

    		},
    		// Comment as display name, Q-encoded
    		{
    			`******@****.*** (Adam =?utf-8?Q?Sj=C3=B8gren?=)`,
    			[]*Address{
    				{
    					Name:    "Adam Sjøgren",
    					Address: "******@****.***",
    				},
    			},
    		},
    		// Comment as display name, Q-encoded and tab-separated
    		{
    			`******@****.*** (Adam	=?utf-8?Q?Sj=C3=B8gren?=)`,
    			[]*Address{
    				{
    					Name:    "Adam Sjøgren",
    					Address: "******@****.***",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top