Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 311 for lchflags (0.17 sec)

  1. src/net/cgo_unix_cgo_res.go

    /*
    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <netdb.h>
    #include <unistd.h>
    #include <string.h>
    #include <arpa/nameser.h>
    #include <resolv.h>
    
    #cgo !android,!openbsd LDFLAGS: -lresolv
    */
    import "C"
    
    type _C_struct___res_state = struct{}
    
    func _C_res_ninit(state *_C_struct___res_state) error {
    	return nil
    }
    
    func _C_res_nclose(state *_C_struct___res_state) {
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 892 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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 382 bytes
    - Viewed (0)
  3. src/runtime/checkptr_test.go

    	// so it's somewhat slow.
    	if testing.Short() {
    		t.Skip("skipping test in -short mode")
    	}
    
    	t.Parallel()
    	testenv.MustHaveGoRun(t)
    
    	exe, err := buildTestProg(t, "testprog", "-gcflags=all=-d=checkptr=1")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	testCases := []struct {
    		cmd  string
    		want string
    	}{
    		{"CheckPtrAlignmentPtr", "fatal error: checkptr: misaligned pointer conversion\n"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  4. test/fixedbugs/bug513.go

    // run -race -gcflags=all=-d=checkptr=0
    
    //go:build ((linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)) && cgo
    
    // Copyright 2021 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.
    
    // Although -race turns on -d=checkptr, the explicit -d=checkptr=0
    // should override it.
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 596 bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

            private String CFlags;
            private String dns;
            private String URL;
            private String a;
            private String b;
    
            @Inject
            public TaskWithJavaBeanCornerCaseProperties(String cCompiler, String CFlags, String dns, String URL, String a, String b) {
                this.cCompiler = cCompiler;
                this.CFlags = CFlags;
                this.dns = dns;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  6. test/fixedbugs/issue28688.go

    // run -gcflags=-d=softfloat
    
    // 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.
    
    package main
    
    import (
    	"fmt"
    )
    
    // When using soft-float, OMUL might be rewritten to function
    // call so we should ensure it was evaluated first. Stack frame
    // setup for "test" function call should happen after call to runtime.fmul32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 622 bytes
    - Viewed (0)
  7. test/fixedbugs/issue59334.go

    // run -tags=purego -gcflags=all=-d=checkptr
    
    // Copyright 2023 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.
    
    package main
    
    import "crypto/subtle"
    
    func main() {
    	dst := make([]byte, 5)
    	src := make([]byte, 5)
    	for _, n := range []int{1024, 2048} { // just to make the size non-constant
    		b := make([]byte, n)
    		subtle.XORBytes(dst, src, b[n-5:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 31 23:25:07 UTC 2023
    - 448 bytes
    - Viewed (0)
  8. test/fixedbugs/issue59404.go

    // build -gcflags=-l=4
    
    // Copyright 2023 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.
    
    package p
    
    type Interface interface {
    	MonitoredResource() (resType string, labels map[string]string)
    	Done()
    }
    
    func Autodetect() Interface {
    	return func() Interface {
    		Do(func() {
    			var ad, gd Interface
    
    			go func() {
    				defer gd.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 15:07:18 UTC 2023
    - 935 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testerrors/badsym_test.go

    // goSource is the source code for the trivial Go file we use.
    // We will replace TMPDIR with the temporary directory name.
    const goSource = `
    package main
    
    // #cgo LDFLAGS: TMPDIR/cbad.o TMPDIR/cbad.so
    // extern int F();
    import "C"
    
    func main() {
    	println(C.F())
    }
    `
    
    func TestBadSymbol(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. src/net/cgo_unix_cgo_resn.go

    #include <sys/types.h>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <netdb.h>
    #include <unistd.h>
    #include <string.h>
    #include <arpa/nameser.h>
    #include <resolv.h>
    
    #cgo !aix,!dragonfly,!freebsd LDFLAGS: -lresolv
    */
    import "C"
    
    type _C_struct___res_state = C.struct___res_state
    
    func _C_res_ninit(state *_C_struct___res_state) error {
    	_, err := C.res_ninit(state)
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 979 bytes
    - Viewed (0)
Back to top