Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 266 for tid1 (0.07 sec)

  1. src/cmd/cgo/internal/test/cgo_thread_lock.go

    //go:build linux
    
    package cgotest
    
    /*
    #include <unistd.h>
    #include <stdbool.h>
    #include <sys/syscall.h>
    void Gosched(void);
    static bool Ctid(void) {
    	long tid1 = syscall(SYS_gettid);
    	Gosched();
    	return tid1 == syscall(SYS_gettid);
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    //export Gosched
    func Gosched() {
    	runtime.Gosched()
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 16:55:07 UTC 2023
    - 939 bytes
    - Viewed (0)
  2. src/runtime/defs_dragonfly_amd64.go

    )
    
    type rtprio struct {
    	_type uint16
    	prio  uint16
    }
    
    type lwpparams struct {
    	start_func uintptr
    	arg        unsafe.Pointer
    	stack      uintptr
    	tid1       unsafe.Pointer // *int32
    	tid2       unsafe.Pointer // *int32
    }
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type stackt struct {
    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/runtime/os_dragonfly.go

    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    
    	params := lwpparams{
    		start_func: abi.FuncPCABI0(lwp_start),
    		arg:        unsafe.Pointer(mp),
    		stack:      uintptr(stk),
    		tid1:       nil, // minit will record tid
    		tid2:       nil,
    	}
    
    	// TODO: Check for error.
    	retryOnEAGAIN(func() int32 {
    		lwp_create(&params)
    		return 0
    	})
    	sigprocmask(_SIG_SETMASK, &oset, nil)
    }
    
    func osinit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. pkg/test/framework/suite_test.go

    	}
    
    	var exit2Called bool
    	var errCode2 int
    	exitFn2 := func(errCode int) {
    		exit2Called = true
    		errCode2 = errCode
    	}
    
    	s := newTestSuite("tid1", runFn1, exitFn1, defaultSettingsFn)
    
    	s2 := newTestSuite("tid2", runFn2, exitFn2, defaultSettingsFn)
    
    	go s.Run()
    	waitForRun1.Wait()
    
    	s2.Run()
    	waitForTestCompletion.Done()
    	waitForExit1Call.Wait()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go

    	QUIESCE_UNFREEZE   int32 = 5
    	FREEZE_THIS_THREAD int32 = 6
    	FREEZE_EXIT        int32 = 8
    	QUIESCE_SRB        int32 = 9
    )
    
    type Pgtha struct {
    	Pid        uint32 // 0
    	Tid0       uint32 // 4
    	Tid1       uint32
    	Accesspid  byte    // C
    	Accesstid  byte    // D
    	Accessasid uint16  // E
    	Loginname  [8]byte // 10
    	Flag1      byte    // 18
    	Flag1b2    byte    // 19
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/tidy.go

    the module graph, and causes tidy to error out if that version of the
    'go' command would load any imported package from a different module
    version. By default, tidy acts as if the -compat flag were set to the
    version prior to the one indicated by the 'go' directive in the go.mod
    file.
    
    The -x flag causes tidy to print the commands download executes.
    
    See https://golang.org/ref/mod#go-mod-tidy for more about 'go mod tidy'.
    	`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/ir/.clang-tidy

    Alexander Belyaev <******@****.***> 1659120781 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  8. tests/tests_all.sh

    #!/bin/bash -e
    
    dialects=("sqlite" "mysql" "postgres" "sqlserver" "tidb")
    
    if [[ $(pwd) == *"gorm/tests"* ]]; then
      cd ..
    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION ]]; then
      if [ -d tests ]
      then
        cd tests
        if [[ $(uname -a) == *" arm64" ]]; then
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_diff.txt

    stdout 'diff current/go.sum tidy/go.sum'
    
    # Everything is tidy, should return zero exit code.
    go mod tidy
    go mod tidy -diff
    ! stdout 'diff current/go.mod tidy/go.mod'
    ! stdout 'diff current/go.sum tidy/go.sum'
    
    # go.mod requires updates, should return non-zero exit code.
    cp go.mod.orig go.mod
    ! go mod tidy -diff
    stdout 'diff current/go.mod tidy/go.mod'
    ! stdout 'diff current/go.sum tidy/go.sum'
    cmp go.mod.orig go.mod
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_retention.txt

    # to update the go.mod file if the changes only affect formatting, and should only
    # remove redundant requirements in 'go mod tidy'.
    
    env GO111MODULE=on
    [short] skip
    
    # Control case: verify that go.mod.tidy is actually tidy.
    cp go.mod.tidy go.mod
    go list -mod=mod all
    cmp go.mod go.mod.tidy
    
    
    # If the only difference in the go.mod file is the line endings,
    # it should not be overwritten automatically.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 3K bytes
    - Viewed (0)
Back to top