Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for _Trace (0.16 sec)

  1. src/cmd/cover/cover.go

    					clause := n.(*ast.CommClause)
    					f.addCounters(clause.Colon+1, clause.Colon+1, clause.End(), clause.Body, false)
    				}
    				return f
    			}
    		}
    		f.addCounters(n.Lbrace, n.Lbrace+1, n.Rbrace+1, n.List, true) // +1 to step past closing brace.
    	case *ast.IfStmt:
    		if n.Init != nil {
    			ast.Walk(f, n.Init)
    		}
    		ast.Walk(f, n.Cond)
    		ast.Walk(f, n.Body)
    		if n.Else == nil {
    			return nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. internal/grid/trace.go

    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    	case map[string]string:
    		m := MSS(typed)
    		trace.Path += m.ToQuery()
    	case *URLValues:
    		trace.Path += typed.Values().Encode()
    	case *NoPayload, *Bytes:
    		trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/go/ast/ast.go

    		return s.Label.End()
    	}
    	return token.Pos(int(s.TokPos) + len(s.Tok.String()))
    }
    func (s *BlockStmt) End() token.Pos {
    	if s.Rbrace.IsValid() {
    		return s.Rbrace + 1
    	}
    	if n := len(s.List); n > 0 {
    		return s.List[n-1].End()
    	}
    	return s.Lbrace + 1
    }
    func (s *IfStmt) End() token.Pos {
    	if s.Else != nil {
    		return s.Else.End()
    	}
    	return s.Body.End()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  4. src/runtime/race.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build race
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // Public race detection API, present iff build with -race.
    
    func RaceRead(addr unsafe.Pointer)
    func RaceWrite(addr unsafe.Pointer)
    func RaceReadRange(addr unsafe.Pointer, len int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. src/testing/testing_test.go

    			t.Run("subsub1", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				c1 <- true
    			})
    			t.Run("subsub2", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				<-c1
    			})
    		})
    		doRace()
    		return
    	}
    
    	out := runTest(t, "TestRaceSubReports")
    
    	// There should be three race reports: one for each subtest, and one for the
    	// race after the subtests complete. Note that because the subtests run in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. src/syscall/mksyscall.pl

    	if ((($darwin || ($openbsd && $libc)) && $func =~ /^ptrace(Ptr)?$/)) {
    		# The ptrace function is called from forkAndExecInChild where stack
    		# growth is forbidden.
    		$text .= "//go:nosplit\n"
    	}
    
    	# Go function header.
    	my $out_decl = @out ? sprintf(" (%s)", join(', ', @out)) : "";
    	$text .= sprintf "func %s(%s)%s {\n", $func, join(', ', @in), $out_decl;
    
    	# Disable ptrace on iOS.
    	if ($darwin && $func =~ /^ptrace(Ptr)?$/) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    	}
    	return sendfile(outfd, infd, offset, count)
    }
    
    //sys	ptrace(request int, pid int, addr uintptr, data int) (err error)
    //sys	ptracePtr(request int, pid int, addr unsafe.Pointer, data int) (err error) = SYS_PTRACE
    
    func PtraceAttach(pid int) (err error) {
    	return ptrace(PT_ATTACH, pid, 0, 0)
    }
    
    func PtraceCont(pid int, signal int) (err error) {
    	return ptrace(PT_CONTINUE, pid, 1, signal)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux.go

    	return ptrace(PTRACE_SYSCALL, pid, 0, uintptr(signal))
    }
    
    func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) }
    
    func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
    
    func PtraceDetach(pid int) (err error) { return ptrace(PTRACE_DETACH, pid, 0, 0) }
    
    //sys	reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. src/internal/platform/supported.go

    // "default" buildmode. On Windows this is affected by -race,
    // so force the caller to pass that in to centralize that choice.
    func DefaultPIE(goos, goarch string, isRace bool) bool {
    	switch goos {
    	case "android", "ios":
    		return true
    	case "windows":
    		if isRace {
    			// PIE is not supported with -race on windows;
    			// see https://go.dev/cl/416174.
    			return false
    		}
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    #define _DARWIN_USE_64_BIT_INODE
    #define __APPLE_USE_RFC_3542
    #include <stdint.h>
    #include <sys/attr.h>
    #include <sys/clonefile.h>
    #include <sys/kern_control.h>
    #include <sys/types.h>
    #include <sys/event.h>
    #include <sys/ptrace.h>
    #include <sys/select.h>
    #include <sys/socket.h>
    #include <sys/stat.h>
    #include <sys/un.h>
    #include <sys/sockio.h>
    #include <sys/sys_domain.h>
    #include <sys/sysctl.h>
    #include <sys/mman.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top