Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,258 for Fermat (0.11 sec)

  1. src/math/big/prime.go

    // using Baillie-OEIS parameter selection. This corresponds to "AESLPSP" on Jacobsen's tables (link below).
    // The combination of this test and a Miller-Rabin/Fermat test with base 2 gives a Baillie-PSW test.
    //
    // References:
    //
    // Baillie and Wagstaff, "Lucas Pseudoprimes", Mathematics of Computation 35(152),
    // October 1980, pp. 1391-1417, especially page 1401.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  2. src/go/types/format.go

    		}
    		args[i] = arg
    	}
    	return fmt.Sprintf(format, args...)
    }
    
    // check may be nil.
    func (check *Checker) sprintf(format string, args ...any) string {
    	var fset *token.FileSet
    	var qf Qualifier
    	if check != nil {
    		fset = check.fset
    		qf = check.qualifier
    	}
    	return sprintf(fset, qf, false, format, args...)
    }
    
    func (check *Checker) trace(pos token.Pos, format string, args ...any) {
    	fmt.Printf("%s:\t%s%s\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/go/format/format.go

    // Copyright 2012 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 format implements standard formatting of Go source.
    //
    // Note that formatting of Go source code changes over time, so tools relying on
    // consistent formatting should execute a specific version of the gofmt binary
    // instead of using this package. That way, the formatting will be stable, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. src/image/format.go

    }
    
    // sniff determines the format of r's data.
    func sniff(r reader) format {
    	formats, _ := atomicFormats.Load().([]format)
    	for _, f := range formats {
    		b, err := r.Peek(len(f.magic))
    		if err == nil && match(f.magic, b) {
    			return f
    		}
    	}
    	return format{}
    }
    
    // Decode decodes an image that has been encoded in a registered format.
    // The string returned is the format name used during format registration.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/format.go

    	FormatType   = cel.ObjectType("kubernetes.NamedFormat")
    )
    
    // Format provdes a CEL representation of kubernetes format
    type Format struct {
    	Name         string
    	ValidateFunc func(string) []string
    
    	// Size of the regex string or estimated equivalent regex string used
    	// for cost estimation
    	MaxRegexSize int
    }
    
    func (d *Format) ConvertToNative(typeDesc reflect.Type) (interface{}, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    //
    //  Examples:
    //      format.dns1123Label().validate("my-label-name")
    //      format.dns1123Subdomain().validate("apiextensions.k8s.io")
    //      format.dns1035Label().validate("my-label-name")
    //      format.qualifiedName().validate("apiextensions.k8s.io/v1beta1")
    //      format.dns1123LabelPrefix().validate("my-label-prefix-")
    //      format.dns1123SubdomainPrefix().validate("mysubdomain.prefix.-")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/archive/tar/format.go

    	FormatGNU
    
    	// Schily's tar format, which is incompatible with USTAR.
    	// This does not cover STAR extensions to the PAX format; these fall under
    	// the PAX format.
    	formatSTAR
    
    	formatMax
    )
    
    func (f Format) has(f2 Format) bool   { return f&f2 != 0 }
    func (f *Format) mayBe(f2 Format)     { *f |= f2 }
    func (f *Format) mayOnlyBe(f2 Format) { *f &= f2 }
    func (f *Format) mustNotBe(f2 Format) { *f &^= f2 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/format/format.go

    // used by the Chrome trace viewer.
    //
    // The official description of the format is in this file:
    // https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview
    //
    // Note: This can't be part of the parent traceviewer package as that would
    // throw. go_bootstrap cannot depend on the cgo version of package net in ./make.bash.
    package format
    
    type Data struct {
    	Events   []*Event         `json:"traceEvents"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/format.go

    			arg = buf.String()
    		}
    		args[i] = arg
    	}
    	return fmt.Sprintf(format, args...)
    }
    
    // check may be nil.
    func (check *Checker) sprintf(format string, args ...any) string {
    	var qf Qualifier
    	if check != nil {
    		qf = check.qualifier
    	}
    	return sprintf(qf, false, format, args...)
    }
    
    func (check *Checker) trace(pos syntax.Pos, format string, args ...any) {
    	fmt.Printf("%s:\t%s%s\n",
    		pos,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/time/format.go

    //
    // The returned string is meant for debugging; for a stable serialized
    // representation, use t.MarshalText, t.MarshalBinary, or t.Format
    // with an explicit format string.
    func (t Time) String() string {
    	s := t.Format("2006-01-02 15:04:05.999999999 -0700 MST")
    
    	// Format monotonic clock reading as m=±ddd.nnnnnnnnn.
    	if t.wall&hasMonotonic != 0 {
    		m2 := uint64(t.ext)
    		sign := byte('+')
    		if t.ext < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
Back to top