Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for gcbits (0.1 sec)

  1. src/math/big/float_test.go

    // addition/subtraction of arguments represented by Bits values with the
    // respective Float addition/subtraction for a variety of precisions
    // and rounding modes.
    func TestFloatAdd(t *testing.T) {
    	for _, xbits := range bitsList {
    		for _, ybits := range bitsList {
    			// exact values
    			x := xbits.Float()
    			y := ybits.Float()
    			zbits := xbits.add(ybits)
    			z := zbits.Float()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/gcsizes.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types2
    
    type gcSizes struct {
    	WordSize int64 // word size in bytes - must be >= 4 (32bits)
    	MaxAlign int64 // maximum alignment in bytes - must be >= 1
    }
    
    func (s *gcSizes) Alignof(T Type) (result int64) {
    	defer func() {
    		assert(result >= 1)
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/policy_static.go

    			Preferred:        false,
    		})
    	})
    
    	// Loop back through all hints and update the 'Preferred' field based on
    	// counting the number of bits sets in the affinity mask and comparing it
    	// to the minAffinitySize. Only those with an equal number of bits set (and
    	// with a minimal set of numa nodes) will be considered preferred.
    	for i := range hints {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/riscv/obj.go

    // immIFits checks whether the immediate value x fits in nbits bits
    // as a signed integer. If it does not, an error is returned.
    func immIFits(x int64, nbits uint) error {
    	nbits--
    	min := int64(-1) << nbits
    	max := int64(1)<<nbits - 1
    	if x < min || x > max {
    		if nbits <= 16 {
    			return fmt.Errorf("signed immediate %d must be in range [%d, %d] (%d bits)", x, min, max, nbits)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/LongMath.java

                result *= n;
                result /= i;
              }
              return result;
            } else {
              int nBits = LongMath.log2(n, RoundingMode.CEILING);
    
              long result = 1;
              long numerator = n--;
              long denominator = 1;
    
              int numeratorBits = nBits;
              // This is an upper bound on log2(numerator, ceiling).
    
              /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/sizes.go

    //     types are naturally aligned with a maximum alignment MaxAlign.
    //
    // *StdSizes implements Sizes.
    type StdSizes struct {
    	WordSize int64 // word size in bytes - must be >= 4 (32bits)
    	MaxAlign int64 // maximum alignment in bytes - must be >= 1
    }
    
    func (s *StdSizes) Alignof(T Type) (result int64) {
    	defer func() {
    		assert(result >= 1)
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/dwarf.go

    }
    
    // addDwarfAddrField adds a DWARF field in DWARF 64bits or 32bits.
    func (d *dwctxt) addDwarfAddrField(sb *loader.SymbolBuilder, v uint64) {
    	if isDwarf64(d.linkctxt) {
    		sb.AddUint(d.arch, v)
    	} else {
    		sb.AddUint32(d.arch, uint32(v))
    	}
    }
    
    // addDwarfAddrRef adds a DWARF pointer in DWARF 64bits or 32bits.
    func (d *dwctxt) addDwarfAddrRef(sb *loader.SymbolBuilder, t loader.Sym) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. src/go/types/sizes.go

    //     types are naturally aligned with a maximum alignment MaxAlign.
    //
    // *StdSizes implements Sizes.
    type StdSizes struct {
    	WordSize int64 // word size in bytes - must be >= 4 (32bits)
    	MaxAlign int64 // maximum alignment in bytes - must be >= 1
    }
    
    func (s *StdSizes) Alignof(T Type) (result int64) {
    	defer func() {
    		assert(result >= 1)
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go

    		},
    		{
    			name:         "Get bits of mask 01",
    			bits:         []int{0},
    			expectedBits: []int{0},
    		},
    		{
    			name:         "Get bits of mask 11",
    			bits:         []int{0, 1},
    			expectedBits: []int{0, 1},
    		},
    	}
    	for _, tc := range tcases {
    		mask, _ := NewBitMask(tc.bits...)
    		bits := mask.GetBits()
    		if !reflect.DeepEqual(bits, tc.expectedBits) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  10. docs/fr/docs/contributing.md

    De nombreux tutoriels comportent des blocs de code.
    
    Dans la plupart des cas, ces blocs de code sont de véritables applications complètes qui peuvent être exécutées telles quelles.
    
    En fait, ces blocs de code ne sont pas écrits à l'intérieur du Markdown, ce sont des fichiers Python dans le répertoire `./docs_src/`.
    
    Et ces fichiers Python sont inclus/injectés dans la documentation lors de la génération du site.
    
    ### Documentation pour les tests
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:51:07 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top