Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for init (0.17 sec)

  1. src/cmd/asm/internal/asm/endtoend_test.go

    	}
    }
    
    func Test386EndToEnd(t *testing.T) {
    	testEndToEnd(t, "386", "386")
    }
    
    func TestARMEndToEnd(t *testing.T) {
    	defer func(old int) { buildcfg.GOARM.Version = old }(buildcfg.GOARM.Version)
    	for _, goarm := range []int{5, 6, 7} {
    		t.Logf("GOARM=%d", goarm)
    		buildcfg.GOARM.Version = goarm
    		testEndToEnd(t, "arm", "arm")
    		if goarm == 6 {
    			testEndToEnd(t, "arm", "armv6")
    		}
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    		}
    		f.walk(n.List, context, visit)
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.SwitchStmt:
    		f.walk(n.Init, ctxStmt, visit)
    		f.walk(&n.Tag, ctxExpr, visit)
    		f.walk(n.Body, ctxSwitch, visit)
    	case *ast.TypeSwitchStmt:
    		f.walk(n.Init, ctxStmt, visit)
    		f.walk(n.Assign, ctxStmt, visit)
    		f.walk(n.Body, ctxTypeSwitch, visit)
    	case *ast.CommClause:
    		f.walk(n.Comm, ctxStmt, visit)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	if size < 0 {
    		return nil, errors.New("zip: size cannot be negative")
    	}
    	zr := new(Reader)
    	var err error
    	if err = zr.init(r, size); err != nil && err != ErrInsecurePath {
    		return nil, err
    	}
    	return zr, err
    }
    
    func (r *Reader) init(rdr io.ReaderAt, size int64) error {
    	end, baseOffset, err := readDirectoryEnd(rdr, size)
    	if err != nil {
    		return err
    	}
    	r.r = rdr
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. api/go1.12.txt

    pkg strings, func ReplaceAll(string, string, string) string
    pkg strings, method (*Builder) Cap() int
    pkg syscall (freebsd-386), const S_IRWXG = 56
    pkg syscall (freebsd-386), const S_IRWXG ideal-int
    pkg syscall (freebsd-386), const S_IRWXO = 7
    pkg syscall (freebsd-386), const S_IRWXO ideal-int
    pkg syscall (freebsd-386), func Fstatat(int, string, *Stat_t, int) error
    pkg syscall (freebsd-386), func Mknod(string, uint32, uint64) error
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  5. src/archive/zip/zip_test.go

    	}
    }
    
    func (r *rleBuffer) ReadAt(p []byte, off int64) (n int, err error) {
    	if len(p) == 0 {
    		return
    	}
    	skipParts := sort.Search(len(r.buf), func(i int) bool {
    		part := &r.buf[i]
    		return part.off+part.n > off
    	})
    	parts := r.buf[skipParts:]
    	if len(parts) > 0 {
    		skipBytes := off - parts[0].off
    		for _, part := range parts {
    			repeat := int(min(part.n-skipBytes, int64(len(p)-n)))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  6. src/builtin/builtin.go

    // invocation.
    type Type int
    
    // Type1 is here for the purposes of documentation only. It is a stand-in
    // for any Go type, but represents the same type for any given function
    // invocation.
    type Type1 int
    
    // IntegerType is here for the purposes of documentation only. It is a stand-in
    // for any integer type: int, uint, int8 etc.
    type IntegerType int
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    func IndexByte(b []byte, c byte) int {
    	return bytealg.IndexByte(b, c)
    }
    
    func indexBytePortable(s []byte, c byte) int {
    	for i, b := range s {
    		if b == c {
    			return i
    		}
    	}
    	return -1
    }
    
    // LastIndex returns the index of the last instance of sep in s, or -1 if sep is not present in s.
    func LastIndex(s, sep []byte) int {
    	n := len(sep)
    	switch {
    	case n == 0:
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    	lex           lex.TokenReader
    	lineNum       int   // Line number in source file.
    	errorLine     int   // Line number of last error.
    	errorCount    int   // Number of errors.
    	sawCode       bool  // saw code in this file (as opposed to comments and blank lines)
    	pc            int64 // virtual PC; count of Progs; doesn't advance for GLOBL or DATA.
    	input         []lex.Token
    	inputPos      int
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    	pos int64       // Current position in sparse file
    }
    
    func (sw *sparseFileWriter) Write(b []byte) (n int, err error) {
    	overwrite := int64(len(b)) > sw.logicalRemaining()
    	if overwrite {
    		b = b[:sw.logicalRemaining()]
    	}
    
    	b0 := b
    	endPos := sw.pos + int64(len(b))
    	for endPos > sw.pos && err == nil {
    		var nf int // Bytes written in fragment
    		dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/input.go

    			}
    		}
    		tokens = append(tokens, Make(tok, in.Stack.Text()))
    		tok = in.Stack.Next()
    	}
    	return args, tokens
    }
    
    func lookup(args []string, arg string) int {
    	for i, a := range args {
    		if a == arg {
    			return i
    		}
    	}
    	return -1
    }
    
    // invokeMacro pushes onto the input Stack a Slice that holds the macro definition with the actual
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top