Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 370 for biglen (0.27 sec)

  1. src/cmd/compile/internal/ssa/magic.go

    func umagic(n uint, c int64) umagicData {
    	// Convert from ConstX auxint values to the real uint64 constant they represent.
    	d := uint64(c) << (64 - n) >> (64 - n)
    
    	C := new(big.Int).SetUint64(d)
    	s := C.BitLen()
    	M := big.NewInt(1)
    	M.Lsh(M, n+uint(s))     // 2^(n+s)
    	M.Add(M, C)             // 2^(n+s)+c
    	M.Sub(M, big.NewInt(1)) // 2^(n+s)+c-1
    	M.Div(M, C)             // ⎡2^(n+s)/c⎤
    	if M.Bit(int(n)) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    无论路径装饰器依赖项是否返回值,路径操作都不会使用这些值。
    
    因此,可以复用在其他位置使用过的、(能返回值的)普通依赖项,即使没有使用这个值,也会执行该依赖项:
    
    ```Python hl_lines="9  14"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ## 为一组路径操作定义依赖项
    
    稍后,[大型应用 - 多文件](../../tutorial/bigger-applications.md){.internal-link target=\_blank}一章中会介绍如何使用多个文件创建大型应用程序,在这一章中,您将了解到如何为一组*路径操作*声明单个 `dependencies` 参数。
    
    ## 全局依赖项
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. src/go/constant/value.go

    		return makeRat(x)
    	case *big.Float:
    		return makeFloat(x)
    	default:
    		return unknownVal{}
    	}
    }
    
    // BitLen returns the number of bits required to represent
    // the absolute value x in binary representation; x must be an [Int] or an [Unknown].
    // If x is [Unknown], the result is 0.
    func BitLen(x Value) int {
    	switch x := x.(type) {
    	case int64Val:
    		u := uint64(x)
    		if x < 0 {
    			u = uint64(-x)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/testing.md

    ## 🎏 💯
    
    🎰 🈸, 👆 🎲 🔜 ✔️ 👆 💯 🎏 📁.
    
    &amp; 👆 **FastAPI** 🈸 5️⃣📆 ✍ 📚 📁/🕹, ♒️.
    
    ### **FastAPI** 📱 📁
    
    ➡️ 💬 👆 ✔️ 📁 📊 🔬 [🦏 🈸](bigger-applications.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    📁 `main.py` 👆 ✔️ 👆 **FastAPI** 📱:
    
    
    ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    			pod:         testPod5,
    			expectedCPU: 5,
    		},
    		{
    			name:        "TestCase06: The number of CPUs requested By app is bigger than the number of CPUs requested by init",
    			pod:         testPod6,
    			expectedCPU: 5,
    		},
    		{
    			name:        "TestCase07: The number of CPUs requested By init is bigger than the number of CPUs requested by app",
    			pod:         testPod7,
    			expectedCPU: 5,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. test/64bit.go

    			var div, mod Int64
    			dodiv := false
    			var zero Int64
    			if b.Cmp(zero) != 0 {	// b != 0
    				// Can't divide by zero but also can't divide -0x8000...000 by -1.
    				var bigneg = Int64{-0x80000000, 0}
    				var minus1 = Int64{-1, ^uint32(0)}
    				if a.Cmp(bigneg) != 0 || b.Cmp(minus1) != 0 {	// a != -1<<63 || b != -1
    					div, mod = a.DivMod(b)
    					dodiv = true
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 30 19:21:08 UTC 2013
    - 24.8K bytes
    - Viewed (0)
  7. cluster/gce/config-common.sh

        suggested_range="10.64.0.0/11"
      fi
      echo "${suggested_range}"
    }
    
    # Calculate ip alias range based on max number of pods.
    # Let pow be the smallest integer which is bigger or equal to log2($1 * 2).
    # (32 - pow) will be returned.
    #
    # $1: The number of max pods limitation.
    function get-alias-range-size() {
      for pow in {0..31}; do
        if (( 1 << pow >= $1 * 2 )); then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:06:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/runtime/memclr_amd64.s

    	VPXOR X0, X0, X0
    	// At this point both ERMS and AVX2 is supported. While REP STOS can use a no-RFO
    	// write protocol, ERMS could show the same or slower performance comparing to
    	// Non-Temporal Stores when the size is bigger than LLC depending on hardware.
    	CMPQ	BX, $0x2000000
    	JAE	loop_preheader_avx2_huge
    
    loop_erms:
    	// STOSQ is used to guarantee that the whole zeroed pointer-sized word is visible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:52:34 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

                    /*
                     * This is purely for backward-compat with 2.x where <extensions> consisting of a single artifact where
                     * loaded into the core and hence available to plugins, in contrast to bigger extensions that were
                     * loaded into a dedicated realm which is invisible to plugins (MNG-2749).
                     */
                    publicArtifacts.addAll(artifacts);
                }
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        ```Python hl_lines="9  14"
        {!> ../../../docs_src/dependencies/tutorial006.py!}
        ```
    
    ## *경로 작동* 모음에 대한 의존성
    
    나중에 여러 파일을 가지고 있을 수 있는 더 큰 애플리케이션을 구조화하는 법([더 큰 애플리케이션 - 여러 파일들](../../tutorial/bigger-applications.md){.internal-link target=_blank})을 읽을 때, *경로 작동* 모음에 대한 단일 `dependencies` 매개변수를 선언하는 법에 대해서 배우게 될 것입니다.
    
    ## 전역 의존성
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 11 13:49:45 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top