Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 215 for original (0.82 sec)

  1. src/text/template/exec.go

    // error writing to its output. We strip the wrapper in errRecover.
    // Note that this is not an implementation of error, so it cannot escape
    // from the package as an error value.
    type writeError struct {
    	Err error // Original error.
    }
    
    func (s *state) writeError(err error) {
    	panic(writeError{
    		Err: err,
    	})
    }
    
    // errRecover is the handler that turns panics into returns from the top
    // level of Parse.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. src/internal/trace/testtrace/validation.go

    }
    
    func (v *Validator) getOrCreateThread(e *errAccumulator, ev trace.Event, m trace.ThreadID) *schedContext {
    	lenient := func() bool {
    		// Be lenient about GoUndetermined -> GoSyscall transitions if they
    		// originate from an old trace. These transitions lack thread
    		// information in trace formats older than 1.22.
    		if !v.Go121 {
    			return false
    		}
    		if ev.Kind() != trace.EventStateTransition {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/runtime/select.go

    //
    // For race detector builds, pc0 points to an array of type
    // [ncases]uintptr (also on the stack); for other builds, it's set to
    // nil.
    //
    // selectgo returns the index of the chosen scase, which matches the
    // ordinal position of its respective select{recv,send,default} call.
    // Also, if the chosen scase was a receive operation, it reports whether
    // a value was received.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    		err:  ErrHeader,
    	}, {
    		file: "testdata/issue11169.tar",
    		err:  ErrHeader,
    	}, {
    		file: "testdata/issue12435.tar",
    		err:  ErrHeader,
    	}, {
    		// Ensure that we can read back the original Header as written with
    		// a buggy pre-Go1.8 tar.Writer.
    		file: "testdata/invalid-go17.tar",
    		headers: []*Header{{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  5. src/encoding/binary/binary_test.go

    				t.Error(err)
    			}
    
    			// quick test: only check first value of slices
    			if p.P0 != 0 || p.P1[0] != 0 || p.P2[0] != 0 || p.P3.F[0] != 0 {
    				t.Errorf("non-zero values for originally blank fields: %#v", p)
    			}
    
    			// write p and see if we can probe only some fields
    			buf, err = enc.fn(LittleEndian, &p)
    			if err != nil {
    				t.Error(err)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. src/cmd/internal/dwarf/dwarf.go

    	vars := make(map[*Var]bool)
    	for _, ic := range inlcalls.Calls {
    		for _, v := range ic.InlVars {
    			vars[v] = true
    		}
    	}
    	return vars
    }
    
    // The s.Scopes slice contains variables were originally part of the
    // function being emitted, as well as variables that were imported
    // from various callee functions during the inlining process. This
    // function prunes out any variables from the latter category (since
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  7. src/regexp/regexp.go

    	// A byte loop is correct because all metacharacters are ASCII.
    	var i int
    	for i = 0; i < len(s); i++ {
    		if special(s[i]) {
    			break
    		}
    	}
    	// No meta characters found, so return original string.
    	if i >= len(s) {
    		return s
    	}
    
    	b := make([]byte, 2*len(s)-i)
    	copy(b, s[:i])
    	j := i
    	for ; i < len(s); i++ {
    		if special(s[i]) {
    			b[j] = '\\'
    			j++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/vcs/vcs.go

    	TagCmd: []tagCmd{
    		// tags/xxx matches a git tag named xxx
    		// origin/xxx matches a git branch named xxx on the default remote repository
    		{"show-ref", `(?:tags|origin)/(\S+)$`},
    	},
    	TagLookupCmd: []tagCmd{
    		{"show-ref tags/{tag} origin/{tag}", `((?:tags|origin)/\S+)$`},
    	},
    	TagSyncCmd: []string{"checkout {tag}", "submodule update --init --recursive"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  9. src/net/http/cookie.go

    // HTTP response or the Cookie header of an HTTP request.
    //
    // See https://tools.ietf.org/html/rfc6265 for details.
    type Cookie struct {
    	Name   string
    	Value  string
    	Quoted bool // indicates whether the Value was originally quoted
    
    	Path       string    // optional
    	Domain     string    // optional
    	Expires    time.Time // optional
    	RawExpires string    // for reading cookies only
    
    	// MaxAge=0 means no 'Max-Age' attribute specified.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    package armasm
    
    import (
    	"bytes"
    	"encoding/binary"
    	"fmt"
    	"io"
    	"math"
    	"strings"
    )
    
    // GoSyntax returns the Go assembler syntax for the instruction.
    // The syntax was originally defined by Plan 9.
    // The pc is the program counter of the instruction, used for expanding
    // PC-relative addresses into absolute ones.
    // The symname function queries the symbol table for the program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top