Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for init (0.21 sec)

  1. src/archive/zip/writer.go

    func (dirWriter) Write(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	return 0, errors.New("zip: write to directory")
    }
    
    type fileWriter struct {
    	*header
    	zipw      io.Writer
    	rawCount  *countWriter
    	comp      io.WriteCloser
    	compCount *countWriter
    	crc32     hash.Hash32
    	closed    bool
    }
    
    func (w *fileWriter) Write(p []byte) (int, error) {
    	if w.closed {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    // testFile is an io.ReadWriteSeeker where the IO operations performed
    // on it must match the list of operations in ops.
    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, io.EOF
    	}
    	s, ok := f.ops[0].(string)
    	if !ok {
    		return 0, errors.New("unexpected Read operation")
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm64.go

    	}
    	return (int64(curQ) & 1 << 30) | (int64(curSize&3) << 10), nil
    }
    
    // ARM64RegisterListOffset generates offset encoding according to AArch64 specification.
    func ARM64RegisterListOffset(firstReg, regCnt int, arrangement int64) (int64, error) {
    	offset := int64(firstReg)
    	switch regCnt {
    	case 1:
    		offset |= 0x7 << 12
    	case 2:
    		offset |= 0xa << 12
    	case 3:
    		offset |= 0x6 << 12
    	case 4:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    	case *types.Basic:
    		s := typ.Name()
    		switch typ.Kind() {
    		case types.UnsafePointer:
    			s = "unsafe.Pointer"
    		case types.UntypedBool:
    			s = "ideal-bool"
    		case types.UntypedInt:
    			s = "ideal-int"
    		case types.UntypedRune:
    			// "ideal-char" for compatibility with old tool
    			// TODO(gri) change to "ideal-rune"
    			s = "ideal-char"
    		case types.UntypedFloat:
    			s = "ideal-float"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. api/go1.17.txt

    pkg image, method (*CMYK) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*Gray) RGBA64At(int, int) color.RGBA64
    pkg image, method (*Gray) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*Gray16) RGBA64At(int, int) color.RGBA64
    pkg image, method (*Gray16) SetRGBA64(int, int, color.RGBA64)
    pkg image, method (*NRGBA) RGBA64At(int, int) color.RGBA64
    pkg image, method (*NRGBA) SetRGBA64(int, int, color.RGBA64)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
  6. api/go1.11.txt

    pkg syscall (netbsd-386), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (netbsd-386), func Pipe2([]int, int) error
    pkg syscall (netbsd-386-cgo), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (netbsd-386-cgo), func Pipe2([]int, int) error
    pkg syscall (netbsd-amd64), func Accept4(int, int) (int, Sockaddr, error)
    pkg syscall (netbsd-amd64), func Pipe2([]int, int) error
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Viewed (2)
  7. api/go1.21.txt

    pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Jail int #46259
    pkg syscall (freebsd-386), type SysProcAttr struct, Jail int #46259
    pkg syscall (freebsd-amd64-cgo), type SysProcAttr struct, Jail int #46259
    pkg syscall (freebsd-amd64), type SysProcAttr struct, Jail int #46259
    pkg syscall (freebsd-arm64-cgo), type SysProcAttr struct, Jail int #46259
    pkg syscall (freebsd-arm64), type SysProcAttr struct, Jail int #46259
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  8. api/go1.7.txt

    pkg net/http, const StatusLoopDetected = 508
    pkg net/http, const StatusLoopDetected ideal-int
    pkg net/http, const StatusMultiStatus = 207
    pkg net/http, const StatusMultiStatus ideal-int
    pkg net/http, const StatusNotExtended = 510
    pkg net/http, const StatusNotExtended ideal-int
    pkg net/http, const StatusPermanentRedirect = 308
    pkg net/http, const StatusPermanentRedirect ideal-int
    pkg net/http, const StatusProcessing = 102
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Viewed (0)
  9. api/go1.19.txt

    pkg debug/pe, const IMAGE_COMDAT_SELECT_LARGEST = 6 #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_LARGEST ideal-int #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_NODUPLICATES = 1 #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_NODUPLICATES ideal-int #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_SAME_SIZE = 3 #51868
    pkg debug/pe, const IMAGE_COMDAT_SELECT_SAME_SIZE ideal-int #51868
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  10. src/cmd/asm/internal/asm/asm.go

    		if len(op) != 2 || op[0].ScanToken != '-' || op[1].ScanToken != scanner.Int {
    			p.errorf("TEXT %s: argument size must be of form -integer", name)
    			return
    		}
    		argSize = p.positiveAtoi(op[1].String())
    	}
    	p.ctxt.InitTextSym(nameAddr.Sym, int(flag), p.pos())
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		As:   obj.ATEXT,
    		Pos:  p.pos(),
    		From: nameAddr,
    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)
Back to top