Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for big4 (0.05 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		got    infDecAmount
    		expect string
    	}{
    		{bigDec(big.NewInt(1), 0), "1"},
    		{bigDec(big.NewInt(1), 1), "10"},
    		{bigDec(big.NewInt(5), 2), "500"},
    		{bigDec(big.NewInt(8), 3), "8000"},
    		{bigDec(big.NewInt(2), 0), "2"},
    		{bigDec(big.NewInt(1), -1), "0.1"},
    		{bigDec(big.NewInt(3), -2), "0.03"},
    		{bigDec(big.NewInt(4), -3), "0.004"},
    		{bigDec(big.NewInt(0).Add(bigMostPositive, big.NewInt(1)), 0), "9223372036854775808"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/mips/asm0.go

    			}
    			c.instoffset = int64(c.autosize) + a.Offset + c.ctxt.Arch.FixedFrameSize
    			if c.instoffset >= -BIG && c.instoffset < BIG {
    				return C_SAUTO
    			}
    			return C_LAUTO
    
    		case obj.NAME_NONE:
    			c.instoffset = a.Offset
    			if c.instoffset == 0 {
    				return C_ZOREG
    			}
    			if c.instoffset >= -BIG && c.instoffset < BIG {
    				return C_SOREG
    			}
    			return C_LOREG
    		}
    
    		return C_GOK
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/loong64/asm.go

    			}
    			c.instoffset = int64(c.autosize) + a.Offset + c.ctxt.Arch.FixedFrameSize
    			if c.instoffset >= -BIG && c.instoffset < BIG {
    				return C_SAUTO
    			}
    			return C_LAUTO
    
    		case obj.NAME_NONE:
    			c.instoffset = a.Offset
    			if c.instoffset == 0 {
    				return C_ZOREG
    			}
    			if c.instoffset >= -BIG && c.instoffset < BIG {
    				return C_SOREG
    			}
    			return C_LOREG
    
    		case obj.NAME_GOTREF:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  4. src/time/time_test.go

    }
    
    func TestTruncateRound(t *testing.T) {
    	var (
    		bsec  = new(big.Int)
    		bnsec = new(big.Int)
    		bd    = new(big.Int)
    		bt    = new(big.Int)
    		br    = new(big.Int)
    		bq    = new(big.Int)
    		b1e9  = new(big.Int)
    	)
    
    	b1e9.SetInt64(1e9)
    
    	testOne := func(ti, tns, di int64) bool {
    		t.Helper()
    
    		t0 := Unix(ti, tns).UTC()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/crypto/x509/x509.go

    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"crypto/sha1"
    	"crypto/x509/pkix"
    	"encoding/asn1"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io"
    	"math/big"
    	"net"
    	"net/url"
    	"strconv"
    	"time"
    	"unicode"
    
    	// Explicitly import these for their crypto.RegisterHash init side-effects.
    	// Keep these as blank imports, even if they're imported above.
    	_ "crypto/sha1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  6. src/math/big/int_test.go

    // Copyright 2009 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.
    
    package big
    
    import (
    	"bytes"
    	"encoding/hex"
    	"fmt"
    	"internal/testenv"
    	"math"
    	"math/rand"
    	"strconv"
    	"strings"
    	"testing"
    	"testing/quick"
    )
    
    func isNormalized(x *Int) bool {
    	if len(x.abs) == 0 {
    		return !x.neg
    	}
    	// len(x.abs) > 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  7. src/runtime/map.go

    		throw("elem size wrong")
    	}
    	if t.Key.Align_ > abi.MapBucketCount {
    		throw("key align too big")
    	}
    	if t.Elem.Align_ > abi.MapBucketCount {
    		throw("elem align too big")
    	}
    	if t.Key.Size_%uintptr(t.Key.Align_) != 0 {
    		throw("key size not a multiple of key align")
    	}
    	if t.Elem.Size_%uintptr(t.Elem.Align_) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. pilot/pkg/model/sidecar_test.go

    		benchmarkConvertIstioListenerToWrapper(b, 100, 10, "", true)
    	})
    
    	b.Run("big-exact", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 300, 15, "", false)
    	})
    	b.Run("big-wildcard", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 300, 15, "*.", false)
    	})
    	b.Run("big-match-all", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 300, 15, "", true)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof_test.go

    func TestMathBigDivide(t *testing.T) {
    	testCPUProfile(t, nil, func(duration time.Duration) {
    		t := time.After(duration)
    		pi := new(big.Int)
    		for {
    			for i := 0; i < 100; i++ {
    				n := big.NewInt(2646693125139304345)
    				d := big.NewInt(842468587426513207)
    				pi.Div(n, d)
    			}
    			select {
    			case <-t:
    				return
    			default:
    			}
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  10. src/crypto/tls/tls_test.go

    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/asn1"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"math"
    	"math/big"
    	"net"
    	"os"
    	"reflect"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    var rsaCertPEM = `-----BEGIN CERTIFICATE-----
    MIIB0zCCAX2gAwIBAgIJAI/M7BYjwB+uMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
Back to top