Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 85 for cgo (0.23 sec)

  1. .github/workflows/go-cross.yml

            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
          - name: Build on ${{ matrix.os }}
            if: matrix.os == 'ubuntu-latest'
            env:
              CGO_ENABLED: 0
              GO111MODULE: on
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 09:25:58 GMT 2024
    - 970 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue24161arg/def.go

    // Copyright 2018 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
    
    package issue24161arg
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    
    func test24161array() C.CFArrayRef {
    	return C.CFArrayCreate(0, nil, 0, nil)
    Go
    - Registered: Tue Apr 09 11:13:10 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 382 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue24161arg/use.go

    // Copyright 2018 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
    
    package issue24161arg
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import "testing"
    
    func Test(t *testing.T) {
    	a := test24161array()
    	C.CFArrayCreateCopy(0, a)
    Go
    - Registered: Tue Apr 09 11:13:10 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 398 bytes
    - Viewed (0)
  4. docs/debugging/build.sh

    #!/bin/bash
    
    export CGO_ENABLED=0
    for dir in docs/debugging/*/; do
    	go build -C ${dir} -v
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 20:47:03 GMT 2023
    - 95 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue24161res/restype.go

    // Copyright 2018 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
    
    package issue24161res
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"reflect"
    	"testing"
    )
    
    func Test(t *testing.T) {
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 486 bytes
    - Viewed (0)
  6. api/go1.22.txt

    pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-386-cgo), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-amd64), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-amd64-cgo), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-arm), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-arm-cgo), type SysProcAttr struct, PidFD *int #51246
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. buildscripts/race.sh

    #!/usr/bin/env bash
    
    set -e
    
    export GORACE="history_size=7"
    export MINIO_API_REQUESTS_MAX=10000
    
    for d in $(go list ./...); do
    	CGO_ENABLED=1 go test -v -race --timeout 100m "$d"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 184 bytes
    - Viewed (0)
  8. api/go1.18.txt

    pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Pdeathsig Signal
    pkg syscall (freebsd-amd64), type SysProcAttr struct, Pdeathsig Signal
    pkg syscall (freebsd-amd64-cgo), type SysProcAttr struct, Pdeathsig Signal
    pkg syscall (freebsd-arm), type SysProcAttr struct, Pdeathsig Signal
    pkg syscall (freebsd-arm-cgo), type SysProcAttr struct, Pdeathsig Signal
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue20910.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <assert.h>
    #include <stdlib.h>
    #include <string.h>
    #include "_cgo_export.h"
    
    /* Test calling a Go function with multiple return values.  */
    
    void
    callMulti(void)
    {
    	struct multi_return result = multi();
    	assert(strcmp(result.r0, "multi") == 0);
    	assert(result.r1 == 0);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 459 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue20266.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 20266: use -I with a relative path.
    
    package cgotest
    
    /*
    #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266
    #include "issue20266.h"
    */
    import "C"
    
    import "testing"
    
    func test20266(t *testing.T) {
    	if got, want := C.issue20266, 20266; got != want {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 463 bytes
    - Viewed (0)
Back to top