Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 178 for biglen (0.38 sec)

  1. src/internal/reflectlite/value.go

    		return int(tt.Len)
    	case abi.Chan:
    		return chanlen(v.pointer())
    	case abi.Map:
    		return maplen(v.pointer())
    	case abi.Slice:
    		// Slice is bigger than a word; assume flagIndir.
    		return (*unsafeheader.Slice)(v.ptr).Len
    	case abi.String:
    		// String is bigger than a word; assume flagIndir.
    		return (*unsafeheader.String)(v.ptr).Len
    	}
    	panic(&ValueError{"reflect.Value.Len", v.kind()})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/net/ip.go

    		return nil, nil, &ParseError{Type: "CIDR address", Text: s}
    	}
    
    	n, i, ok := dtoi(mask)
    	if !ok || i != len(mask) || n < 0 || n > ipAddr.BitLen() {
    		return nil, nil, &ParseError{Type: "CIDR address", Text: s}
    	}
    	m := CIDRMask(n, ipAddr.BitLen())
    	addr16 := ipAddr.As16()
    	return IP(addr16[:]), &IPNet{IP: IP(addr16[:]).Mask(m), Mask: m}, nil
    }
    
    func copyIP(x IP) IP {
    	y := make(IP, len(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/math/big/nat.go

    	}
    	return z
    }
    
    func putNat(x *nat) {
    	natPool.Put(x)
    }
    
    var natPool sync.Pool
    
    // bitLen returns the length of x in bits.
    // Unlike most methods, it works even if x is not normalized.
    func (x nat) bitLen() int {
    	// This function is used in cryptographic operations. It must not leak
    	// anything but the Int's sign and bit size through side-channels. Any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. src/runtime/stkframe.go

    }
    
    // reflectMethodValue is a partial duplicate of reflect.makeFuncImpl
    // and reflect.methodValue.
    type reflectMethodValue struct {
    	fn     uintptr
    	stack  *bitvector // ptrmap for both args and results
    	argLen uintptr    // just args
    }
    
    // argBytes returns the argument frame size for a call to frame.fn.
    func (frame *stkframe) argBytes() uintptr {
    	if frame.fn.args != abi.ArgsSizeUnknown {
    		return uintptr(frame.fn.args)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/LongMathTest.java

        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
        BigDecimal bigMean =
            new BigDecimal(bigX.add(bigY)).divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
        // parseInt blows up on overflow as opposed to intValue() which does not.
        return Long.parseLong(bigMean.toString());
      }
    
      private static boolean fitsInLong(BigInteger big) {
        return big.bitLength() <= 63;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/generate-clients.md

    Einige von diesen ✨ [**sponsern FastAPI**](../help-fastapi.md#den-autor-sponsern){.internal-link target=_blank} ✨, das gewährleistet die kontinuierliche und gesunde **Entwicklung** von FastAPI und seinem **Ökosystem**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Apr 03 03:42:11 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. src/math/big/int.go

    	x.abs.bytes(buf)
    	return buf
    }
    
    // BitLen returns the length of the absolute value of x in bits.
    // The bit length of 0 is 0.
    func (x *Int) BitLen() int {
    	// This function is used in cryptographic operations. It must not leak
    	// anything but the Int's sign and bit size through side-channels. Any
    	// changes must be reviewed by a security expert.
    	return x.abs.bitLen()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/settings.md

    &amp; ⤴️ `admin_email` ⚒ 🔜 ⚒ `"******@****.***"`.
    
    `app_name` 🔜 `"ChimichangApp"`.
    
    &amp; `items_per_user` 🔜 🚧 🚮 🔢 💲 `50`.
    
    ## ⚒ ➕1️⃣ 🕹
    
    👆 💪 🚮 👈 ⚒ ➕1️⃣ 🕹 📁 👆 👀 [🦏 🈸 - 💗 📁](../tutorial/bigger-applications.md){.internal-link target=_blank}.
    
    🖼, 👆 💪 ✔️ 📁 `config.py` ⏮️:
    
    ```Python
    {!../../../docs_src/settings/app01/config.py!}
    ```
    
    &amp; ⤴️ ⚙️ ⚫️ 📁 `main.py`:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(Collections.emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(Collections.emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
        try {
          Lists.newArrayListWithCapacity(-1);
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(Collections.emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(Collections.emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
        try {
          Lists.newArrayListWithCapacity(-1);
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top