Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Updated (0.8 sec)

  1. doc/godebug.md

    To override these defaults, a main package's source files
    can include one or more `//go:debug` directives at the top of the file
    (preceding the `package` statement).
    Continuing the `panicnil` example, if the module or workspace is updated
    to say `go` `1.21`, the program can opt back into the old `panic(nil)`
    behavior by including this directive:
    
    	//go:debug panicnil=1
    
    Starting in Go 1.21, the Go toolchain treats a `//go:debug` directive
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/builtin/builtin.go

    // it has sufficient capacity, the destination is resliced to accommodate the
    // new elements. If it does not, a new underlying array will be allocated.
    // Append returns the updated slice. It is therefore necessary to store the
    // result of append, often in the variable holding the slice itself:
    //
    //	slice = append(slice, elem1, elem2)
    //	slice = append(slice, anotherSlice...)
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    					// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
    					// This changes the SP, thus we have to update the SP used by the imported function.
    
    					// func wasmExit(code int32)
    					"runtime.wasmExit": (sp) => {
    						sp >>>= 0;
    						const code = this.mem.getInt32(sp + 8, true);
    						this.exited = true;
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  4. src/cmd/cgo/doc.go

    It will replace nil with 0 in the appropriate places.
    
    The EGLDisplay case was introduced in Go 1.12. Use the egl rewrite
    to auto-update code from Go 1.11 and earlier:
    
    	go tool fix -r egl <pkg>
    
    The EGLConfig case was introduced in Go 1.15. Use the eglconf rewrite
    to auto-update code from Go 1.14 and earlier:
    
    	go tool fix -r eglconf <pkg>
    
    # Using cgo directly
    
    Usage:
    
    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)
  5. src/archive/tar/format.go

    	case magic == magicGNU && version == versionGNU:
    		return FormatGNU
    	default:
    		return formatV7
    	}
    }
    
    // setFormat writes the magic values necessary for specified format
    // and then updates the checksum accordingly.
    func (b *block) setFormat(format Format) {
    	// Set the magic values.
    	switch {
    	case format.has(formatV7):
    		// Do nothing.
    	case format.has(FormatGNU):
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    	if b.uint32() != 1 { // total number of disks
    		return -1, nil // the file is not a valid zip64-file
    	}
    	return int64(p), nil
    }
    
    // readDirectory64End reads the zip64 directory end and updates the
    // directory end with the zip64 directory end values.
    func readDirectory64End(r io.ReaderAt, offset int64, d *directoryEnd) (err error) {
    	buf := make([]byte, directory64EndLen)
    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)
  7. doc/asm.html

    are defined for all architectures: if the compiler doesn't generate it, it might not be there.
    If you need to use a missing instruction, there are two ways to proceed.
    One is to update the assembler to support that instruction, which is straightforward
    but only worthwhile if it's likely the instruction will be used again.
    Instead, for simple one-off cases, it's possible to use the <code>BYTE</code>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  8. src/archive/tar/reader.go

    					hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories
    				} else {
    					hdr.Typeflag = TypeReg
    				}
    			}
    
    			// The extended headers may have updated the size.
    			// Thus, setup the regFileReader again after merging PAX headers.
    			if err := tr.handleRegularFile(hdr); err != nil {
    				return nil, err
    			}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    				return sp
    			}
    			sp2 := formatSPD(spd, blk.GNU().Sparse())
    			for len(sp2) > 0 {
    				var spHdr block
    				sp2 = formatSPD(sp2, spHdr.Sparse())
    				spb = append(spb, spHdr[:]...)
    			}
    
    			// Update size fields in the header block.
    			realSize := hdr.Size
    			hdr.Size = 0 // Encoded size; does not account for encoded sparse map
    			for _, s := range spd {
    				hdr.Size += s.Length
    			}
    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)
  10. src/bytes/bytes.go

    			}
    			continue
    		}
    		invalid = false
    		b = append(b, s[i:i+wid]...)
    		i += wid
    	}
    	return b
    }
    
    // isSeparator reports whether the rune could mark a word boundary.
    // TODO: update when package unicode captures more of the properties.
    func isSeparator(r rune) bool {
    	// ASCII alphanumerics and underscore are not separators
    	if r <= 0x7F {
    		switch {
    		case '0' <= r && r <= '9':
    			return false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top