Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for GCCGO (0.06 sec)

  1. src/internal/reflectlite/type.go

    	}
    
    	return false
    }
    
    // toType converts from a *rtype to a Type that can be returned
    // to the client of package reflect. In gc, the only concern is that
    // a nil *rtype must be replaced by a nil Type, but in gccgo this
    // function takes care of ensuring that multiple *rtype for the same
    // type are coalesced into a single Type.
    func toType(t *abi.Type) Type {
    	if t == nil {
    		return nil
    	}
    	return toRType(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    	}
    }
    
    // issue 8331 part 1
    
    func issue8331a() C.issue8331 {
    	return issue8331Var
    }
    
    // issue 10303
    
    func test10303(t *testing.T, n int) {
    	if runtime.Compiler == "gccgo" {
    		t.Skip("gccgo permits C pointers on the stack")
    	}
    
    	// Run at a few different stack depths just to avoid an unlucky pass
    	// due to variables ending up on different pages.
    	if n > 0 {
    		test10303(t, n-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/toolchain/select.go

    		// Let the current binary handle the command.
    		return
    	}
    
    	// Minimal sanity check of GOTOOLCHAIN setting before search.
    	// We want to allow things like go1.20.3 but also gccgo-go1.20.3.
    	// We want to disallow mistakes / bad ideas like GOTOOLCHAIN=bash,
    	// since we will find that in the path lookup.
    	if !strings.HasPrefix(gotoolchain, "go1") && !strings.Contains(gotoolchain, "-go1") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    // functions, even though the analysis is capable of deducing that, for
    // example, fmt.Printf forwards to fmt.Fprintf. We avoid relying on the
    // driver applying analyzers to standard packages because "go vet" does
    // not do so with gccgo, and nor do some other build systems.
    var isPrint = stringSet{
    	"fmt.Appendf":  true,
    	"fmt.Append":   true,
    	"fmt.Appendln": true,
    	"fmt.Errorf":   true,
    	"fmt.Fprint":   true,
    	"fmt.Fprintf":  true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  5. src/os/signal/signal_test.go

    		// At this point we should either die from SIGINT or
    		// get a notification on cs. If neither happens, we
    		// dropped the signal. It is given 2 seconds to
    		// deliver, as needed for gccgo on some loaded test systems.
    
    		select {
    		case <-cs:
    		case <-time.After(timeout):
    			if !printed {
    				fmt.Print("lost signal on tries:")
    				printed = true
    			}
    			fmt.Printf(" %d", i)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    // go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build aix && ppc64 && gccgo
    
    package unix
    
    /*
    #include <stdint.h>
    int utimes(uintptr_t, uintptr_t);
    int utimensat(int, uintptr_t, uintptr_t, int);
    int getcwd(uintptr_t, size_t);
    int accept(int, uintptr_t, uintptr_t);
    int getdirent(int, uintptr_t, size_t);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  7. src/go/ast/ast.go

    }
    
    // isDirective reports whether c is a comment directive.
    // This code is also in go/printer.
    func isDirective(c string) bool {
    	// "//line " is a line directive.
    	// "//extern " is for gccgo.
    	// "//export " is for cgo.
    	// (The // has been removed.)
    	if strings.HasPrefix(c, "line ") || strings.HasPrefix(c, "extern ") || strings.HasPrefix(c, "export ") {
    		return true
    	}
    
    	// "//[a-z0-9]+:[a-z0-9]"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  8. src/fmt/scan_test.go

    	testScanInts(t, scanInts)
    	testScanInts(t, func(r *RecursiveInt, b *bytes.Buffer) (err error) {
    		_, err = Fscan(b, r)
    		return
    	})
    }
    
    // 800 is small enough to not overflow the stack when using gccgo on a
    // platform that does not support split stack.
    const intCount = 800
    
    func testScanInts(t *testing.T, scan func(*RecursiveInt, *bytes.Buffer) error) {
    	r := new(RecursiveInt)
    	ints := makeInts(intCount)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    					panic("last non-emptyRest entry is emptyOne")
    				}
    				k++
    			}
    		}
    	}
    }
    
    func RunGetgThreadSwitchTest() {
    	// Test that getg works correctly with thread switch.
    	// With gccgo, if we generate getg inlined, the backend
    	// may cache the address of the TLS variable, which
    	// will become invalid after a thread switch. This test
    	// checks that the bad caching doesn't happen.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    var laxGoVersionRE = lazyregexp.New(`^v?(([1-9][0-9]*)\.(0|[1-9][0-9]*))([^0-9].*)$`)
    
    // Toolchains must be named beginning with `go1`,
    // like "go1.20.3" or "go1.20.3-gccgo". As a special case, "default" is also permitted.
    // Note that this regexp is a much looser condition than go/version.IsValid,
    // for forward compatibility.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top