- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 418 for clobber (0.35 sec)
-
src/runtime/sys_windows_386.s
// Set up tls. LEAL m_tls(CX), DI MOVL CX, g_m(DX) MOVL DX, g(DI) MOVL DI, 4(SP) CALL runtime·setldt(SB) // clobbers CX and DX // Someday the convention will be D is always cleared. CLD CALL runtime·stackcheck(SB) // clobbers AX,CX CALL runtime·mstart(SB) RET // uint32 tstart_stdcall(M *newm); TEXT runtime·tstart_stdcall(SB),NOSPLIT,$0 MOVL newm+0(FP), BX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.5K bytes - Viewed (0) -
cmd/bitrot_test.go
t.Fatal(err) } _, err = writer.Write([]byte("aaaaaaaaaa")) if err != nil { t.Fatal(err) } _, err = writer.Write([]byte("aaaaa")) if err != nil { t.Fatal(err) } if bw, ok := writer.(io.Closer); ok { bw.Close() } reader := newBitrotReader(disk, nil, volume, filePath, 35, bitrotAlgo, bitrotWriterSum(writer), 10) b := make([]byte, 10) if _, err = reader.ReadAt(b, 0); err != nil { t.Fatal(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 2.1K bytes - Viewed (0) -
src/internal/bytealg/count_arm.s
MOVBU c+8(FP), R2 MOVW $ret+12(FP), R7 B countbytebody<>(SB) // Input: // R0: data // R1: data length // R2: byte to find // R7: address to put result // // On exit: // R4 and R8 are clobbered TEXT countbytebody<>(SB),NOSPLIT,$0 MOVW $0, R8 // R8 = count of byte to search CMP $0, R1 B.EQ done // short path to handle 0-byte case ADD R0, R1 // R1 is the end of the range byte_loop: MOVBU.P 1(R0), R4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 16:33:10 UTC 2019 - 917 bytes - Viewed (0) -
src/net/http/fcgi/fcgi.go
} // bufWriter encapsulates bufio.Writer but also closes the underlying stream when // Closed. type bufWriter struct { closer io.Closer *bufio.Writer } func (w *bufWriter) Close() error { if err := w.Writer.Flush(); err != nil { w.closer.Close() return err } return w.closer.Close() } func newWriter(c *conn, recType recType, reqId uint16) *bufWriter {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 18:51:39 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/test/framework/testcontext.go
func (c *testContext) Skipped() bool { c.Helper() return c.T.Skipped() } func (c *testContext) ID() string { return c.id } var _ io.Closer = &closer{} type closer struct { fn func() error noskip bool } func (c *closer) Close() error { return c.fn() } func (c *testContext) RecordTraceEvent(string, any) { // Currently, only supported at suite level.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.4K bytes - Viewed (0) -
src/runtime/sys_windows_arm.s
MOVM.DB.W [R4-R11, R14], (R13) // push {r4-r11, lr} (SP-=40) SUB $(16), R13 // reserve space for parameters/retval to go call MOVW R0, R6 // Save param0 MOVW R1, R7 // Save param1 BL runtime·load_g(SB) // Clobbers R0 MOVW $0, R4 MOVW R4, 0(R13) // No saved link register. MOVW R6, 4(R13) // Move arg0 into position MOVW R7, 8(R13) // Move arg1 into position BL runtime·sigtrampgo(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 7.7K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
} protected static File getFileForClasspathResource(String resource) throws FileNotFoundException, URISyntaxException { ClassLoader cloader = Thread.currentThread().getContextClassLoader(); URL resourceUrl = cloader.getResource(resource); if (resourceUrl == null) { throw new FileNotFoundException("Unable to find: " + resource); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
manifest.getMainAttributes().put(Attributes.Name.CLASS_PATH, jarFile.getName()); Closer closer = Closer.create(); try { FileOutputStream fileOut = closer.register(new FileOutputStream(jarFile)); JarOutputStream jarOut = closer.register(new JarOutputStream(fileOut, manifest)); for (String entry : entries) { jarOut.putNextEntry(new ZipEntry(entry));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 26 14:02:27 UTC 2024 - 24.9K bytes - Viewed (0) -
test/fixedbugs/issue14591.go
// when they are assigned to a PPARAMOUT slot before // the last GC safepoint. package main import ( "fmt" "runtime" ) // When a T is deallocated, T[1] is certain to // get clobbered (the runtime writes 0xdeaddeaddeaddead there). type T [4]int func f() (r, s *T) { r = &T{0x30, 0x31, 0x32, 0x33} runtime.GC() s = &T{0x40, 0x41, 0x42, 0x43} runtime.GC() return } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 769 bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
} @Override public byte[] read() throws IOException { Closer closer = Closer.create(); try { FileInputStream in = closer.register(openStream()); return ByteStreams.toByteArray(in, in.getChannel().size()); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } @Override public String toString() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0)