Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for IsZero (0.41 sec)

  1. src/crypto/internal/nistec/p256_asm_s390x.s

    	// clobbers T1H and T1L
    	MOVD   $0, ISZERO
    	MOVD   $1, TRUE
    	VZERO  ZER
    	VO     RL, RH, T1H
    	VCEQGS ZER, T1H, T1H
    	MOVDEQ TRUE, ISZERO
    	VX     RL, PL, T1L
    	VX     RH, PH, T1H
    	VO     T1L, T1H, T1H
    	VCEQGS ZER, T1H, T1H
    	MOVDEQ TRUE, ISZERO
    	AND    ret+24(FP), ISZERO
    	MOVD   ISZERO, ret+24(FP)
    
    	// X=H ; Y=H ; MUL; T-   // T1 = H*H
    	VLR  HL, X0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/p224.go

    	// rather than happen on the heap.
    	var out [1 + 2*p224ElementLength]byte
    	return p.bytes(&out)
    }
    
    func (p *P224Point) bytes(out *[1 + 2*p224ElementLength]byte) []byte {
    	if p.z.IsZero() == 1 {
    		return append(out[:0], 0)
    	}
    
    	zinv := new(fiat.P224Element).Invert(p.z)
    	x := new(fiat.P224Element).Mul(p.x, zinv)
    	y := new(fiat.P224Element).Mul(p.y, zinv)
    
    	buf := append(out[:0], 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/p521.go

    	// rather than happen on the heap.
    	var out [1 + 2*p521ElementLength]byte
    	return p.bytes(&out)
    }
    
    func (p *P521Point) bytes(out *[1 + 2*p521ElementLength]byte) []byte {
    	if p.z.IsZero() == 1 {
    		return append(out[:0], 0)
    	}
    
    	zinv := new(fiat.P521Element).Invert(p.z)
    	x := new(fiat.P521Element).Mul(p.x, zinv)
    	y := new(fiat.P521Element).Mul(p.y, zinv)
    
    	buf := append(out[:0], 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 17K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	config, configVersion, err := configstore.Download("latest", rcfg.Env)
    	if err != nil {
    		return nil, err
    	}
    
    	// Set the start time, if it is not provided.
    	startTime := time.Now().UTC()
    	if !rcfg.StartTime.IsZero() {
    		startTime = rcfg.StartTime
    	}
    
    	return &uploader{
    		config:          config,
    		configVersion:   configVersion,
    		dir:             dir,
    		uploadServerURL: uploadURL,
    		startTime:       startTime,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    	var spd sparseDatas
    	var spb []byte
    	blk := tw.templateV7Plus(hdr, f.formatString, f.formatNumeric)
    	if !hdr.AccessTime.IsZero() {
    		f.formatNumeric(blk.toGNU().accessTime(), hdr.AccessTime.Unix())
    	}
    	if !hdr.ChangeTime.IsZero() {
    		f.formatNumeric(blk.toGNU().changeTime(), hdr.ChangeTime.Unix())
    	}
    	// TODO(dsnet): Re-enable this when adding sparse support.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/generate.go

    	// rather than happen on the heap.
    	var out [1+2*{{.p}}ElementLength]byte
    	return p.bytes(&out)
    }
    
    func (p *{{.P}}Point) bytes(out *[1+2*{{.p}}ElementLength]byte) []byte {
    	if p.z.IsZero() == 1 {
    		return append(out[:0], 0)
    	}
    
    	zinv := new({{.Element}}).Invert(p.z)
    	x := new({{.Element}}).Mul(p.x, zinv)
    	y := new({{.Element}}).Mul(p.y, zinv)
    
    	buf := append(out[:0], 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. src/crypto/x509/platform_test.go

    			if err != nil {
    				t.Fatalf("ParseCertificate failed: %s", err)
    			}
    
    			var opts VerifyOptions
    			if tc.dnsName != "" {
    				opts.DNSName = tc.dnsName
    			}
    			if !tc.time.IsZero() {
    				opts.CurrentTime = tc.time
    			}
    			if len(tc.eku) > 0 {
    				opts.KeyUsages = tc.eku
    			}
    
    			expectedErr := tc.expectedErr
    			if runtime.GOOS == "darwin" && tc.macosErr != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. tests/soft_delete_test.go

    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	if sql.NullTime(user.DeletedAt).Time.IsZero() {
    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/ld.go

    }
    
    func addlib(ctxt *Link, src, obj, lib string, fingerprint goobj.FingerprintType) *sym.Library {
    	pkg := pkgname(ctxt, lib)
    
    	// already loaded?
    	if l := ctxt.LibraryByPkg[pkg]; l != nil && !l.Fingerprint.IsZero() {
    		// Normally, packages are loaded in dependency order, and if l != nil
    		// l is already loaded with the actual fingerprint. In shared build mode,
    		// however, packages may be added not in dependency order, and it is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. src/crypto/x509/root_windows.go

    		para.RequestedUsage.Usage.Length = 0
    		para.RequestedUsage.Usage.UsageIdentifiers = nil
    	}
    
    	var verifyTime *syscall.Filetime
    	if opts != nil && !opts.CurrentTime.IsZero() {
    		ft := syscall.NsecToFiletime(opts.CurrentTime.UnixNano())
    		verifyTime = &ft
    	}
    
    	// The default is to return only the highest quality chain,
    	// setting this flag will add additional lower quality contexts.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top