Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for big4 (0.13 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. pkg/apis/certificates/validation/validation_test.go

    	goodCert1 := mustMakeCertificate(t, &x509.Certificate{
    		SerialNumber: big.NewInt(0),
    		Subject: pkix.Name{
    			CommonName: "root1",
    		},
    		IsCA:                  true,
    		BasicConstraintsValid: true,
    	})
    
    	goodCert2 := mustMakeCertificate(t, &x509.Certificate{
    		SerialNumber: big.NewInt(0),
    		Subject: pkix.Name{
    			CommonName: "root2",
    		},
    		IsCA:                  true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/encoding/json/decode_test.go

    	Slice     []string
    	Interface any
    
    	PRaw    *RawMessage
    	PTime   *time.Time
    	PBigInt *big.Int
    	PText   *MustNotUnmarshalText
    	PBuffer *bytes.Buffer // has methods, just not relevant ones
    	PStruct *struct{}
    
    	Raw    RawMessage
    	Time   time.Time
    	BigInt big.Int
    	Text   MustNotUnmarshalText
    	Buffer bytes.Buffer
    	Struct struct{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  7. 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)
  8. src/regexp/syntax/parse.go

    }
    
    func parse(s string, flags Flags) (_ *Regexp, err error) {
    	defer func() {
    		switch r := recover(); r {
    		default:
    			panic(r)
    		case nil:
    			// ok
    		case ErrLarge: // too big
    			err = &Error{Code: ErrLarge, Expr: s}
    		case ErrNestingDepth:
    			err = &Error{Code: ErrNestingDepth, Expr: s}
    		}
    	}()
    
    	if flags&Literal != 0 {
    		// Trivial parser for literal string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ppc64/asm.go

    	}
    	return true
    }
    
    func elfreloc1(ctxt *ld.Link, out *ld.OutBuf, ldr *loader.Loader, s loader.Sym, r loader.ExtReloc, ri int, sectoff int64) bool {
    	// Beware that bit0~bit15 start from the third byte of an instruction in Big-Endian machines.
    	rt := r.Type
    	if rt == objabi.R_ADDR || rt == objabi.R_POWER_TLS || rt == objabi.R_CALLPOWER || rt == objabi.R_DWARFSECREF {
    	} else {
    		if ctxt.Arch.ByteOrder == binary.BigEndian {
    			sectoff += 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  10. 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)
Back to top