- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 91 for clobber (0.23 sec)
-
src/go/types/conversions.go
} *cause = msg } } // generic cases with specific type terms // (generic operands cannot be constants, so we can ignore x.val) switch { case Vp != nil && Tp != nil: x := *x // don't clobber outer x return Vp.is(func(V *term) bool { if V == nil { return false // no specific types } x.typ = V.typ return Tp.is(func(T *term) bool { if T == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9.1K bytes - Viewed (0) -
src/runtime/signal_riscv64.go
c.set_gp(uint64(uintptr(unsafe.Pointer(gp)))) c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic))) } func (c *sigctxt) pushCall(targetPC, resumePC uintptr) { // Push the LR to stack, as we'll clobber it in order to // push the call. The function being pushed is responsible // for restoring the LR and setting the SP back. // This extra slot is known to gentraceback. sp := c.sp() - goarch.PtrSize c.set_sp(sp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/unusedresult.go
for item := range *ss { items = append(items, item) } sort.Strings(items) return strings.Join(items, ",") } func (ss *stringSetFlag) Set(s string) error { m := make(map[string]bool) // clobber previous value if s != "" { for _, name := range strings.Split(s, ",") { if name == "" { continue // TODO: report error? proceed? } m[name] = true } } *ss = m return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 4.5K bytes - Viewed (0) -
src/slices/iter_test.go
} if len(chunks) == 0 { return } // Verify that appending to the end of the first chunk does not // clobber the beginning of the next chunk. s := Clone(tc.s) chunks[0] = append(chunks[0], -1) if !Equal(s, tc.s) { t.Errorf("slice was clobbered: %v, want %v", s, tc.s) } }) } } func TestChunkPanics(t *testing.T) { for _, test := range []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:28:50 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/conversions.go
} *cause = msg } } // generic cases with specific type terms // (generic operands cannot be constants, so we can ignore x.val) switch { case Vp != nil && Tp != nil: x := *x // don't clobber outer x return Vp.is(func(V *term) bool { if V == nil { return false // no specific types } x.typ = V.typ return Tp.is(func(T *term) bool { if T == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9K bytes - Viewed (0) -
src/runtime/sys_windows_arm64.s
#define TEB_TlsSlots 0x1480 #define TEB_ArbitraryPtr 0x28 // Note: R0-R7 are args, R8 is indirect return value address, // R9-R15 are caller-save, R19-R29 are callee-save. // // load_g and save_g (in tls_arm64.s) clobber R27 (REGTMP) and R0. TEXT runtime·asmstdcall_trampoline<ABIInternal>(SB),NOSPLIT,$0 B runtime·asmstdcall(SB) // void runtime·asmstdcall(void *c); TEXT runtime·asmstdcall(SB),NOSPLIT,$16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.8K bytes - Viewed (0) -
src/runtime/mwbbuf.go
// file deals only with the buffer. // // The write barrier has a fast path and a slow path. The fast path // simply enqueues to a per-P write barrier buffer. It's written in // assembly and doesn't clobber any general purpose registers, so it // doesn't have the usual overheads of a Go call. // // When the buffer fills up, the write barrier invokes the slow path // (wbBufFlush) to flush the buffer to the GC work queues. In this
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.1K bytes - Viewed (0) -
src/runtime/tls_ppc64x.s
// thread-local memory, so that we can call externally compiled // ppc64 code that will overwrite this register. // // If !iscgo, this is a no-op. // // NOTE: setg_gcc<> assume this clobbers only R31. TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0 #ifndef GOOS_aix #ifndef GOOS_openbsd MOVBZ runtime·iscgo(SB), R31 CMP R31, $0 BEQ nocgo #endif #endif MOVD runtime·tls_g(SB), R31
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:48:11 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/StoreTarget.java
@Override public void writeTo(OutputStream output) throws IOException { Closer closer = Closer.create(); closer.register(output); try { stored = true; Files.asByteSource(file).copyTo(output); } catch (Exception e) { throw closer.rethrow(e); } finally { closer.close(); } } public boolean isStored() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java
tempFileStore.withTempFile(key, file -> { try { Closer closer = Closer.create(); try { result.accept(closer.register(new FileOutputStream(file))); } catch (Exception e) { throw closer.rethrow(e); } finally { closer.close(); } } catch (IOException ex) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:53 UTC 2024 - 7K bytes - Viewed (0)