Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for github (2.07 sec)

  1. misc/ios/detect.go

    // values of the environment variables
    // used by go_ios_exec.
    // detect shells out to ideviceinfo, a third party program that can
    // be obtained by following the instructions at
    // https://github.com/libimobiledevice/libimobiledevice.
    package main
    
    import (
    	"bytes"
    	"crypto/x509"
    	"fmt"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	udids := getLines(exec.Command("idevice_id", "-l"))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue1435.go

    			}
    			if strings.HasPrefix(line, filter) {
    				if line == expected {
    					foundAThread = true
    					break
    				}
    				if filter == "Groups:" && strings.HasPrefix(line, "Groups:\t") {
    					// https://github.com/golang/go/issues/46145
    					// Containers don't reliably output this line in sorted order so manually sort and compare that.
    					a := strings.Split(line[8:], " ")
    					sort.Strings(a)
    					got := strings.Join(a, " ")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	//
    	// struct <name>__{int unused;}; typedef struct <name>__ *name;
    	//
    	// by the DECLARE_HANDLE macro in STRICT mode. The macro is declared in
    	// the Windows ntdef.h header,
    	//
    	// https://github.com/tpn/winsdk-10/blob/master/Include/10.0.16299.0/shared/ntdef.h#L779
    	if goos != "windows" {
    		return false
    	}
    	if len(dt.Field) != 1 {
    		return false
    	}
    	if dt.StructName != name+"__" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. misc/go_android_exec/main.go

    	exitCode, err := runMain()
    	if err != nil {
    		log.Fatal(err)
    	}
    	os.Exit(exitCode)
    }
    
    func runMain() (int, error) {
    	// Concurrent use of adb is flaky, so serialize adb commands.
    	// See https://github.com/golang/go/issues/23795 or
    	// https://issuetracker.google.com/issues/73230216.
    	lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock")
    	lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. misc/ios/go_ios_exec.go

    // license that can be found in the LICENSE file.
    
    // This program can be used as go_ios_$GOARCH_exec by the Go tool.
    // It executes binaries on an iOS device using the XCode toolchain
    // and the ios-deploy program: https://github.com/phonegap/ios-deploy
    //
    // This script supports an extra flag, -lldb, that pauses execution
    // just before the main program begins and allows the user to control
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  6. src/cmd/api/main_test.go

    		ctags[tag] = true
    	}
    	// TODO: ReleaseTags (need to load default)
    	key := dir
    
    	// explicit on GOOS and GOARCH as global cache will use "all" cached packages for
    	// an indirect imported package. See https://github.com/golang/go/issues/21181
    	// for more detail.
    	tags = append(tags, context.GOOS, context.GOARCH)
    	sort.Strings(tags)
    
    	for _, tag := range tags {
    		if ctags[tag] {
    			key += "," + tag
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top