Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 413 for bigN (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go

    		// use 0x7e00.
    		NaNConvert: cbor.NaNConvert7e00,
    		InfConvert: cbor.InfConvertFloat16,
    
    		// Prefer encoding math/big.Int to one of the 64-bit integer types if it fits. When
    		// later decoded into Unstructured, the set of allowable concrete numeric types is
    		// limited to int64 and float64, so the distinction between big integer and integer
    		// can't be preserved.
    		BigIntConvert: cbor.BigIntConvertShortest,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 15:31:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"math/big"
    	"strings"
    	"text/tabwriter"
    	"time"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/log"
    )
    
    // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/internal/abi/map.go

    	MapBucketCount     = 1 << MapBucketCountBits
    
    	// Maximum key or elem size to keep inline (instead of mallocing per element).
    	// Must fit in a uint8.
    	// Note: fast map functions cannot handle big elems (bigger than MapMaxElemBytes).
    	MapMaxKeyBytes  = 128
    	MapMaxElemBytes = 128 // Must fit in a uint8.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 20:09:01 UTC 2024
    - 719 bytes
    - Viewed (0)
  4. test/nilptr.go

    package main
    
    import "unsafe"
    
    // Having a big address space means that indexing
    // at a 256 MB offset from a nil pointer might not
    // cause a memory access fault. This test checks
    // that Go is doing the correct explicit checks to catch
    // these nil pointer accesses, not just relying on the hardware.
    var dummy [256 << 20]byte // give us a big address space
    
    func main() {
    	// the test only tests what we intend to test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. test/nilptr_aix.go

    // license that can be found in the LICENSE file.
    
    // Test that the implementation catches nil ptr indirection
    // in a large address space.
    
    //go:build aix
    
    package main
    
    import "unsafe"
    
    // Having a big address space means that indexing
    // at a 1G + 256 MB offset from a nil pointer might not
    // cause a memory access fault. This test checks
    // that Go is doing the correct explicit checks to catch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/math/big/arith_s390x_test.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build s390x && !math_big_pure_go
    
    package big
    
    import (
    	"testing"
    )
    
    // Tests whether the non vector routines are working, even when the tests are run on a
    // vector-capable machine
    
    func TestFunVVnovec(t *testing.T) {
    	if hasVX {
    		for _, a := range sumVV {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 770 bytes
    - Viewed (0)
  7. src/encoding/asn1/asn1.go

    	}
    	return int32(ret64), nil
    }
    
    var bigOne = big.NewInt(1)
    
    // parseBigInt treats the given bytes as a big-endian, signed integer and returns
    // the result.
    func parseBigInt(bytes []byte) (*big.Int, error) {
    	if err := checkInteger(bytes); err != nil {
    		return nil, err
    	}
    	ret := new(big.Int)
    	if len(bytes) > 0 && bytes[0]&0x80 == 0x80 {
    		// This is a negative number.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/magic.go

    	// 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 {
    		panic("n+1st bit isn't set")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. test/fixedbugs/issue67160.go

    // license that can be found in the LICENSE file.
    
    // Test to make sure that we don't try using larger loads for
    // generated equality functions on architectures that can't do
    // unaligned loads.
    
    package main
    
    // T has a big field that wants to be compared with larger loads/stores.
    // T is "special" because of the unnamed field, so it needs a generated equality function.
    // T is an odd number of bytes in size and has alignment 1.
    type T struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:34:04 UTC 2024
    - 767 bytes
    - Viewed (0)
  10. ci/official/envs/disk_cache

    # Sourcing this enables local disk cache
    if [[ $(uname -s) == "Darwin" ]]; then
      echo "Please note that using disk cache on macOS is not recommended because the"
      echo "cache can end up being pretty big and make the build process inefficient."
    fi
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 1023 bytes
    - Viewed (0)
Back to top