Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for catching (0.11 sec)

  1. src/cmd/cgo/internal/testcshared/testdata/libgo5/libgo5.go

    	"syscall"
    	"time"
    )
    
    // The channel used to read SIGIO signals.
    var sigioChan chan os.Signal
    
    // CatchSIGIO starts catching SIGIO signals.
    //
    //export CatchSIGIO
    func CatchSIGIO() {
    	sigioChan = make(chan os.Signal, 1)
    	signal.Notify(sigioChan, syscall.SIGIO)
    }
    
    // ResetSIGIO stops catching SIGIO signals.
    //
    //export ResetSIGIO
    func ResetSIGIO() {
    	signal.Reset(syscall.SIGIO)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 986 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/testdata/libgo3/libgo3.go

    	"syscall"
    	"time"
    )
    
    // The channel used to read SIGIO signals.
    var sigioChan chan os.Signal
    
    // CatchSIGIO starts catching SIGIO signals.
    //
    //export CatchSIGIO
    func CatchSIGIO() {
    	sigioChan = make(chan os.Signal, 1)
    	signal.Notify(sigioChan, syscall.SIGIO)
    }
    
    // ResetSIGIO stops catching SIGIO signals.
    //
    //export ResetSIGIO
    func ResetSIGIO() {
    	signal.Reset(syscall.SIGIO)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1020 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/compile.go

    		default:
    			return fmt.Sprintf("Did not find a flag matching %s in -d=ssa/%s debug option (expected ssa/build/{debug,test,stats,dump=function_name})", flag, phase)
    		}
    		return ""
    	}
    	if phase == "genssa" {
    		switch flag {
    		case "dump":
    			GenssaDump[valString] = true
    		default:
    			return fmt.Sprintf("Did not find a flag matching %s in -d=ssa/%s debug option (expected ssa/genssa/dump=function_name)", flag, phase)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. misc/ios/detect.go

    	if len(udids) == 0 {
    		fail("no udid found; is a device connected?")
    	}
    
    	mps := detectMobileProvisionFiles(udids)
    	if len(mps) == 0 {
    		fail("did not find mobile provision matching device udids %q", udids)
    	}
    
    	fmt.Println("# Available provisioning profiles below.")
    	fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ppc64/ssa.go

    			ld = ppc64.ALWAR
    			st = ppc64.ASTWCCC
    		}
    		r0 := v.Args[0].Reg()
    		r1 := v.Args[1].Reg()
    		// LWSYNC - Assuming shared data not write-through-required nor
    		// caching-inhibited. See Appendix B.2.2.2 in the ISA 2.07b.
    		plwsync := s.Prog(ppc64.ALWSYNC)
    		plwsync.To.Type = obj.TYPE_NONE
    		// LBAR or LWAR
    		p := s.Prog(ld)
    		p.From.Type = obj.TYPE_MEM
    		p.From.Reg = r0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    //	$ ls foo.a dump.txt > /dev/null
    //	ls : cannot access 'dump.txt': No such file or directory
    //	$
    //
    // For this reason, pick a unique filename for the dump, so as to
    // defeat the caching.
    func gatherPropsDumpForFile(t *testing.T, testcase string, td string) (string, error) {
    	t.Helper()
    	gopath := "testdata/props/" + testcase + ".go"
    	outpath := filepath.Join(td, testcase+".a")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    For security reasons, only a limited set of flags are allowed, notably -D, -U, -I, and -l.
    To allow additional flags, set CGO_CFLAGS_ALLOW to a regular expression
    matching the new flags. To disallow flags that would otherwise be allowed,
    set CGO_CFLAGS_DISALLOW to a regular expression matching arguments
    that must be disallowed. In both cases the regular expression must match
    a full argument: to allow -mfoo=bar, use CGO_CFLAGS_ALLOW='-mfoo.*',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    			if isStructUnionClass(t.Go) {
    				t.Typedef = dt.Name
    			}
    		}
    	}
    	return t
    }
    
    // FuncType returns the Go type analogous to dtype.
    // There is no guarantee about matching memory layout.
    func (c *typeConv) FuncType(dtype *dwarf.FuncType, pos token.Pos) *FuncType {
    	p := make([]*Type, len(dtype.ParamType))
    	gp := make([]*ast.Field, len(dtype.ParamType))
    	for i, f := range dtype.ParamType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/func.go

    // with an empty body.
    // A declared function or method has an ODCLFUNC (the Func itself) and an ONAME.
    // A function literal is represented directly by an OCLOSURE, but it also
    // has an ODCLFUNC (and a matching ONAME) representing the compiled
    // underlying form of the closure, which accesses the captured variables
    // using a special data structure passed in a register.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. misc/go_android_exec/exitcode_test.go

    		}
    		f.Write([]byte(text))
    		_, err := f.Finish()
    		// We should get a no exit code error
    		if err == nil || !wantErr.MatchString(err.Error()) {
    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 14:54:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top