Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 462 for original (0.61 sec)

  1. src/cmd/go/internal/modget/query.go

    	"cmd/internal/pkgpattern"
    
    	"golang.org/x/mod/module"
    )
    
    // A query describes a command-line argument and the modules and/or packages
    // to which that argument may resolve..
    type query struct {
    	// raw is the original argument, to be printed in error messages.
    	raw string
    
    	// rawVersion is the portion of raw corresponding to version, if any
    	rawVersion string
    
    	// pattern is the part of the argument before "@" (or the whole argument
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/crypto/aes/aes_gcm.go

    // slice with the contents of the given slice followed by that many bytes and a
    // second slice that aliases into it and contains only the extra bytes. If the
    // original slice has sufficient capacity then no allocation is performed.
    func sliceForAppend(in []byte, n int) (head, tail []byte) {
    	if total := len(in) + n; cap(in) >= total {
    		head = in[:total]
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    // go1.21 and earlier are no longer supported by x/tools.
    
    package versions
    
    import "strings"
    
    // A gover is a parsed Go gover: major[.Minor[.Patch]][kind[pre]]
    // The numbers are the original decimal strings to avoid integer overflows
    // and since there is very little actual math. (Probably overflow doesn't matter in practice,
    // but at the time this code was written, there was an existing test that used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/runtime/time_fake.go

    	// First, lock to avoid interleaving writes.
    	lock(&faketimeState.lock)
    
    	// If the current fd doesn't match the fd of the previous write,
    	// ensure that the timestamp is strictly greater. That way, we can
    	// recover the original order even if we read the fds separately.
    	t := faketimeState.lastfaketime
    	if fd != faketimeState.lastfd {
    		t++
    		faketimeState.lastfd = fd
    	}
    	if faketime > t {
    		t = faketime
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/math/cmplx/pow.go

    // license that can be found in the LICENSE file.
    
    package cmplx
    
    import "math"
    
    // The original C code, the long comment, and the constants
    // below are from http://netlib.sandia.gov/cephes/c9x-complex/clog.c.
    // The go code is a simplified version of the original C.
    //
    // Cephes Math Library Release 2.8:  June, 2000
    // Copyright 1984, 1987, 1989, 1992, 2000 by Stephen L. Moshier
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/instantiate.go

    // Methods attached to a *Named type are also instantiated, and associated with
    // a new *Func that has the same position as the original method, but nil function
    // scope.
    //
    // If ctxt is non-nil, it may be used to de-duplicate the instance against
    // previous instances with the same identity. As a special case, generic
    // *Signature origin types are only considered identical if they are pointer
    // equivalent, so that instantiating distinct (but possibly identical)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    # Testcase for #63356. In this bug we're doing a "go test -coverprofile"
    # run for a collection of packages, mostly independent (hence tests can
    # be done in parallel) and in the original bug, temp coverage profile
    # files were not being properly qualified and were colliding, resulting
    # in a corrupted final profile. Actual content of the packages doesn't
    # especially matter as long as we have a mix of packages with tests and
    # multiple packages without tests.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/crypto/internal/bigmod/nat_test.go

    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func testModSubThenAddIdentity(a *Nat, b *Nat) bool {
    	m := maxModulus(uint(len(a.limbs)))
    	original := new(Nat).set(a)
    	a.Sub(b, m)
    	a.Add(b, m)
    	return a.Equal(original) == 1
    }
    
    func TestModSubThenAddIdentity(t *testing.T) {
    	err := quick.Check(testModSubThenAddIdentity, &quick.Config{})
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/encoding/json/decode.go

    	// (to satisfy possible pointer methods) and continues to dereference
    	// subsequent pointers as necessary.
    	//
    	// After the first round-trip, we set v back to the original value to
    	// preserve the original RW flags contained in reflect.Value.
    	v0 := v
    	haveAddr := false
    
    	// If v is a named type and is addressable,
    	// start with its address, so that if the type has pointer methods,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. src/index/suffixarray/sais2.go

    			// is unique, so the relative ordering of two LMS-suffixes
    			// is determined by just the leading LMS-substring.
    			// That is, the LMS-suffix sort order matches the
    			// (simpler) LMS-substring sort order.
    			// Copy the original LMS-substring order into the
    			// suffix array destination.
    			copy(sa, sa[len(sa)-numLMS:])
    		}
    		expand_8_64(text, freq, bucket, sa, numLMS)
    	}
    	induceL_8_64(text, sa, freq, bucket)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top