Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 335 for mod$ (0.12 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		indirect bool
    	}
    	need := make(map[string]elem)
    	for _, r := range req {
    		if prev, dup := need[r.Mod.Path]; dup && prev.version != r.Mod.Version {
    			panic(fmt.Errorf("SetRequire called with conflicting versions for path %s (%s and %s)", r.Mod.Path, prev.version, r.Mod.Version))
    		}
    		need[r.Mod.Path] = elem{r.Mod.Version, r.Indirect}
    	}
    
    	// Update or delete the existing Require entries to preserve
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. src/debug/buildinfo/buildinfo.go

    		mod = readString(x, ptrSize, readPtr, readPtr(data[16+ptrSize:]))
    	}
    	if vers == "" {
    		return "", "", errNotGoExe
    	}
    	if len(mod) >= 33 && mod[len(mod)-17] == '\n' {
    		// Strip module framing: sentinel strings delimiting the module info.
    		// These are cmd/go/internal/modload.infoStart and infoEnd.
    		mod = mod[16 : len(mod)-16]
    	} else {
    		mod = ""
    	}
    
    	return vers, mod, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/scalar.go

    }
    
    // Subtract sets s = x - y mod l, and returns s.
    func (s *Scalar) Subtract(x, y *Scalar) *Scalar {
    	// s = -1 * y + x mod l
    	fiatScalarSub(&s.s, &x.s, &y.s)
    	return s
    }
    
    // Negate sets s = -x mod l, and returns s.
    func (s *Scalar) Negate(x *Scalar) *Scalar {
    	// s = -1 * x + 0 mod l
    	fiatScalarOpp(&s.s, &x.s)
    	return s
    }
    
    // Multiply sets s = x * y mod l, and returns s.
    func (s *Scalar) Multiply(x, y *Scalar) *Scalar {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/crypto/rsa/rsa.go

    		}
    
    		// m = c ^ Dp mod p
    		m = bigmod.NewNat().Exp(t0.Mod(c, P), priv.Precomputed.Dp.Bytes(), P)
    		// m2 = c ^ Dq mod q
    		m2 := bigmod.NewNat().Exp(t0.Mod(c, Q), priv.Precomputed.Dq.Bytes(), Q)
    		// m = m - m2 mod p
    		m.Sub(t0.Mod(m2, P), P)
    		// m = m * Qinv mod p
    		m.Mul(Qinv, P)
    		// m = m * q mod N
    		m.ExpandFor(N).Mul(t0.Mod(Q.Nat(), N), N)
    		// m = m + m2 mod N
    		m.Add(m2.ExpandFor(N), N)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. src/crypto/internal/bigmod/nat.go

    		needSubtraction = not(choice(borrow)) | choice(carry)
    	}
    	return x.assign(needSubtraction, d)
    }
    
    // Mod calculates out = x mod m.
    //
    // This works regardless how large the value of x is.
    //
    // The output will be resized to the size of m and overwritten.
    func (out *Nat) Mod(x *Nat, m *Modulus) *Nat {
    	out.resetFor(m)
    	// Working our way from the most significant to the least significant limb,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top