Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 338 for original (0.14 sec)

  1. src/cmd/compile/internal/walk/convert.go

    			n := n.(*ir.ConvExpr)
    			if n.X.Type().IsUnsafePtr() {
    				n.X = cheapExpr(n.X, init)
    				originals = append(originals, typecheck.ConvNop(n.X, types.Types[types.TUNSAFEPTR]))
    			}
    		}
    	}
    	walk(n.X)
    
    	cheap := cheapExpr(n, init)
    
    	slice := typecheck.MakeDotArgs(base.Pos, types.NewSlice(types.Types[types.TUNSAFEPTR]), originals)
    	slice.SetEsc(ir.EscNone)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. src/runtime/defer_test.go

    // D or its callees). If the defer processing reaches the started defer call D
    // again in the defer stack, then the original panic P1 is aborted and cannot
    // continue panic processing or be recovered. If the panic P2 does a recover at
    // some point, it will naturally remove the original panic P1 from the stack
    // (since the original panic had to be in frame F or a descendant of F).
    func TestAbortedPanic(t *testing.T) {
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/sccp.go

    	// It's fragile and error-prone. We did a trick by reusing the existing rules
    	// in generic rules for compile-time evaluation. But generic rules rewrite
    	// original value, this behavior is undesired, because the lattice of values
    	// may change multiple times, once it was rewritten, we lose the opportunity
    	// to change it permanently, which can lead to errors. For example, We cannot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/internal/testenv/testenv.go

    	"errors"
    	"flag"
    	"fmt"
    	"internal/cfg"
    	"internal/goarch"
    	"internal/platform"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // Save the original environment during init for use in checks. A test
    // binary may modify its environment before calling HasExec to change its
    // behavior (such as mimicking a command-line tool), and that modified
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. src/runtime/string.go

    	}
    	return
    }
    
    // slicebytetostringtmp returns a "string" referring to the actual []byte bytes.
    //
    // Callers need to ensure that the returned string will not be used after
    // the calling goroutine modifies the original slice or synchronizes with
    // another goroutine.
    //
    // The function is only called when instrumenting
    // and otherwise intrinsified by the compiler.
    //
    // Some internal compiler optimizations use this function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/rsc.io/markdown/inline.go

    	Plain
    	i int // position in input where bracket is
    }
    
    type emphPlain struct {
    	Plain
    	canOpen  bool
    	canClose bool
    	i        int // position in output where emph is
    	n        int // length of original span
    }
    
    type Escaped struct {
    	Plain
    }
    
    func (x *Escaped) printMarkdown(buf *bytes.Buffer) {
    	buf.WriteByte('\\')
    	x.Plain.printMarkdown(buf)
    }
    
    type Code struct {
    	Text string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. src/net/mail/message.go

    	if err == nil {
    		return word, true, nil
    	}
    
    	// If the error came from the character set reader
    	// (meaning the character set itself is invalid
    	// but the decoding worked fine until then),
    	// return the original text and the error,
    	// with isEncoded=true.
    	if charsetReaderError {
    		return s, true, err
    	}
    
    	// Ignore invalid RFC 2047 encoded-word errors.
    	return s, false, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_test.go

    			t.Errorf("[%d] %q comparison: %v", i, v.call, err)
    		}
    	}
    }
    
    // TestAllThreadsSyscallError verifies that errors are properly returned when
    // the syscall fails on the original thread.
    func TestAllThreadsSyscallError(t *testing.T) {
    	// SYS_CAPGET takes pointers as the first two arguments. Since we pass
    	// 0, we expect to get EFAULT back.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. src/net/http/client.go

    // followed. If permitted, a 301, 302, or 303 redirect causes
    // subsequent requests to use HTTP method GET
    // (or HEAD if the original request was HEAD), with no body.
    // A 307 or 308 redirect preserves the original HTTP method and body,
    // provided that the [Request.GetBody] function is defined.
    // The [NewRequest] function automatically sets GetBody for common
    // standard library body types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	// uses lightweight transitions and maintains M affinity.
    	//
    	// Leaving _Psyscall must be done with a CAS, either to steal
    	// or retake the P. Note that there's an ABA hazard: even if
    	// an M successfully CASes its original P back to _Prunning
    	// after a syscall, it must understand the P may have been
    	// used by another M in the interim.
    	_Psyscall
    
    	// _Pgcstop means a P is halted for STW and owned by the M
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top