Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnixNano (0.06 sec)

  1. schema/field.go

    				} else {
    					return err
    				}
    			case time.Time:
    				if field.AutoCreateTime == UnixNanosecond || field.AutoUpdateTime == UnixNanosecond {
    					field.ReflectValueOf(ctx, value).SetInt(data.UnixNano())
    				} else if field.AutoCreateTime == UnixMillisecond || field.AutoUpdateTime == UnixMillisecond {
    					field.ReflectValueOf(ctx, value).SetInt(data.UnixMilli())
    				} else {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  2. lib/fips140/v1.1.0-rc1.zip

    found in the LICENSE file. package subtle import ( "bytes" "crypto/internal/fips140deps/byteorder" "math/rand/v2" "testing" "time" ) func TestConstantTimeLess(t *testing.T) { seed := make([]byte, 32) byteorder.BEPutUint64(seed, uint64(time.Now().UnixNano())) r := rand.NewChaCha8([32]byte(seed)) for l := range 20 { a := make([]byte, l) b := make([]byte, l) empty := make([]byte, l) r.Read(a) r.Read(b) exp := 0 if bytes.Compare(a, b) <= 0 { exp = 1 } if got := ConstantTimeLessOrEq(a, b); got != exp...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top