- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 343 for original (0.44 sec)
-
src/math/expm1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package math // The original C code, the long comment, and the constants // below are from FreeBSD's /usr/src/lib/msun/src/s_expm1.c // and came with this notice. The go code is a simplified // version of the original C. // // ==================================================== // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 7.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
// The underlying scanner elides all spaces except newline, so the input looks like a stream of // Tokens; original spacing is lost but we don't need it. type TokenReader interface { // Next returns the next token. Next() ScanToken // The following methods all refer to the most recent token returned by Next. // Text returns the original string representation of the token. Text() string // File reports the source file name of the token.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/net/http/responsecontroller.go
type ResponseController struct { rw ResponseWriter } // NewResponseController creates a [ResponseController] for a request. // // The ResponseWriter should be the original value passed to the [Handler.ServeHTTP] method, // or have an Unwrap method returning the original ResponseWriter. // // If the ResponseWriter implements any of the following methods, the ResponseController // will call them as appropriate: // // Flush()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4.2K bytes - Viewed (0) -
src/slices/slices_test.go
t.Errorf("Replace(%v, 1, 3, %v, %v, %v, %v) = %v, want %v", copy, &z, &z, &z, &z, s, want) } if !Equal(original, copy) { t.Errorf("original slice has changed, got %v, want %v", original, copy) } if !Equal(mem, memcopy) { // Changing the original tail s[len(s):cap(s)] is unwanted t.Errorf("original backing memory has changed, got %v, want %v", mem, memcopy) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:06 UTC 2024 - 33.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/types2/typeparam.go
} // compute type set if necessary if ityp.tset == nil { // pos is used for tracing output; start with the type parameter position. pos := t.obj.pos // use the (original or possibly instantiated) type bound position if we have one if n := asNamed(bound); n != nil { pos = n.obj.pos } computeInterfaceTypeSet(t.check, pos, ityp) } return ityp }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 4.9K bytes - Viewed (0) -
src/go/types/errors.go
// constant initialization expression, pos is the position of // the original expression, and not of the currently declared // constant identifier. Use the provided errpos instead. // TODO(gri) We may also want to augment the error message and // refer to the position (pos) in the original expression. if check.errpos != nil && check.errpos.Pos().IsValid() { assert(check.iota != nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 8.5K bytes - Viewed (0)