Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for raceread (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/index/suffixarray/suffixarray_test.go

    	old := maxData32
    	defer func() {
    		maxData32 = old
    	}()
    	// Reread as forced 32.
    	y = Index{}
    	maxData32 = realMaxData32
    	if err := y.Read(bytes.NewReader(buf.Bytes())); err != nil {
    		t.Errorf("failed reading index %s (%s)", tc.name, err)
    	}
    	if !equal(x, &y) {
    		t.Errorf("restored index doesn't match saved index %s", tc.name)
    	}
    
    	// Reread as forced 64.
    	y = Index{}
    	maxData32 = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/runtime/map.go

    // hold onto it for very long.
    func mapaccess1(t *maptype, h *hmap, key unsafe.Pointer) unsafe.Pointer {
    	if raceenabled && h != nil {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(mapaccess1)
    		racereadpc(unsafe.Pointer(h), callerpc, pc)
    		raceReadObjectPC(t.Key, key, callerpc, pc)
    	}
    	if msanenabled && h != nil {
    		msanread(key, t.Key.Size_)
    	}
    	if asanenabled && h != nil {
    		asanread(key, t.Key.Size_)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top