Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for bigN (0.05 sec)

  1. src/crypto/x509/x509_test.go

    	}
    }
    
    func bigFromString(s string) *big.Int {
    	ret := new(big.Int)
    	ret.SetString(s, 10)
    	return ret
    }
    
    func fromBase10(base10 string) *big.Int {
    	i := new(big.Int)
    	i.SetString(base10, 10)
    	return i
    }
    
    func bigFromHexString(s string) *big.Int {
    	ret := new(big.Int)
    	ret.SetString(s, 16)
    	return ret
    }
    
    var rsaPrivateKey = &rsa.PrivateKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/data.go

    	// not require trampoline generation.
    	big := false
    	for _, s := range ctxt.Textp {
    		sect, n, va = assignAddress(ctxt, sect, n, s, va, false, big)
    		if va-start >= limit {
    			big = true
    			break
    		}
    	}
    
    	// Second pass: only if it is too big, insert trampolines for too-far
    	// jumps and targets with unknown addresses.
    	if big {
    		// reset addresses
    		for _, s := range ctxt.Textp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  3. src/crypto/x509/verify_test.go

    	priv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, _ := rand.Int(rand.Reader, serialNumberLimit)
    
    	template := &Certificate{
    		SerialNumber: serialNumber,
    		Subject:      pkix.Name{CommonName: cn},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/asm9.go

    			a.Reg = REGSP
    			c.instoffset = int64(c.autosize) + a.Offset
    			if c.instoffset >= -BIG && c.instoffset < BIG {
    				return C_SOREG
    			}
    			return C_LOREG
    
    		case obj.NAME_PARAM:
    			a.Reg = REGSP
    			c.instoffset = int64(c.autosize) + a.Offset + c.ctxt.Arch.FixedFrameSize
    			if c.instoffset >= -BIG && c.instoffset < BIG {
    				return C_SOREG
    			}
    			return C_LOREG
    
    		case obj.NAME_NONE:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    	type ΦExported struct{}
    	type φUnexported struct{}
    	type BigP *big
    	type P int
    	type p *P
    	type P2 p
    	type p3 p
    
    	type exportTest struct {
    		v    any
    		want bool
    	}
    	exportTests := []exportTest{
    		{D1{}, true},
    		{(*D1)(nil), true},
    		{big{}, false},
    		{(*big)(nil), false},
    		{(BigP)(nil), true},
    		{(*BigP)(nil), true},
    		{ΦExported{}, true},
    		{φUnexported{}, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/s390x/asmz.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
    - 176.7K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    		wantEOFSearch: true,
    		wantNextReq:   false,
    	},
    
    	// Big with Content-Length, so give up immediately if we know it's too big.
    	4: {
    		bodySize:      1 << 20,
    		bodyChunked:   false, // has a Content-Length
    		reqConnClose:  false,
    		wantEOFSearch: false,
    		wantNextReq:   false,
    	},
    
    	// Big chunked, so read a bit before giving up.
    	5: {
    		bodySize:      1 << 20,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/debug/elf/elf.go

    type Data byte
    
    const (
    	ELFDATANONE Data = 0 /* Unknown data format. */
    	ELFDATA2LSB Data = 1 /* 2's complement little-endian. */
    	ELFDATA2MSB Data = 2 /* 2's complement big-endian. */
    )
    
    var dataStrings = []intName{
    	{0, "ELFDATANONE"},
    	{1, "ELFDATA2LSB"},
    	{2, "ELFDATA2MSB"},
    }
    
    func (i Data) String() string   { return stringName(uint32(i), dataStrings, false) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	for i := 0; i < 10*1024; i++ {
    		buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line))
    	}
    	putContent := buffer.String()
    
    	buf := bytes.NewReader([]byte(putContent))
    
    	objectName := "test-big-object"
    	// create HTTP request for object upload.
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buf.Len()), buf, s.accessKey, s.secretKey, s.signer)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/exec.go

    	{'!', '<', 'a', 'r', 'c', 'h', '>', '\n'}, // Package archive
    	{'<', 'b', 'i', 'g', 'a', 'f', '>', '\n'}, // Package AIX big archive
    	{'\x7F', 'E', 'L', 'F'},                   // ELF
    	{0xFE, 0xED, 0xFA, 0xCE},                  // Mach-O big-endian 32-bit
    	{0xFE, 0xED, 0xFA, 0xCF},                  // Mach-O big-endian 64-bit
    	{0xCE, 0xFA, 0xED, 0xFE},                  // Mach-O little-endian 32-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top