Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for name (0.15 sec)

  1. src/cmd/cgo/ast.go

    		return
    	}
    	if goname == "malloc" {
    		goname = "_CMalloc"
    	}
    	name := f.Name[goname]
    	if name == nil {
    		name = &Name{
    			Go: goname,
    		}
    		f.Name[goname] = name
    		f.NamePos[name] = sel.Pos()
    	}
    	f.Ref = append(f.Ref, &Ref{
    		Name:    name,
    		Expr:    n,
    		Context: context,
    	})
    }
    
    // Save calls to C.xxx for later processing.
    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. api/go1.5.txt

    pkg go/types, method (*MethodSet) String() string
    pkg go/types, method (*Named) AddMethod(*Func)
    pkg go/types, method (*Named) Method(int) *Func
    pkg go/types, method (*Named) NumMethods() int
    pkg go/types, method (*Named) Obj() *TypeName
    pkg go/types, method (*Named) SetUnderlying(Type)
    pkg go/types, method (*Named) String() string
    pkg go/types, method (*Named) Underlying() Type
    pkg go/types, method (*Nil) Exported() bool
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    	In internal linking mode, allow an unresolved reference to
    	<local>, assuming it will be resolved by a dynamic library
    	symbol. The optional <remote> specifies the symbol's name and
    	possibly version in the dynamic library, and the optional "<library>"
    	names the specific library where the symbol should be found.
    
    	On AIX, the library pattern is slightly different. It must be
    	"lib.a/obj.o" with obj.o the member of this library exporting
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/operand_test.go

    						wantName = wantName[1:]
    					}
    					if i := strings.Index(wantName, "+"); i >= 0 {
    						wantName = wantName[:i]
    					}
    				}
    				if ok != isFuncSym || name != wantName {
    					t.Errorf("fail at %s as function address: got %s, %v; expected %s, %v", test.input, name, ok, wantName, isFuncSym)
    				}
    			}
    		})
    	}
    }
    
    type operandTest struct {
    	input, output string
    }
    
    type badOperandTest struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    func splitUSTARPath(name string) (prefix, suffix string, ok bool) {
    	length := len(name)
    	if length <= nameSize || !isASCII(name) {
    		return "", "", false
    	} else if length > prefixSize+1 {
    		length = prefixSize + 1
    	} else if name[length-1] == '/' {
    		length--
    	}
    
    	i := strings.LastIndex(name[:length], "/")
    	nlen := len(name) - i - 1 // nlen is length of suffix
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // qualifySymbol returns name as a package-qualified symbol name. If
    // name starts with a period, qualifySymbol prepends the package
    // prefix. Otherwise it returns name unchanged.
    func (p *Parser) qualifySymbol(name string) string {
    	if strings.HasPrefix(name, ".") {
    		name = p.pkgPrefix + name
    	}
    	return name
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/input.go

    func (in *Input) define() {
    	name := in.macroName()
    	args, tokens := in.macroDefinition(name)
    	in.defineMacro(name, args, tokens)
    }
    
    // defineMacro stores the macro definition in the Input.
    func (in *Input) defineMacro(name string, args []string, tokens []Token) {
    	if in.macros[name] != nil {
    		in.Error("redefinition of macro:", name)
    	}
    	in.macros[name] = &Macro{
    		name:   name,
    		args:   args,
    		tokens: tokens,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. src/archive/zip/zip_test.go

    	if err != nil {
    		t.Fatalf("got %v, expected nil", err)
    	}
    	zh := zf.File[0].FileHeader
    	if zh.Name != h.Name || zh.Method != h.Method || zh.UncompressedSize64 != uint64(len("hi")) {
    		t.Fatalf("got %q/%d/%d expected %q/%d/%d", zh.Name, zh.Method, zh.UncompressedSize64, h.Name, h.Method, len("hi"))
    	}
    }
    
    // Issue 4302.
    func TestHeaderInvalidTagAndSize(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    	case target.Type == obj.TYPE_REG:
    		// JMP R1
    		*targetAddr = *target
    	case target.Type == obj.TYPE_MEM && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC):
    		// JMP main·morestack(SB)
    		*targetAddr = *target
    	case target.Type == obj.TYPE_INDIR && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC):
    		// JMP *main·morestack(SB)
    		*targetAddr = *target
    		targetAddr.Type = obj.TYPE_INDIR
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    	}
    	if e.isDir {
    		return &openDir{e, r.openReadDir(name), 0}, nil
    	}
    	rc, err := e.file.Open()
    	if err != nil {
    		return nil, err
    	}
    	return rc.(fs.File), nil
    }
    
    func split(name string) (dir, elem string, isDir bool) {
    	if len(name) > 0 && name[len(name)-1] == '/' {
    		isDir = true
    		name = name[:len(name)-1]
    	}
    	i := len(name) - 1
    	for i >= 0 && name[i] != '/' {
    		i--
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top