Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for prop (0.14 sec)

  1. src/cmd/cgo/ast.go

    // Copyright 2009 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.
    
    // Parse input AST and prepare Prog structure.
    
    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/buildid_linux.go

    // one.
    
    import (
    	"bytes"
    	"debug/elf"
    	"os"
    	"testing"
    )
    
    func testBuildID(t *testing.T) {
    	f, err := elf.Open("/proc/self/exe")
    	if err != nil {
    		if os.IsNotExist(err) {
    			t.Skip("no /proc/self/exe")
    		}
    		t.Fatal("opening /proc/self/exe: ", err)
    	}
    	defer f.Close()
    
    	c := 0
    sections:
    	for i, s := range f.Sections {
    		if s.Type != elf.SHT_NOTE {
    			continue
    		}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm.go

    func ARMConditionCodes(prog *obj.Prog, cond string) bool {
    	if cond == "" {
    		return true
    	}
    	bits, ok := ParseARMCondition(cond)
    	if !ok {
    		return false
    	}
    	/* hack to make B.NE etc. work: turn it into the corresponding conditional */
    	if prog.As == arm.AB {
    		prog.As = bcode[(bits^arm.C_SCOND_XOR)&0xf]
    		bits = (bits &^ 0xf) | arm.C_SCOND_NONE
    	}
    	prog.Scond = bits
    	return true
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue1435.go

    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    	for _, f := range fs {
    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    		d, err := os.ReadFile(tf)
    		if err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			// so we don't know how they correspond to Go fields
    			// even if they are aligned at byte boundaries.
    			continue
    		}
    
    		if talign > 0 && f.ByteOffset%talign != 0 {
    			// Drop misaligned fields, the same way we drop integer bit fields.
    			// The goal is to make available what can be made available.
    			// Otherwise one bad and unneeded field in an otherwise okay struct
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. api/go1.16.txt

    pkg syscall (darwin-arm64), const PROT_EXEC = 4
    pkg syscall (darwin-arm64), const PROT_EXEC ideal-int
    pkg syscall (darwin-arm64), const PROT_NONE = 0
    pkg syscall (darwin-arm64), const PROT_NONE ideal-int
    pkg syscall (darwin-arm64), const PROT_READ = 1
    pkg syscall (darwin-arm64), const PROT_READ ideal-int
    pkg syscall (darwin-arm64), const PROT_WRITE = 2
    pkg syscall (darwin-arm64), const PROT_WRITE ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  7. api/go1.14.txt

    pkg syscall (freebsd-arm64), const PROT_EXEC = 4
    pkg syscall (freebsd-arm64), const PROT_EXEC ideal-int
    pkg syscall (freebsd-arm64), const PROT_NONE = 0
    pkg syscall (freebsd-arm64), const PROT_NONE ideal-int
    pkg syscall (freebsd-arm64), const PROT_READ = 1
    pkg syscall (freebsd-arm64), const PROT_READ ideal-int
    pkg syscall (freebsd-arm64), const PROT_WRITE = 2
    pkg syscall (freebsd-arm64), const PROT_WRITE ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  8. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const PROT_EXEC = 4 #53466
    pkg syscall (freebsd-riscv64), const PROT_EXEC ideal-int #53466
    pkg syscall (freebsd-riscv64), const PROT_NONE = 0 #53466
    pkg syscall (freebsd-riscv64), const PROT_NONE ideal-int #53466
    pkg syscall (freebsd-riscv64), const PROT_READ = 1 #53466
    pkg syscall (freebsd-riscv64), const PROT_READ ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    	if string(m) != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 5. Drop
    	dropNotLatin := func(r rune) rune {
    		if unicode.Is(unicode.Latin, r) {
    			return r
    		}
    		return -1
    	}
    	m = Map(dropNotLatin, []byte("Hello, 세계"))
    	expect = "Hello"
    	if string(m) != expect {
    		t.Errorf("drop: expected %q got %q", expect, m)
    	}
    
    	// 6. Invalid rune
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/ppc64.s

    	MOVD SPR(3), 4(R1)              // 7fe302a6fbe10004
    	MOVD XER, 4(R1)                 // 7fe102a6fbe10004
    	MOVD 4(R1), SPR(3)              // ebe100047fe303a6
    	MOVD 4(R1), XER                 // ebe100047fe103a6
    	PNOP                            // 0700000000000000
    
    	SETB CR1,R3                     // 7c640100
    	VCLZLSBB V1,R2                  // 10400e02
    	VCTZLSBB V1,R2                  // 10410e02
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
Back to top