- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 296 for sS (0.02 sec)
-
test/fixedbugs/issue56727.go
} type S struct{} func (*S) M() {} type slice []I func f() { ss := struct { i I }{ i: &S{}, } _ = [...]struct { s slice }{ { s: slice{ss.i}, }, { s: slice{ss.i}, }, { s: slice{ss.i}, }, { s: slice{ss.i}, }, { s: slice{ss.i}, }, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 17:35:03 UTC 2022 - 491 bytes - Viewed (0) -
src/runtime/cgo/gcc_netbsd.c
// in minit, but it's a simple change that keeps NetBSD // working like other OS's. At this point all signals are // blocked, so there is no race. memset(&ss, 0, sizeof ss); ss.ss_flags = SS_DISABLE; sigaltstack(&ss, nil); crosscall1(ts.fn, setg_gcc, ts.g); return nil;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 03:55:51 UTC 2023 - 1.7K bytes - Viewed (0) -
src/internal/reflectlite/swapper.go
if hasPtr { if size == goarch.PtrSize { ps := *(*[]unsafe.Pointer)(v.ptr) return func(i, j int) { ps[i], ps[j] = ps[j], ps[i] } } if typ.Kind() == String { ss := *(*[]string)(v.ptr) return func(i, j int) { ss[i], ss[j] = ss[j], ss[i] } } } else { switch size { case 8: is := *(*[]int64)(v.ptr) return func(i, j int) { is[i], is[j] = is[j], is[i] } case 4: is := *(*[]int32)(v.ptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:30 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/asan_global2_fail.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main /* #include <stdlib.h> #include <stdio.h> struct ss { int *p; int len; int cap; }; int test(struct ss *a) { struct ss *t = a + 1; t->len = 100; // BOOM return t->len; } */ import "C" import "fmt" var tt C.struct_ss func main() { r := C.test(&tt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 472 bytes - Viewed (0) -
tools/bug-report/pkg/config/config.go
var out []string for _, ss := range s { st := "" if !defaultListSetting(ss.Namespaces) { st += fmt.Sprintf("Namespaces: %s", strings.Join(ss.Namespaces, ",")) } if !defaultListSetting(ss.Deployments) { st += fmt.Sprintf("/Deployments: %s", strings.Join(ss.Deployments, ",")) } if !defaultListSetting(ss.Pods) { st += fmt.Sprintf("/Pods:%s", strings.Join(ss.Pods, ",")) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Nov 04 12:07:50 UTC 2023 - 9.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/profile.go
} ss = append(ss, "Locations") for _, l := range p.Location { ss = append(ss, l.string()) } ss = append(ss, "Mappings") for _, m := range p.Mapping { ss = append(ss, m.string()) } return strings.Join(ss, "\n") + "\n" } // string dumps a text representation of a mapping. Intended mainly // for debugging purposes. func (m *Mapping) string() string { bits := "" if m.HasFunctions {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/norm/normalize.go
rb.out = append(rb.out, x...) return false } buf := rb.out[p:] rb.out = rb.out[:p] decomposeToLastBoundary(rb) if s := rb.ss.next(info); s == ssStarter { rb.doFlush() rb.ss.first(info) } else if s == ssOverflow { rb.doFlush() rb.insertCGJ() rb.ss = 0 } rb.insertUnsafe(inputBytes(buf), 0, info) return true } func appendQuick(rb *reorderBuffer, i int) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:26:23 UTC 2022 - 14.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/sigaltstack.go
#else #define CSIGSTKSZ SIGSTKSZ #endif static stack_t oss; static char signalStack[CSIGSTKSZ]; static void changeSignalStack(void) { stack_t ss; memset(&ss, 0, sizeof ss); ss.ss_sp = signalStack; ss.ss_flags = 0; ss.ss_size = CSIGSTKSZ; if (sigaltstack(&ss, &oss) < 0) { perror("sigaltstack"); abort(); } } static void restoreSignalStack(void) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.7K bytes - Viewed (0) -
test/fixedbugs/issue21655.go
// f4 was ok, but testing it can't hurt. func f7(ss []*string, i int) string { const offset = 3 << 29 // 3<<29 * 4 = 3<<31 = 1<<31 mod 1<<32. if i > offset { return *ss[i-offset] } return "" } func f8(ss []*string, i int) string { const offset = 3<<29 + 10 if i > offset { return *ss[i-offset] } return "" } func f9(ss []*string, i int) string { const offset = 3<<29 - 10 if i > offset {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 03:53:18 UTC 2017 - 1.5K bytes - Viewed (0) -
src/reflect/swapper.go
if hasPtr { if size == goarch.PtrSize { ps := *(*[]unsafe.Pointer)(v.ptr) return func(i, j int) { ps[i], ps[j] = ps[j], ps[i] } } if typ.Kind() == abi.String { ss := *(*[]string)(v.ptr) return func(i, j int) { ss[i], ss[j] = ss[j], ss[i] } } } else { switch size { case 8: is := *(*[]int64)(v.ptr) return func(i, j int) { is[i], is[j] = is[j], is[i] } case 4: is := *(*[]int32)(v.ptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:30 UTC 2024 - 2K bytes - Viewed (0)