Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 126 for biglen (0.15 sec)

  1. src/runtime/race/testdata/map_test.go

    		ch <- true
    	}()
    	x := conns[1][0]
    	_ = x
    	<-ch
    }
    
    // BigKey and BigVal must be larger than 256 bytes,
    // so that compiler sets KindGCProg for them.
    type BigKey [1000]*int
    
    type BigVal struct {
    	x int
    	y [1000]*int
    }
    
    func TestRaceMapBigKeyAccess1(t *testing.T) {
    	m := make(map[BigKey]int)
    	var k BigKey
    	ch := make(chan bool, 1)
    	go func() {
    		_ = m[k]
    		ch <- true
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 22:09:38 UTC 2017
    - 5.1K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/nistec_test.go

    		fatalIfErr(t, err)
    		g1.Add(g1, p1)
    		if !bytes.Equal(g1.Bytes(), newPoint().Bytes()) {
    			t.Error("[N - k]G + [k]G != ∞")
    		}
    	}
    
    	byteLen := len(c.Params().N.Bytes())
    	bitLen := c.Params().N.BitLen()
    	t.Run("0", func(t *testing.T) { checkScalar(t, make([]byte, byteLen)) })
    	t.Run("1", func(t *testing.T) {
    		checkScalar(t, big.NewInt(1).FillBytes(make([]byte, byteLen)))
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 18:48:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. src/go/doc/comment/testdata/list5.txt

    Text.
    
      1. One
      999999999999999999999. Big
      1000000000000000000000. Bigger
      1000000000000000000001. Biggest
    
    -- gofmt --
    Text.
    
     1. One
     999999999999999999999. Big
     1000000000000000000000. Bigger
     1000000000000000000001. Biggest
    
    -- text --
    Text.
    
     1. One
     999999999999999999999. Big
     1000000000000000000000. Bigger
     1000000000000000000001. Biggest
    
    -- markdown --
    Text.
    
     1. One
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:48 UTC 2022
    - 590 bytes
    - Viewed (0)
  4. src/crypto/rand/util_test.go

    // https://golang.org/issue/6849.
    func TestPrimeSmall(t *testing.T) {
    	for n := 2; n < 10; n++ {
    		p, err := rand.Prime(rand.Reader, n)
    		if err != nil {
    			t.Fatalf("Can't generate %d-bit prime: %v", n, err)
    		}
    		if p.BitLen() != n {
    			t.Fatalf("%v is not %d-bit", p, n)
    		}
    		if !p.ProbablyPrime(32) {
    			t.Fatalf("%v is not prime", p)
    		}
    	}
    }
    
    // Test that passing bits < 2 causes Prime to return nil, error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 01:35:39 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/global-dependencies.md

    ## Dependencies for groups of *path operations*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/crypto/x509/boring.go

    		return true
    	}
    
    	// The key must be RSA 2048, RSA 3072, RSA 4096,
    	// or ECDSA P-256, P-384, P-521.
    	switch k := c.PublicKey.(type) {
    	default:
    		return false
    	case *rsa.PublicKey:
    		if size := k.N.BitLen(); size != 2048 && size != 3072 && size != 4096 {
    			return false
    		}
    	case *ecdsa.PublicKey:
    		if k.Curve != elliptic.P256() && k.Curve != elliptic.P384() && k.Curve != elliptic.P521() {
    			return false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 993 bytes
    - Viewed (0)
  7. src/crypto/x509/sec1.go

    	if !key.Curve.IsOnCurve(key.X, key.Y) {
    		return nil, errors.New("invalid elliptic key public key")
    	}
    	privateKey := make([]byte, (key.Curve.Params().N.BitLen()+7)/8)
    	return asn1.Marshal(ecPrivateKey{
    		Version:       1,
    		PrivateKey:    key.D.FillBytes(privateKey),
    		NamedCurveOID: oid,
    		PublicKey:     asn1.BitString{Bytes: elliptic.Marshal(key.Curve, key.X, key.Y)},
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. src/go/importer/importer_test.go

    		imp := ForCompiler(fset, compiler, lookup)
    		pkg, err := imp.Import("math/bigger")
    		if err != nil {
    			t.Fatal(err)
    		}
    		// Even though we open math/big.a, the import request was for math/bigger
    		// and that should be recorded in pkg.Path(), at least for the gc toolchain.
    		if pkg.Path() != "math/bigger" {
    			t.Fatalf("Path() = %q, want %q", pkg.Path(), "math/bigger")
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 21:16:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/lang/sv.js

    ",groupCheckedEnd:" val",badCreditCard:"Du har angett ett felaktigt kreditkortsnummer",badCVV:"Du har angett ett felaktigt CVV-nummer",wrongFileDim:"Otillåten bildstorlek,",imageTooTall:"bilden får inte vara högre än",imageTooWide:"bilden får inte vara bredare än",imageTooSmall:"bilden är för liten",genericBadInputValue:"The input value can be accepted",min:"minst",max:"max",imageRatioNotAccepted:"Bildens dimensioner (förhållandet mellan höjd och längd) kan inte accepteras"}})}(a,window)});...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  10. src/net/netip/inlining_test.go

    		got[strings.TrimPrefix(string(match), " can inline ")] = true
    		return nil
    	})
    	wantInlinable := []string{
    		"(*uint128).halves",
    		"Addr.BitLen",
    		"Addr.hasZone",
    		"Addr.Is4",
    		"Addr.Is4In6",
    		"Addr.Is6",
    		"Addr.IsInterfaceLocalMulticast",
    		"Addr.IsValid",
    		"Addr.IsUnspecified",
    		"Addr.Less",
    		"Addr.Unmap",
    		"Addr.Zone",
    		"Addr.v4",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top