Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 765 for CFlags (0.35 sec)

  1. src/runtime/cgo/cgo.go

    #cgo aix LDFLAGS: -Wl,-berok
    #cgo solaris LDFLAGS: -lxnet
    #cgo solaris LDFLAGS: -lsocket
    
    // Use -fno-stack-protector to avoid problems locating the
    // proper support functions. See issues #52919, #54313, #58385.
    #cgo CFLAGS: -Wall -Werror -fno-stack-protector
    
    #cgo solaris CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
    
    */
    import "C"
    
    import "runtime/internal/sys"
    
    // Incomplete is used specifically for the semantics of incomplete C types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 14:29:46 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            String getCFlags()
            void setCFlags(String cflags)
        }
    
        def "extraction of double uppercase char first getter like getCFlags() is javabeans compliant"() {
            when:
            def schema = store.getSchema(HasDoubleCapsStartingGetter)
    
            then:
            schema instanceof ManagedImplSchema
            def cflags = schema.properties[0]
            assert cflags instanceof ModelProperty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/envcmd/env.go

    	defer func() {
    		if err := b.Close(); err != nil {
    			base.Fatal(err)
    		}
    	}()
    
    	cppflags, cflags, cxxflags, fflags, ldflags, err := b.CFlags(&load.Package{})
    	if err != nil {
    		// Should not happen - b.CFlags was given an empty package.
    		fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err)
    		return nil
    	}
    	cmd := b.GccCmd(".", "")
    
    	join := func(s []string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/testdata/tsan_shared.go

    package main
    
    // This program failed with SIGSEGV when run under the C/C++ ThreadSanitizer.
    // The Go runtime had re-registered the C handler with the wrong flags due to a
    // typo, resulting in null pointers being passed for the info and context
    // parameters to the handler.
    
    /*
    #cgo CFLAGS: -fsanitize=thread
    #cgo LDFLAGS: -fsanitize=thread
    
    #include <signal.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/runtime/asan/asan.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build asan && linux && (arm64 || amd64 || loong64 || riscv64 || ppc64le)
    
    package asan
    
    /*
    #cgo CFLAGS: -fsanitize=address
    #cgo LDFLAGS: -fsanitize=address
    
    #include <stdbool.h>
    #include <stdint.h>
    #include <sanitizer/asan_interface.h>
    
    void __asan_read_go(void *addr, uintptr_t sz, void *sp, void *pc) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 00:22:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan8.go

    package main
    
    // This program failed when run under the C/C++ ThreadSanitizer.  The TSAN
    // sigaction function interceptor returned SIG_DFL instead of the Go runtime's
    // handler in registerSegvForwarder.
    
    /*
    #cgo CFLAGS: -fsanitize=thread
    #cgo LDFLAGS: -fsanitize=thread
    
    #include <signal.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    
    struct sigaction prev_sa;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. lib/time/update.bash

    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
    tar xzf tzcode$CODE.tar.gz
    tar xzf tzdata$DATA.tar.gz
    
    if ! make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo posix_only >make.out 2>&1; then
    	cat make.out
    	exit 2
    fi
    
    cd zoneinfo
    ../mkzip ../../zoneinfo.zip
    cd ../..
    
    files="update.bash zoneinfo.zip"
    modified=true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 18:20:41 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/runtime/defs_arm_linux.go

    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    /*
    Input to cgo.
    On a Debian Lenny arm linux distribution:
    
    cgo -cdefs defs_arm.c >arm/defs.h
    */
    
    package runtime
    
    /*
    #cgo CFLAGS: -I/usr/src/linux-headers-2.6.26-2-versatile/include
    
    #define __ARCH_SI_UID_T int
    #include <asm/signal.h>
    #include <asm/mman.h>
    #include <asm/sigcontext.h>
    #include <asm/ucontext.h>
    #include <asm/siginfo.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/testdata/tsan13.go

    package main
    
    // This program failed when run under the C/C++ ThreadSanitizer.
    // There was no TSAN synchronization for the call to the cgo
    // traceback routine.
    
    /*
    #cgo CFLAGS: -g -fsanitize=thread
    #cgo LDFLAGS: -g -fsanitize=thread
    
    #include <pthread.h>
    #include <stdint.h>
    #include <stdlib.h>
    #include <sys/time.h>
    #include <unistd.h>
    
    struct tracebackArg {
    	uintptr_t  Context;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    			archivePath := dir.Join(name + ".a")
    			mustRun(t, config.goCmd("build", "-buildmode=c-archive", "-o", archivePath, srcPath(tc.goSrc)))
    
    			// build C code (if any) and link with Go code
    			cmd, err := cc(config.cFlags...)
    			if err != nil {
    				t.Fatalf("error running cc: %v", err)
    			}
    			cmd.Args = append(cmd.Args, config.ldFlags...)
    			cmd.Args = append(cmd.Args, "-o", outPath, "-I", dir.Base())
    			if tc.cSrc != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top