Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 62 for ellipsis (0.14 sec)

  1. src/crypto/x509/x509_test.go

    	ecdsa256Priv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatalf("Failed to generate ECDSA key: %s", err)
    	}
    
    	ecdsa384Priv, err := ecdsa.GenerateKey(elliptic.P384(), rand.Reader)
    	if err != nil {
    		t.Fatalf("Failed to generate ECDSA key: %s", err)
    	}
    
    	ecdsa521Priv, err := ecdsa.GenerateKey(elliptic.P521(), rand.Reader)
    	if err != nil {
    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/crypto/x509/verify_test.go

    // Copyright 2011 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 x509
    
    import (
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/x509/pkix"
    	"encoding/asn1"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"math/big"
    	"os/exec"
    	"reflect"
    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        }
    
        ArrayRef<int64_t> input_shape = input_ty.getShape();
        int last_dim = std::max(static_cast<int>(input_shape.size()) - 1, 0);
    
        // When begin/end values are dynamic, the ellipsis mask, if set, must refer
        // to the last dimension.
        int ellipsis_mask = op.getEllipsisMask();
        if (!(ellipsis_mask == 0 || ellipsis_mask == (1 << last_dim)))
          return rewriter.notifyMatchFailure(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    Up to now, declaring a required parameter while adding additional validation or metadata needed using `...` (Ellipsis).
    
    For example:
    
    ```Python
    from fastapi import Cookie, FastAPI, Header, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    def main(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  5. src/crypto/ecdh/nist.go

    			key[0] &= 0b0000_0001
    		}
    
    		// In tests, rand will return all zeros and NewPrivateKey will reject
    		// the zero key as it generates the identity as a public key. This also
    		// makes this function consistent with crypto/elliptic.GenerateKey.
    		key[1] ^= 0x42
    
    		k, err := c.NewPrivateKey(key)
    		if err == errInvalidPrivateKey {
    			continue
    		}
    		return k, err
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/crypto/x509/name_constraints_test.go

    // Copyright 2017 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 x509
    
    import (
    	"bytes"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/x509/pkix"
    	"encoding/asn1"
    	"encoding/hex"
    	"encoding/pem"
    	"fmt"
    	"math/big"
    	"net"
    	"net/url"
    	"os"
    	"os/exec"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/crypto/x509/parser.go

    		}
    		namedCurve := namedCurveFromOID(*namedCurveOID)
    		if namedCurve == nil {
    			return nil, errors.New("x509: unsupported elliptic curve")
    		}
    		x, y := elliptic.Unmarshal(namedCurve, der)
    		if x == nil {
    			return nil, errors.New("x509: failed to unmarshal elliptic curve point")
    		}
    		pub := &ecdsa.PublicKey{
    			Curve: namedCurve,
    			X:     x,
    			Y:     y,
    		}
    		return pub, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  8. src/internal/cpu/cpu.go

    	HasVX     bool // vector facility. Note: the runtime sets this when it processes auxv records.
    	HasVXE    bool // vector-enhancements facility 1
    	HasKDSA   bool // elliptic curve functions
    	HasECDSA  bool // NIST curves
    	HasEDDSA  bool // Edwards curves
    	_         CacheLinePad
    }
    
    // CPU feature variables are accessed by assembly code in various packages.
    //go:linkname X86
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    double quotes <code>""</code> or back quotes <code>``</code>.
    </p>
    
    <p>
    The form <code>a … b</code> represents the set of characters from
    <code>a</code> through <code>b</code> as alternatives. The horizontal
    ellipsis <code>…</code> is also used elsewhere in the spec to informally denote various
    enumerations or code snippets that are not further specified. The character <code>…</code>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pkiutil
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	cryptorand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/pem"
    	"fmt"
    	"math"
    	"math/big"
    	"net"
    	"os"
    	"path/filepath"
    	"time"
    
    	"github.com/pkg/errors"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top