Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 197 for bigN (0.26 sec)

  1. src/cmd/compile/internal/typecheck/const.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package typecheck
    
    import (
    	"fmt"
    	"go/constant"
    	"go/token"
    	"math"
    	"math/big"
    	"unicode"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/types"
    )
    
    func roundFloat(v constant.Value, sz int64) constant.Value {
    	switch sz {
    	case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. src/debug/buildinfo/buildinfo.go

    // The build info blob left by the linker is identified by
    // a 16-byte header, consisting of buildInfoMagic (14 bytes),
    // the binary's pointer size (1 byte),
    // and whether the binary is big endian (1 byte).
    var buildInfoMagic = []byte("\xff Go buildinf:")
    
    // ReadFile returns build information embedded in a Go binary
    // file at the given path. Most information is only available for binaries built
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Chars.java

        int pos = 0;
        for (char[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putChar(value).array()}. For example, the input value {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/net/mail/message_test.go

    				},
    				{
    					Name:    "Who?",
    					Address: "******@****.***",
    				},
    			},
    		},
    		{
    			`<******@****.***>, "Giant; \"Big\" Box" <******@****.***>`,
    			[]*Address{
    				{
    					Address: "******@****.***",
    				},
    				{
    					Name:    `Giant; "Big" Box`,
    					Address: "******@****.***",
    				},
    			},
    		},
    		// RFC 5322, Appendix A.6.1
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/nilcheck_test.go

    // benchmarkNilCheckDeep is a stress test of nilcheckelim.
    // It uses the worst possible input: A linear string of
    // nil checks, none of which can be eliminated.
    // Run with multiple depths to observe big-O behavior.
    func benchmarkNilCheckDeep(b *testing.B, depth int) {
    	c := testConfig(b)
    	ptrType := c.config.Types.BytePtr
    
    	var blocs []bloc
    	blocs = append(blocs,
    		Bloc("entry",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    			reject:  "decoding tagged positive bigint value to interface{} can't reproduce this value without losing distinction between float and integer",
    			fixme:   "decoding bigint to interface{} must not produce math/big.Int",
    		},
    		{
    			example: hex("3bffffffffffffffff"),
    			reject:  "-2^64-1 overflows int64 and falling back to float64 (as with JSON) loses distinction between float and integer",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/image/gif/reader_test.go

    	copy(gif, testGIF)
    	// Make the bounds too big, just by one.
    	gif[32] = 2
    	want := "gif: frame bounds larger than image bounds"
    	try(t, gif, want)
    
    	// Make the bounds too small; does not trigger bounds
    	// check, but now there's too much data.
    	gif[32] = 0
    	want = "gif: too much image data"
    	try(t, gif, want)
    	gif[32] = 1
    
    	// Make the bounds really big, expect an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/crypto/tls/boring_test.go

    import (
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/internal/boring/fipstls"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/pem"
    	"fmt"
    	"internal/obscuretestdata"
    	"math/big"
    	"net"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestBoringServerProtocolVersion(t *testing.T) {
    	test := func(t *testing.T, name string, v uint16, msg string) {
    		t.Run(name, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. src/math/big/int.go

    }
    
    // SetBytes interprets buf as the bytes of a big-endian unsigned
    // integer, sets z to that value, and returns z.
    func (z *Int) SetBytes(buf []byte) *Int {
    	z.abs = z.abs.setBytes(buf)
    	z.neg = false
    	return z
    }
    
    // Bytes returns the absolute value of x as a big-endian byte slice.
    //
    // To use a fixed length slice, or a preallocated one, use [Int.FillBytes].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Shorts.java

        int pos = 0;
        for (short[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
Back to top