- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 248 for original (0.25 sec)
-
src/go/internal/gcimporter/iimport.go
return r.p.tparamIndex[id] case instanceType: if r.p.exportVersion < iexportVersionGenerics { errorf("unexpected instantiation type") } // pos does not matter for instances: they are positioned on the original // type. _ = r.pos() len := r.uint64() targs := make([]types.Type, len) for i := range targs { targs[i] = r.typ() } baseType := r.typ()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
src/log/slog/handler.go
// // Adapted from the code in fmt/print.go. if v := reflect.ValueOf(v.any); v.Kind() == reflect.Pointer && v.IsNil() { s.appendString("<nil>") return } // Otherwise just print the original panic message. s.appendString(fmt.Sprintf("!PANIC: %v", r)) } }() var err error if s.h.json { err = appendJSONValue(s, v) } else { err = appendTextValue(s, v) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 18:18:13 UTC 2023 - 17.5K bytes - Viewed (0) -
src/runtime/signal_windows.go
// loading SP from RX and jumping to RY, being RX and RY two scratch registers. // Note that blindly smashing RX and RY is only safe because we know sigpanic // will not actually return to the original frame, so the registers // are effectively dead. But this does mean we can't use the // same mechanism for async preemption. if ep.context.ip() == abi.FuncPCABI0(sigresume) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 20:32:29 UTC 2023 - 14.5K bytes - Viewed (0) -
src/log/slog/handler_test.go
if got != test.want { t.Errorf("%v: got %t, want %t", test.leveler, got, test.want) } } } func TestSecondWith(t *testing.T) { // Verify that a second call to Logger.With does not corrupt // the original. var buf bytes.Buffer h := NewTextHandler(&buf, &HandlerOptions{ReplaceAttr: removeKeys(TimeKey)}) logger := New(h).With( String("app", "playground"), String("role", "tester"), Int("data_version", 2),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 13:57:53 UTC 2023 - 19.6K bytes - Viewed (0) -
src/image/color/ycbcr.go
// 116130 = roundToNearestInteger(1.77200 * 65536). // // Adding a rounding adjustment in the range [0, 1<<16-1] and then shifting // right by 16 gives us an integer math version of the original formulae. // R = (65536*Y' + 91881 *(Cr-128) + adjustment) >> 16 // G = (65536*Y' - 22554 *(Cb-128) - 46802*(Cr-128) + adjustment) >> 16 // B = (65536*Y' + 116130 *(Cb-128) + adjustment) >> 16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 10.8K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
// function for go:nowritebarrierrec analysis. Only filled in // if nowritebarrierrecCheck != nil. NWBRCalls *[]SymAndPos // For wrapper functions, WrappedFunc point to the original Func. // Currently only used for go/defer wrappers. WrappedFunc *Func // WasmImport is used by the //go:wasmimport directive to store info about // a WebAssembly function import. WasmImport *WasmImport }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go
for i, p := range inst.Prefix { switch p & 0xFFF { case PrefixPN, PrefixPT: inst.Prefix[i] &= 0xF0FF // cut interpretation bits, producing original segment prefix } } } } // XACQUIRE/XRELEASE adjustment. if inst.Op == MOV { // MOV into memory is a candidate for turning REP into XRELEASE.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 21.4K bytes - Viewed (0) -
src/compress/gzip/gunzip_test.go
t.Fatalf("NewReader(nil) on empty stream: got %v, want io.EOF", err) } } func TestTruncatedStreams(t *testing.T) { cases := []struct { name string data []byte }{ { name: "original", data: []byte("\x1f\x8b\b\x04\x00\tn\x88\x00\xff\a\x00foo bar\xcbH\xcd\xc9\xc9\xd7Q(\xcf/\xcaI\x01\x04:r\xab\xff\f\x00\x00\x00"), }, { name: "truncated name", data: []byte{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 12 15:06:07 UTC 2022 - 19.5K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git.go
return nil, err } // Stat may return cached info, so make a copy to modify here. info := new(RevInfo) *info = *statInfo info.Origin = new(Origin) if statInfo.Origin != nil { *info.Origin = *statInfo.Origin } info.Origin.Ref = "HEAD" info.Origin.Hash = refs["HEAD"] return info, nil } // findRef finds some ref name for the given hash,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/magic.go
// ⎣x / c⎦ = ⎣⎣x * (m/2) / 2^n⎦ / 2^(s-1)⎦ // multiply + shift // // Case 2: c is even. // ⎣x / c⎦ = ⎣(x/2) / (c/2)⎦ // ⎣x / c⎦ = ⎣⎣x/2⎦ / (c/2)⎦ // This is just the original problem, with x' = ⎣x/2⎦, c' = c/2, n' = n-1. // s' = s-1 // m' = ⎡2^(n'+s')/c'⎤ // = ⎡2^(n+s-1)/c⎤ // = ⎡m/2⎤ // ⎣x / c⎦ = ⎣x' * m' / 2^(n'+s')⎦ // ⎣x / c⎦ = ⎣⎣x/2⎦ * ⎡m/2⎤ / 2^(n+s-2)⎦
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:25 UTC 2024 - 15.8K bytes - Viewed (0)