Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for raceread (0.14 sec)

  1. src/os/rawconn.go

    	runtime.KeepAlive(c.file)
    	return err
    }
    
    func (c *rawConn) Read(f func(uintptr) bool) error {
    	if err := c.file.checkValid("SyscallConn.Read"); err != nil {
    		return err
    	}
    	err := c.file.pfd.RawRead(f)
    	runtime.KeepAlive(c.file)
    	return err
    }
    
    func (c *rawConn) Write(f func(uintptr) bool) error {
    	if err := c.file.checkValid("SyscallConn.Write"); err != nil {
    		return err
    	}
    	err := c.file.pfd.RawWrite(f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 993 bytes
    - Viewed (0)
  2. src/runtime/race0.go

    func racemapshadow(addr unsafe.Pointer, size uintptr)                       { throw("race") }
    func racewritepc(addr unsafe.Pointer, callerpc, pc uintptr)                 { throw("race") }
    func racereadpc(addr unsafe.Pointer, callerpc, pc uintptr)                  { throw("race") }
    func racereadrangepc(addr unsafe.Pointer, sz, callerpc, pc uintptr)         { throw("race") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  3. src/internal/poll/fd_plan9.go

    // RawControl invokes the user-defined function f for a non-IO
    // operation.
    func (fd *FD) RawControl(f func(uintptr)) error {
    	return errors.New("not implemented")
    }
    
    // RawRead invokes the user-defined function f for a read operation.
    func (fd *FD) RawRead(f func(uintptr) bool) error {
    	return errors.New("not implemented")
    }
    
    // RawWrite invokes the user-defined function f for a write operation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/net/rawconn.go

    	}
    	return err
    }
    
    func (c *rawConn) Read(f func(uintptr) bool) error {
    	if !c.ok() {
    		return syscall.EINVAL
    	}
    	err := c.fd.pfd.RawRead(f)
    	runtime.KeepAlive(c.fd)
    	if err != nil {
    		err = &OpError{Op: "raw-read", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	return err
    }
    
    func (c *rawConn) Write(f func(uintptr) bool) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/nettest/conntest.go

    // race detector.
    func TestConn(t *testing.T, mp MakePipe) {
    	t.Run("BasicIO", func(t *testing.T) { timeoutWrapper(t, mp, testBasicIO) })
    	t.Run("PingPong", func(t *testing.T) { timeoutWrapper(t, mp, testPingPong) })
    	t.Run("RacyRead", func(t *testing.T) { timeoutWrapper(t, mp, testRacyRead) })
    	t.Run("RacyWrite", func(t *testing.T) { timeoutWrapper(t, mp, testRacyWrite) })
    	t.Run("ReadTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testReadTimeout) })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

    import static org.junit.jupiter.api.Assertions.fail;
    
    class DefaultMavenProjectBuilderTest extends AbstractMavenProjectTestCase {
        @TempDir
        File localRepoDir;
    
        // only use by reread()
        @TempDir
        Path projectRoot;
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            projectBuilder = getContainer().lookup(ProjectBuilder.class);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:04:04 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  7. src/runtime/map_fast64.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    func mapaccess1_fast64(t *maptype, h *hmap, key uint64) unsafe.Pointer {
    	if raceenabled && h != nil {
    		callerpc := getcallerpc()
    		racereadpc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapaccess1_fast64))
    	}
    	if h == nil || h.count == 0 {
    		return unsafe.Pointer(&zeroVal[0])
    	}
    	if h.flags&hashWriting != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      Scope root = Scope::NewRootScope().ExitOnError();
    
      Node* write_0 = MakeWrite(root, "W0");
      Node* neutral_0 = MakeNeutral(root, "N0");
      Node* read_0 = MakeRead(root, "R0");
      Node* write_1 = MakeWrite(root, "W1");
      Node* neutral_1 = MakeNeutral(root, "N1");
      Node* read_1 = MakeRead(root, "R1");
    
      root.graph()->AddControlEdge(write_0, neutral_0);
      root.graph()->AddControlEdge(neutral_0, read_0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  9. src/runtime/map_fast32.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    func mapaccess1_fast32(t *maptype, h *hmap, key uint32) unsafe.Pointer {
    	if raceenabled && h != nil {
    		callerpc := getcallerpc()
    		racereadpc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapaccess1_fast32))
    	}
    	if h == nil || h.count == 0 {
    		return unsafe.Pointer(&zeroVal[0])
    	}
    	if h.flags&hashWriting != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/runtime/map_faststr.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    func mapaccess1_faststr(t *maptype, h *hmap, ky string) unsafe.Pointer {
    	if raceenabled && h != nil {
    		callerpc := getcallerpc()
    		racereadpc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapaccess1_faststr))
    	}
    	if h == nil || h.count == 0 {
    		return unsafe.Pointer(&zeroVal[0])
    	}
    	if h.flags&hashWriting != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top