Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 86 for biglen (0.23 sec)

  1. fastapi/applications.py

                    [FastAPI docs for Additional Responses in OpenAPI](https://fastapi.tiangolo.com/advanced/additional-responses/).
    
                    And in the
                    [FastAPI docs for Bigger Applications](https://fastapi.tiangolo.com/tutorial/bigger-applications/#include-an-apirouter-with-a-custom-prefix-tags-responses-and-dependencies).
                    """
                ),
            ] = None,
            callbacks: Annotated[
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. src/runtime/map_fast64.go

    		x.k = add(unsafe.Pointer(x.b), dataOffset)
    		x.e = add(x.k, abi.MapBucketCount*8)
    
    		if !h.sameSizeGrow() {
    			// Only calculate y pointers if we're growing bigger.
    			// Otherwise GC can see bad pointers.
    			y := &xy[1]
    			y.b = (*bmap)(add(h.buckets, (oldbucket+newbit)*uintptr(t.BucketSize)))
    			y.k = add(unsafe.Pointer(y.b), dataOffset)
    			y.e = add(y.k, abi.MapBucketCount*8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/crypto/x509/x509.go

    // matches ASN.1, but differs from almost everything else.
    func asn1BitLength(bitString []byte) int {
    	bitLen := len(bitString) * 8
    
    	for i := range bitString {
    		b := bitString[len(bitString)-i-1]
    
    		for bit := uint(0); bit < 8; bit++ {
    			if (b>>bit)&1 == 1 {
    				return bitLen
    			}
    			bitLen--
    		}
    	}
    
    	return 0
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof.go

    	// The loop should only execute one iteration in the common case.
    	var p []profilerecord.MemProfileRecord
    	n, ok := pprof_memProfileInternal(nil, true)
    	for {
    		// Allocate room for a slightly bigger profile,
    		// in case a few more entries have been added
    		// since the call to MemProfile.
    		p = make([]profilerecord.MemProfileRecord, n+50)
    		n, ok = pprof_memProfileInternal(p, true)
    		if ok {
    			p = p[0:n]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/flowcontrol/v1/types.go

    	// Limited priority levels in proportion to their NCS values:
    	//
    	// NominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs )
    	// sum_ncs = sum[priority level k] NCS(k)
    	//
    	// Bigger numbers mean a larger nominal concurrency limit,
    	// at the expense of every other priority level.
    	//
    	// If not specified, this field defaults to a value of 30.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(
            "Modifying the builder should not have changed any already" + " built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
        Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]);
        assertEquals(0x00BFFF, (int) appendColorArray[216]);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0);
        }
    
        // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger
        assertEquals(3327428144502L, BloomFilter.optimalNumOfBits(Integer.MAX_VALUE, Double.MIN_VALUE));
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. src/runtime/map_faststr.go

    		x.k = add(unsafe.Pointer(x.b), dataOffset)
    		x.e = add(x.k, abi.MapBucketCount*2*goarch.PtrSize)
    
    		if !h.sameSizeGrow() {
    			// Only calculate y pointers if we're growing bigger.
    			// Otherwise GC can see bad pointers.
    			y := &xy[1]
    			y.b = (*bmap)(add(h.buckets, (oldbucket+newbit)*uintptr(t.BucketSize)))
    			y.k = add(unsafe.Pointer(y.b), dataOffset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/runtime/map_fast32.go

    		x.k = add(unsafe.Pointer(x.b), dataOffset)
    		x.e = add(x.k, abi.MapBucketCount*4)
    
    		if !h.sameSizeGrow() {
    			// Only calculate y pointers if we're growing bigger.
    			// Otherwise GC can see bad pointers.
    			y := &xy[1]
    			y.b = (*bmap)(add(h.buckets, (oldbucket+newbit)*uintptr(t.BucketSize)))
    			y.k = add(unsafe.Pointer(y.b), dataOffset)
    			y.e = add(y.k, abi.MapBucketCount*4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_server.go

    			c.sendAlert(alertBadCertificate)
    			return errors.New("tls: failed to parse client certificate: " + err.Error())
    		}
    		if certs[i].PublicKeyAlgorithm == x509.RSA {
    			n := certs[i].PublicKey.(*rsa.PublicKey).N.BitLen()
    			if max, ok := checkKeySize(n); !ok {
    				c.sendAlert(alertBadCertificate)
    				return fmt.Errorf("tls: client sent certificate containing RSA key larger than %d bits", max)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top