Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 197 for bigN (0.62 sec)

  1. src/crypto/x509/parser.go

    		}
    		return ecdh.X25519().NewPublicKey(der)
    	case oid.Equal(oidPublicKeyDSA):
    		y := new(big.Int)
    		if !der.ReadASN1Integer(y) {
    			return nil, errors.New("x509: invalid DSA public key")
    		}
    		pub := &dsa.PublicKey{
    			Y: y,
    			Parameters: dsa.Parameters{
    				P: new(big.Int),
    				Q: new(big.Int),
    				G: new(big.Int),
    			},
    		}
    		paramsDer := cryptobyte.String(params.FullBytes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/iimport.go

    	io.ReadFull(&r.declReader, b)
    	x.SetBytes(b)
    	if signed && n&1 != 0 {
    		x.Neg(x)
    	}
    }
    
    func (r *importReader) mpfloat(typ *types.Basic) constant.Value {
    	var mant big.Int
    	r.mpint(&mant, typ)
    	var f big.Float
    	f.SetInt(&mant)
    	if f.Sign() != 0 {
    		f.SetMantExp(&f, int(r.int64()))
    	}
    	return constant.Make(&f)
    }
    
    func (r *importReader) ident() string {
    	return r.string()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. src/crypto/aes/gcm_s390x.go

    // newer KMA instruction which performs both operations.
    
    // gcmCount represents a 16-byte big-endian count value.
    type gcmCount [16]byte
    
    // inc increments the rightmost 32-bits of the count value by 1.
    func (x *gcmCount) inc() {
    	byteorder.BePutUint32(x[len(x)-4:], byteorder.BeUint32(x[len(x)-4:])+1)
    }
    
    // gcmLengths writes len0 || len1 as big-endian values to a 16-byte array.
    func gcmLengths(len0, len1 uint64) [16]byte {
    	v := [16]byte{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    		// It was verified to work with GNU tar 1.27.1 and BSD tar 3.1.2.
    		//  dd if=/dev/zero bs=1G count=16 >> writer-big-long.tar
    		//  gnutar -xvf writer-big-long.tar
    		//  bsdtar -xvf writer-big-long.tar
    		//
    		// This file is in PAX format.
    		file: "testdata/writer-big-long.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "16gig.txt",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/staticdata/data.go

    	}
    	if size > maxFileSize {
    		// ggloblsym takes an int32,
    		// and probably the rest of the toolchain
    		// can't handle such big symbols either.
    		// See golang.org/issue/9862.
    		return nil, 0, fmt.Errorf("file too large (%d bytes > %d bytes)", size, maxFileSize)
    	}
    
    	// File is too big to read and keep in memory.
    	// Compute hash if needed for read-only content hashing or if the caller wants it.
    	var sum []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. src/go/build/deps_test.go

    	  encoding/json, encoding/pem, encoding/xml, mime;
    
    	# hashes
    	io
    	< hash
    	< hash/adler32, hash/crc32, hash/crc64, hash/fnv;
    
    	# math/big
    	FMT, math/rand
    	< math/big;
    
    	# compression
    	FMT, encoding/binary, hash/adler32, hash/crc32, sort
    	< compress/bzip2, compress/flate, compress/lzw, internal/zstd
    	< archive/zip, compress/gzip, compress/zlib;
    
    	# templates
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/internal/reflectlite/all_test.go

    		t.Errorf("ValueOf(%v).Interface().(*Big) = %v", b, b1)
    	}
    }
    
    type big struct {
    	a, b, c, d, e int64
    }
    
    func TestBigStruct(t *testing.T) {
    	b := big{1, 2, 3, 4, 5}
    	v := ValueOf(b)
    	b1 := ToInterface(v).(big)
    	if b1.a != b.a || b1.b != b.b || b1.c != b.c || b1.d != b.d || b1.e != b.e {
    		t.Errorf("ValueOf(%v).Interface().(big) = %v", b, b1)
    	}
    }
    
    type Basic struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  8. src/time/sleep_test.go

    // tests may not fire.
    func TestOverflowSleep(t *testing.T) {
    	const big = Duration(int64(1<<63 - 1))
    
    	go func() {
    		Sleep(big)
    		// On failure, this may return after the test has completed, so
    		// we need to panic instead.
    		panic("big sleep returned")
    	}()
    
    	select {
    	case <-After(big):
    		t.Fatalf("big timeout fired")
    	case <-After(25 * Millisecond):
    		// OK
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. src/encoding/asn1/marshal.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 asn1
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"math/big"
    	"reflect"
    	"slices"
    	"time"
    	"unicode/utf8"
    )
    
    var (
    	byte00Encoder encoder = byteEncoder(0x00)
    	byteFFEncoder encoder = byteEncoder(0xff)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. pkg/registry/certificates/certificates/storage/metrics_test.go

    limitations under the License.
    */
    
    package storage
    
    import (
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/pem"
    	"math/big"
    	"testing"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	certutil "k8s.io/client-go/util/cert"
    	"k8s.io/client-go/util/certificate/csr"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top