Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for darken (0.71 sec)

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

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin && cgo && !internal
    
    package cgotest
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"runtime/debug"
    	"testing"
    	"unsafe"
    )
    
    func test21897(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/testdata/msan6.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // A C function returning a value on the Go stack could leave the Go
    // stack marked as uninitialized, potentially causing a later error
    // when the stack is used for something else. Issue 26209.
    
    /*
    #cgo LDFLAGS: -fsanitize=memory
    #cgo CPPFLAGS: -fsanitize=memory
    
    #include <stdint.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/sigaltstack.go

    	if (sigaltstack(&ss, &oss) < 0) {
    		perror("sigaltstack");
    		abort();
    	}
    }
    
    static void restoreSignalStack(void) {
    #if (defined(__x86_64__) || defined(__i386__)) && defined(__APPLE__)
    	// The Darwin C library enforces a minimum that the kernel does not.
    	// This is OK since we allocated this much space in mpreinit,
    	// it was just removed from the buffer by stackalloc.
    	oss.ss_size = MINSIGSTKSZ;
    #endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. api/go1.17.txt

    pkg io/fs, func FileInfoToDirEntry(FileInfo) DirEntry
    pkg math (darwin-amd64), const MaxInt = 9223372036854775807
    pkg math (darwin-amd64), const MaxUint = 18446744073709551615
    pkg math (darwin-amd64), const MinInt = -9223372036854775808
    pkg math (darwin-amd64-cgo), const MaxInt = 9223372036854775807
    pkg math (darwin-amd64-cgo), const MaxUint = 18446744073709551615
    pkg math (darwin-amd64-cgo), const MinInt = -9223372036854775808
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue21897b.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !darwin || !cgo || internal
    
    package cgotest
    
    import "testing"
    
    func test21897(t *testing.T) {
    	t.Skip("test runs only on darwin+cgo")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 308 bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg strings, method (*Reader) Size() int64
    pkg syscall (darwin-386), type SysProcAttr struct, Ctty int
    pkg syscall (darwin-386), type SysProcAttr struct, Foreground bool
    pkg syscall (darwin-386), type SysProcAttr struct, Pgid int
    pkg syscall (darwin-386-cgo), type SysProcAttr struct, Ctty int
    pkg syscall (darwin-386-cgo), type SysProcAttr struct, Foreground bool
    pkg syscall (darwin-386-cgo), type SysProcAttr struct, Pgid int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  7. api/go1.3.txt

    pkg syscall (darwin-386), func FcntlFlock(uintptr, int, *Flock_t) error
    pkg syscall (darwin-386), func Mlock([]uint8) error
    pkg syscall (darwin-386), func Mlockall(int) error
    pkg syscall (darwin-386), func Mprotect([]uint8, int) error
    pkg syscall (darwin-386), func Munlock([]uint8) error
    pkg syscall (darwin-386), func Munlockall() error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue18146.go

    	"crypto/md5"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func test18146(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		t.Skipf("skipping flaky test on %s; see golang.org/issue/18202", runtime.GOOS)
    	}
    
    	if runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" {
    		t.Skipf("skipping on %s", runtime.GOARCH)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcshared/cshared_test.go

    		cc = append(cc, s[start:])
    	}
    
    	switch GOOS {
    	case "darwin", "ios":
    		// For Darwin/ARM.
    		// TODO(crawshaw): can we do better?
    		cc = append(cc, []string{"-framework", "CoreFoundation", "-framework", "Foundation"}...)
    	case "android":
    		cc = append(cc, "-pie")
    	}
    	libgodir := GOOS + "_" + GOARCH
    	switch GOOS {
    	case "darwin", "ios":
    		if GOARCH == "arm64" {
    			libgodir += "_shared"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue4029.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows && !static && !(darwin && internal)
    
    // Excluded in darwin internal linking PIE (which is the default) mode,
    // as dynamic export is not supported.
    
    package cgotest
    
    /*
    #include <stdint.h>
    #include <dlfcn.h>
    #cgo linux LDFLAGS: -ldl
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top