Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Cgoexp_ (0.19 sec)

  1. src/cmd/cgo/out.go

    		// We need to use a name that will be exported by the
    		// Go code; otherwise gccgo will make it static and we
    		// will not be able to link against it from the C
    		// code.
    		goName := "Cgoexp_" + exp.ExpName
    		fmt.Fprintf(fgcc, `extern %s %s %s __asm__("%s.%s");`, cRet, goName, cParams, gccgoSymbolPrefix, gccgoToSymbol(goName))
    		fmt.Fprint(fgcc, "\n")
    
    		fmt.Fprint(fgcc, "\nCGO_NO_SANITIZE_THREAD\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/internal/zstd/fuzz_test.go

    			// So we just check the prefix.
    
    			c := len(goExp)
    			if c > len(zstdExp) {
    				c = len(zstdExp)
    			}
    			goExp = goExp[:c]
    			zstdExp = zstdExp[:c]
    			if !bytes.Equal(goExp, zstdExp) {
    				t.Error("byte mismatch after error")
    				t.Logf("Go error: %v\n", goErr)
    				t.Logf("zstd error: %v\n", zstdErr)
    				showDiffs(t, zstdExp, goExp)
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/internal/buildcfg/exp.go

    // configuration tuple and returns the enabled and baseline experiment
    // flag sets.
    //
    // TODO(mdempsky): Move to internal/goexperiment.
    func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
    	// regabiSupported is set to true on platforms where register ABI is
    	// supported and enabled by default.
    	// regabiAlwaysOn is set to true on platforms where register ABI is
    	// always on.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:38:52 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/runtime/race/output_test.go

      main\.main\(\)
          .*/main\.go:34 \+0x[0-9,a-f]+
    
    Previous write at 0x[0-9,a-f]+ by goroutine [0-9]:
      main\.goCallback\(\)
          .*/main\.go:27 \+0x[0-9,a-f]+
      _cgoexp_[0-9a-z]+_goCallback\(\)
          .*_cgo_gotypes\.go:[0-9]+ \+0x[0-9,a-f]+
      _cgoexp_[0-9a-z]+_goCallback\(\)
          <autogenerated>:1 \+0x[0-9,a-f]+
    
    Goroutine [0-9] \(running\) created at:
      runtime\.newextram\(\)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/cmd/go/scriptconds_test.go

    	}
    	return false, nil
    }
    
    func hasGoexperiment(s *script.State, value string) (bool, error) {
    	GOOS, _ := s.LookupEnv("GOOS")
    	GOARCH, _ := s.LookupEnv("GOARCH")
    	goexp, _ := s.LookupEnv("GOEXPERIMENT")
    	flags, err := buildcfg.ParseGOEXPERIMENT(GOOS, GOARCH, goexp)
    	if err != nil {
    		return false, err
    	}
    	for _, exp := range flags.All() {
    		if value == exp {
    			return true, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/cmd/internal/testdir/testdir_test.go

    				}
    				tim *= timeoutScale
    			}
    		case "-goexperiment": // set GOEXPERIMENT environment
    			args = args[1:]
    			if goexp != "" {
    				goexp += ","
    			}
    			goexp += args[0]
    			runenv = append(runenv, "GOEXPERIMENT="+goexp)
    
    		case "-godebug": // set GODEBUG environment
    			args = args[1:]
    			if godebug != "" {
    				godebug += ","
    			}
    			godebug += args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/elf.go

    	st := ldr.SymType(s)
    	cgoeStatic := ldr.AttrCgoExportStatic(s)
    	cgoeDynamic := ldr.AttrCgoExportDynamic(s)
    	cgoexp := (cgoeStatic || cgoeDynamic)
    
    	d.AddUint32(target.Arch, uint32(dstru.Addstring(name)))
    
    	if elf64 {
    
    		/* type */
    		var t uint8
    
    		if cgoexp && st == sym.STEXT {
    			t = elf.ST_INFO(elf.STB_GLOBAL, elf.STT_FUNC)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/pcln.go

    		state.nfunc++
    		if state.firstFunc == 0 {
    			state.firstFunc = s
    		}
    		state.lastFunc = s
    
    		// We need to keep track of all compilation units we see. Some symbols
    		// (eg, go.buildid, _cgoexp_, etc) won't have a compilation unit.
    		cu := ldr.SymUnit(s)
    		if _, ok := seenCUs[cu]; cu != nil && !ok {
    			seenCUs[cu] = struct{}{}
    			cu.PclnIndex = len(compUnits)
    			compUnits = append(compUnits, cu)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/xcoff.go

    	ldr := ctxt.loader
    	for s, nsym := loader.Sym(1), loader.Sym(ldr.NSym()); s < nsym; s++ {
    		if !ldr.AttrCgoExport(s) {
    			continue
    		}
    		extname := ldr.SymExtname(s)
    		if !strings.HasPrefix(extname, "._cgoexp_") {
    			continue
    		}
    		if ldr.IsFileLocal(s) {
    			continue // Only export non-static symbols
    		}
    
    		// Retrieve the name of the initial symbol
    		// exported by cgo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
Back to top