Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 525 for mod$ (0.04 sec)

  1. src/cmd/go/internal/workcmd/edit.go

    package workcmd
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modload"
    	"context"
    	"encoding/json"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    
    	"golang.org/x/mod/module"
    
    	"golang.org/x/mod/modfile"
    )
    
    var cmdEdit = &base.Command{
    	UsageLine: "go work edit [editing flags] [go.work]",
    	Short:     "edit go.work from tools or scripts",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/math/big/nat.go

    	m2 := nat(nil).shr(m, n)
    
    	// We want z = x**y mod m.
    	// z₁ = x**y mod m1 = (x**y mod m) mod m1 = z mod m1
    	// z₂ = x**y mod m2 = (x**y mod m) mod m2 = z mod m2
    	// (We are using the math/big convention for names here,
    	// where the computation is z = x**y mod m, so its parts are z1 and z2.
    	// The paper is computing x = a**e mod n; it refers to these as x2 and z1.)
    	z1 := nat(nil).expNN(x, y, m1, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/help/helpdoc.go

    	GOHOSTOS
    		The operating system (GOOS) of the Go toolchain binaries.
    	GOMOD
    		The absolute path to the go.mod of the main module.
    		If module-aware mode is enabled, but there is no go.mod, GOMOD will be
    		os.DevNull ("/dev/null" on Unix-like systems, "NUL" on Windows).
    		If module-aware mode is disabled, GOMOD will be the empty string.
    	GOTOOLDIR
    		The directory where the go tools (compile, cover, doc, etc...) are installed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. src/cmd/go/main.go

    	if len(cmd.Commands) > 0 {
    		if used >= len(args) {
    			help.PrintUsage(os.Stderr, cmd)
    			base.SetExitStatus(2)
    			base.Exit()
    		}
    		if args[used] == "help" {
    			// Accept 'go mod help' and 'go mod help foo' for 'go help mod' and 'go help mod foo'.
    			telemetry.Inc("go/subcommand:" + strings.ReplaceAll(cfg.CmdName, " ", "-") + "-" + strings.Join(args[used:], "-"))
    			help.Help(os.Stdout, append(slices.Clip(args[:used]), args[used+1:]...))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    // If it cannot find a module path, it returns an empty string.
    // It is tolerant of unrelated problems in the go.mod file.
    func ModulePath(mod []byte) string {
    	for len(mod) > 0 {
    		line := mod
    		mod = nil
    		if i := bytes.IndexByte(line, '\n'); i >= 0 {
    			line, mod = line[:i], line[i+1:]
    		}
    		if i := bytes.Index(line, slashSlash); i >= 0 {
    			line = line[:i]
    		}
    		line = bytes.TrimSpace(line)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

      }
    
      @SuppressWarnings("deprecation")
      public void testUnmodifiableMultisetShortCircuit() {
        Multiset<String> mod = HashMultiset.create();
        Multiset<String> unmod = Multisets.unmodifiableMultiset(mod);
        assertNotSame(mod, unmod);
        assertSame(unmod, Multisets.unmodifiableMultiset(unmod));
        ImmutableMultiset<String> immutable = ImmutableMultiset.of("a", "a", "b", "a");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cfg/cfg.go

    	BuildBuildvcs      = "auto" // -buildvcs flag: "true", "false", or "auto"
    	BuildContext       = defaultContext()
    	BuildMod           string                  // -mod flag
    	BuildModExplicit   bool                    // whether -mod was set explicitly
    	BuildModReason     string                  // reason -mod was set, if set by default
    	BuildLinkshared    bool                    // -linkshared flag
    	BuildMSan          bool                    // -msan flag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/crypto/internal/nistec/p256_asm.go

    // Otherwise, it returns p.
    func (p *P256Point) SetBytes(b []byte) (*P256Point, error) {
    	// p256Mul operates in the Montgomery domain with R = 2²⁵⁶ mod p. Thus rr
    	// here is R in the Montgomery domain, or R×R mod p. See comment in
    	// P256OrdInverse about how this is used.
    	rr := p256Element{0x0000000000000003, 0xfffffffbffffffff,
    		0xfffffffffffffffe, 0x00000004fffffffd}
    
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testplugin/plugin_test.go

    	if testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		globalSkip = func(t *testing.T) { t.Skip("short mode and $GO_BUILDER_NAME not set") }
    		return m.Run()
    	}
    	if !platform.BuildModeSupported(runtime.Compiler, "plugin", runtime.GOOS, runtime.GOARCH) {
    		globalSkip = func(t *testing.T) { t.Skip("plugin build mode not supported") }
    		return m.Run()
    	}
    	if !testenv.HasCGO() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. doc/godebug.md

    The [`asynctimerchan` setting](/pkg/time/#NewTimer) disables this change.
    There are no runtime metrics for this change,
    This setting may be removed in a future release, Go 1.27 at the earliest.
    
    Go 1.23 changed the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat)
    for reparse points, which can be controlled with the `winsymlink` setting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top